Summary:ASTERISK-03166: chan_h323 blocks asterisk start-up
Reporter:nirsim (nirsim)Labels:
Date Opened:2005-01-02 13:38:04.000-0600Date Closed:2011-06-07 14:00:58
Versions:Frequency of
Description:The new version of chan_h323 which is currently located in CVS HEAD crashes asterisk upon start-up. No core dump is created, although asterisk was run utilizing flags -vvvcgpd.
If noload => chan_h323.so is added to modules.conf, asterisk comes up correctly.

Extract from the asterisk CLI in console mode:
Jan  2 23:37:12 DEBUG[16090]: channel.c:229 ast_channel_register_ex: Registered handler for 'Agent' (Call Agent Proxy Channel)
 == Registered application 'AgentLogin'
 == Registered application 'AgentCallbackLogin'
 == Registered application 'AgentMonitorOutgoing'
 == Manager registered action Agents
Jan  2 23:37:12 DEBUG[16090]: config.c:542 ast_internal_load: Parsing /etc/asterisk/agents.conf
[chan_h323.so]Jan  2 23:37:12 DEBUG[16090]: config.c:542 ast_internal_load: Parsing /etc/asterisk/modules.conf
Jan  2 23:37:12 WARNING[16090]: loader.c:309 ast_load_resource: /usr/lib/asterisk/modules/chan_h323.so: undefined symbol: _ZTI8PChannel
Jan  2 23:37:12 WARNING[16090]: loader.c:500 load_modules: Loading module chan_h323.so failed!
Ouch ... error while writing audio data: : Broken pipe


Please note, as my machine is in a different time zone, the CVS date from show version may be slightly off. In addition, this is a clean CVS HEAD download, and not a CVS update.
Comments:By: Brian West (bkw918) 2005-01-02 13:41:36.000-0600

as per the README

The most common compile error
If you receive ANYTHING that says 'undefined symbol' you are experiencing
typical version skew.  For example:

libh323_linux_x86_r.so.1: undefined symbol: GetNumberValueAt__C14PAbstractArrayi

You need to search and destroy every version of libh323 and libpt then
completely recompile everything

Example commands to make sure everything gets cleaned and then
rebult in proper order:

cd /path/to/pwlib
make clean opt
cd /path/to/openh323
make clean opt
cd /path/to/asterisk/channels/h323
cd /path/to/asterisk
make install

By: Brian West (bkw918) 2005-01-02 13:43:04.000-0600

If after you recompile everything please find me or jerjer online and we'll look at it but this is very clear its version skew as outlined in the README.