# H323 Basic configuration

**URL:** <https://community.asterisk.org/t/h323-basic-configuration/37492>\
**Category:** Asterisk Support\
**Created:** [November 25, 2011, 10:53am UTC](https://community.asterisk.org/t/h323-basic-configuration/37492 "2011-11-25T10:53:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [November 25, 2011, 10:53am UTC](https://community.asterisk.org/t/h323-basic-configuration/37492/1 "2011-11-25T10:53:21Z")

</div>

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.
