H323 Basic configuration


#1

Hi all,
I’m trying to get h323 channel working with Asterisk 1.6. I just want a testbed with 2 virtualboxes as endpoints and an asterisk server that allows h323 calls from/to the endpoints, which have ekiga softphone. I can’t figure it out. I’ve tried with both h323 builtin solution and with ooh323. One of the machines registers to asterisk but not the other one. I can make a call from the unregistered to the registered one but it’s inmediately hanged up. Do I need anything else to get this working? Do I need to use a gatekeeper, like gnugk?

Here’s my ooh323.conf:

[i][general]
port=1720
bindaddr=0.0.0.0
gatekeeper=DISABLE
context=defaulth323
disallow=all
allow=ulaw
dtmfmode=rfc2833
h245tunneling=yes
progress_setup=8
progress_alert=8

[2001]
type=friend
ip=192.168.1.22
canreinvite=no
port=1720

[2002]
type=friend
ip=192.168.1.33
canreinvite=no
port=1720[/i]

and extensions.conf:

[i][general]
static=yes
writeprotect=no

[defaulth323]
exten => 2001,1,Answer()
exten => 2001,n,Dial(OOH323/192.168.1.22:1720,20,tr)
exten => 2001,n,Hangup

exten => 2002,1,Answer()
exten => 2002,n,Dial(OOH323/192.168.1.33:1720,20,tr)
exten => 2002,n,Hangup[/i]

Thanks in advance,
Albert.