[Asterisk-Users] chan_h323 and extensions.conf

Truong tphuong at wol.be
Mon May 26 10:18:39 MST 2003


Thank you very much for your rely ! I still have a hope to get it work.



% *** On Mon, May 26, 2003 at 12:34 PM -0400, Jeremy McNamara <jj at indie.org> wrote: ***
% Turn on h.323 debug.  Double check your config. Make sure you have 
% compatible codec's on both ends.
% 

For the codec, the two H.323 clients can make calls to each other
directly, without passing through Asterisk. So I suppose that there is
not a problem of the codec. In fact, I choose GSM-06.10 and
G.711-uLaw-64k.


% Also, chan_h323 does not do anything with a 'peer' so your type=friend 
% only really mans user.
% 

Ok, I modify the file h323.conf like this:

  [general]
  port = 1720
  bindaddr = 0.0.0.0
  allow=gsm
  allow=ulaw
  gatekeeper = DISABLE
  
  context=default
  
  [gm1]
  type=user
  host=192.168.1.20
  context=default
  

and I change the extensions.conf

  [demo]
  ...
   
  [default]
    
  include => demo
  exten => 1020,1,Dial,H323/192.168.1.20


But from hosts 192.168.1.25, I make a callto://1020@192.168.1.20, the
serveur Asterisk die anormally.

Here is the 'h.323 debug':

Asterisk Ready.
*CLI> h.323 debug
H323 debug enabled
*CLI>   == New H.323 Connection created.
        -- Received SETUP message...
        == Setting up Call
           -- Calling party name:  gm2
           -- Calling party number:
           -- Called  party name:  1020
           -- Called  party number:  1020
    -- Executing Dial("H323/ip$192.168.1.25:30008/26105", "H323/192.168.1.20") in new stack
dest: 192.168.1.20
 -- Making call to 192.168.1.20.
asterisk:#


I don't understand why. Asterisk and "gm1" H.323 client run on the same
host which has only one sound card. Could it be a problem of acces to
the same audio device (/dev/dsp) ? But then why Asterisk stops working
only when I try to make a callto ?



-- 
  Truong <tphuong at wol.be>



More information about the asterisk-users mailing list