Asterisk not running ----- Unable to create H323 listener

Hi
I have installed asterisk 1.2.9.1
i also have installed drivers fo oh323 so that my h323 communication would be rather easy
i have installed openh323v1.17.1
and pwlibv1.9.0
and oh323v0.7.3

all these have been installed very well as there were no errors during their installation

But now when I am running asterisk it says------
[b]Registered channel type ‘H323’ (The NuFone Network’s Open H.323 Channel Driver)

ERROR: Could not open H.323 listener port on 1720

Jul 26 04:07:21 ERROR[17676]: chan_h323.c:2366 load_module: Unable to create H323 listener.

Jul 26 04:07:21 WARNING[17676]: loader.c:414 __load_resource: chan_h323.so: load_module failed, returning -1
[/b]

Is this bug in oh323
if it is
please help me fix it

Does H323 listener try to bind to specific end point at the time of initiation…?
PLease help
Thanks in advance

I have the same problem, the versions of the packages that I am using are:

asterisk -> 1.2.14
asterisk-h323 -> 1.2.14
libopenh323 -> 1.18.0

The output when loading chan_h323 module is:

[chan_h323.so] => (The NuFone Network’s Open H.323 Channel Driver)
== Parsing ‘/etc/asterisk/h323.conf’: Found
== Creating H.323 Endpoint
== Registered channel type ‘H323’ (The NuFone Network’s Open H.323 Channel Driver)
ERROR: Could not open H.323 listener port on 1720
Jan 26 09:43:22 ERROR[15108]: chan_h323.c:2364 load_module: Unable to create H323 listener.
Jan 26 09:43:22 WARNING[15108]: loader.c:414 __load_resource: chan_h323.so: load_module failed, returning -1
== Unregistered channel type 'H323’
Violación de segmento

I tried several port to be sure that 1720 was not used by other processes.

Is this a bug? Please help!!!

Hi,

It’s due to your configuration error. when u install h323 it’s default configuration file contain bind ip address =1.2.3.4 that is not valid.
If u change it to it’s appropriate ip address it’s works fine.
:wink:

Thanks for your response, but that’s not the problem, these are the lines in my h323.conf:

port = 1720
bindaddr = 0.0.0.0 ; this SHALL contain a single, valid IP address for this machine

Some time ago it worked perfectly, this problem started after an update of asterisk packages, no configuration change. Maybe the version I am using is broken (debian sid).

Now I am using oh323 instead, but has a drawback regarding h323, you can’t select a context based on the incoming IP. I hope it will be fixed in next version.

Try Asterisk 1.4 or newer - it have improved chan_h323, which should work flawlessy under BSD too.

If you will still have a problems - open bug(s) at bugs.digium.com/, and we will try to resolve them.