Hi all, I try to ask helps again about chan_h323 extensions. I define this in h323.conf: [general] port = 1720 bindaddr = 0.0.0.0 allow=gsm allow=ulaw gatekeeper = DISABLE context=default [gm1] type=friend host=192.168.1.20 context=default [gm2] type=friend host=192.168.1.25 context=default and I have in extensions.conf : [demo] ... [default] include => demo exten => 1020,1,Dial(H323/gm1@192.168.1.20) exten => 1025,1,Dial(H323/gm2@192.168.1.25) Then from a H.323 client 192.168.1.25 I try to place a call: callto://1020@192.168.1.20 (Asterisk runs on host 192.168.1.20, and a H.323 client is waiting calls) But it doesn't work ! Any idea, please ? -- Truong <tphuong@wol.be>
% *** On Mon, May 26, 2003 at 05:57 PM +0200, Truong <tphuong@wol.be> wrote: *** % % and I have in extensions.conf : % % [demo] % ... % % [default] % % include => demo % exten => 1020,1,Dial(H323/gm1@192.168.1.20) % exten => 1025,1,Dial(H323/gm2@192.168.1.25) % Somebody told me to modify the two lines above into exten => 1020,1,Dial,H323/192.168.1.20 exten => 1025,1,Dial,H323/192.168.1.25 But it does not change with callto://1020@192.168.1.20 ! -- Truong <tphuong@wol.be>
Turn on h.323 debug. Double check your config. Make sure you have compatible codec's on both ends. Also, chan_h323 does not do anything with a 'peer' so your type=friend only really mans user. Jeremy McNamara Truong wrote:>Hi all, > >I try to ask helps again about chan_h323 extensions. > >I define this in h323.conf: > > [general] > port = 1720 > bindaddr = 0.0.0.0 > allow=gsm > allow=ulaw > gatekeeper = DISABLE > > context=default > > [gm1] > type=friend > host=192.168.1.20 > context=default > > [gm2] > type=friend > host=192.168.1.25 > context=default > > >and I have in extensions.conf : > > [demo] > ... > > [default] > > include => demo > exten => 1020,1,Dial(H323/gm1@192.168.1.20) > exten => 1025,1,Dial(H323/gm2@192.168.1.25) > > >Then from a H.323 client 192.168.1.25 I try to place a call: > > callto://1020@192.168.1.20 > >(Asterisk runs on host 192.168.1.20, and a H.323 client is waiting calls) > >But it doesn't work ! > >Any idea, please ? > > > > >
Truong wrote:> % *** On Mon, May 26, 2003 at 07:18 PM +0200, Truong <tphuong@wol.be> wrote: *** > % > > Hi, > > It works now but with chan_oh323: I can place a H.323 call from one > client to another _through_ Asterisk via the default menu, though I > still have problem with H.323 alias and extensions.What kind of problem? Do you want to send your conf (oh323.conf) file?> > The guide of chan_oh323 is well explained for the beginner like me. > > Thanks, > >Michael.