[Freeswitch-users] Mod_h323 fail to load

Tihomir Culjaga tculjaga at gmail.com
Sat Aug 21 01:24:43 PDT 2010


On Fri, Aug 20, 2010 at 11:24 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> probably missing ldconfig
> or LD_LIBRARY_PATH
>
> On Fri, Aug 20, 2010 at 4:10 PM, Sadjad Seyed-Ahmadian
> <ssa1357 at yahoo.com> wrote:
> > I got the pint files are in /usr/local/lib and I make a link in
> > /isr/local/freeswitch/lib to them, but when I try to load mod_h323
> > freeswitch crashed!!
> >
>


Are u sure you are following the procedure on
http://wiki.freeswitch.org/wiki/Mod_h323 ?


it just depends what your PATH is to find the relevant libraries. Also you
can create a link as you did to within ./freeswitch/lib/ directory.

anyhow:

libh323_linux_x86_.so.1.22.0
libpt.so.2.9-beta0

this is what i use and no crash...


now, it may be you are missing some relevant information in the
h323.conf.xml ... please check the file is there
(./freeswitch/conf/autoload_configs/) and that its well configured.

this is what i have here and it works nice:


tculjaga at nemesis:~/h323/ptlib$ cat
/usr/local/freeswitch/conf/autoload_configs/h323.conf.xml
<configuration name="h323.conf" description="H323 Endpoints">
  <settings>
    <param name="trace-level" value="10"/>
    <param name="context" value="default"/>
    <param name="dialplan" value="XML"/>
    <param name="codec-prefs" value="PCMA,PCMU,GSM,G729"/>
    <param name="gk-address" value=""/>    <!-- empty to disable, "*" to
search LAN -->
    <param name="gk-identifer" value=""/>  <!-- optional name of gk -->
    <param name="gk-interface" value=""/>  <!-- mandatory listener interface
name -->
    <param name="gk-retry" value="30"/>  <!-- optional GK register retry
timer -->
    <param name="faststart" value="true"/>  <!-- optional -->
    <param name="h245tunneling" value="true"/>  <!-- optional -->
    <param name="h245insetup" value="true"/>  <!-- optional -->
    <param name="jitter-size" value="60"/>  <!-- optional -->
    <param name="progress-indication" value="8"/> <!-- optional - PI value
in progress message-->
    <param name="alerting-indication" value="8"/> <!-- optional - PI value
in alerting message-->
  </settings>
  <listeners>
    <listener name="default">
      <param name="h323-ip" value="$${local_ip_v4}"/>
      <param name="h323-port" value="1720"/>
    </listener>
  </listeners>
</configuration>

tculjaga at nemesis:~/h323/ptlib$



here is the module loading


freeswitch at nemesis>

+OK console log level set to DEBUG

freeswitch at nemesis>
freeswitch at nemesis>
freeswitch at nemesis>
freeswitch at nemesis> load mod_h323
2010-08-21 10:22:06.706085 [CONSOLE] mod_h323.cpp:147 Starting loading
mod_h323
2010-08-21 10:22:06.720299 [DEBUG] mod_h323.cpp:356
======>FSProcess::Initialise [0xb7068668]
2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:591
======>FSH323EndPoint::FSH323EndPoint [0x8652b38]
2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:364
======>FSManager::Initialise [0x8652b38]
2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:446
======>FSH323EndPoint::ReadConfig [0x8652b38]
2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:568 Created Listener
'default'
2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:378 Config capability
PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:383 Find capability PCMA to
PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-ALaw-64k{sw}"
2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3201 Added capability:
G.711-ALaw-64k <1>
2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-ALaw-64k{sw}"
2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-ALaw-64k{sw}"
2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-ALaw-64k{sw}"
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-ALaw-64k{sw}"
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:2014 No Extended
Capabilities found to load
2010-08-21 10:22:06.724528 [DEBUG] mod_h323.cpp:399 H.323 added 1
capabilities 'G.711-ALaw-64k*{sw}'
2010-08-21 10:22:06.724528 [DEBUG] mod_h323.cpp:383 Find capability PCMU to
PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-uLaw-64k{sw}"
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3201 Added capability:
G.711-uLaw-64k <2>
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-uLaw-64k{sw}"
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-uLaw-64k{sw}"
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-uLaw-64k{sw}"
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.711-uLaw-64k{sw}"
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:2014 No Extended
Capabilities found to load
2010-08-21 10:22:06.724528 [DEBUG] mod_h323.cpp:399 H.323 added 1
capabilities 'G.711-uLaw-64k*{sw}'
2010-08-21 10:22:06.724528 [DEBUG] mod_h323.cpp:383 Find capability GSM to
PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability:
"GSM-06.10{sw}"
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3201 Added capability:
GSM-06.10{sw} <3>
2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3289 FindCapability:
"GSM-06.10{sw}"
2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3298 Found capability:
GSM-06.10{sw} <3>
2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3289 FindCapability:
"GSM-06.10{sw}"
2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3298 Found capability:
GSM-06.10{sw} <3>
2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3289 FindCapability:
"GSM-06.10{sw}"
2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3298 Found capability:
GSM-06.10{sw} <3>
2010-08-21 10:22:06.726883 [DEBUG] h323caps.cxx:3289 FindCapability:
"GSM-06.10{sw}"
2010-08-21 10:22:06.726883 [DEBUG] h323caps.cxx:3298 Found capability:
GSM-06.10{sw} <3>
2010-08-21 10:22:06.726883 [DEBUG] h323caps.cxx:2014 No Extended
Capabilities found to load
2010-08-21 10:22:06.726883 [DEBUG] mod_h323.cpp:399 H.323 added 1
capabilities 'GSM-06.10*{sw}'
2010-08-21 10:22:06.726883 [DEBUG] mod_h323.cpp:383 Find capability G723 to
PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.726883 [DEBUG] mod_h323.cpp:383 Find capability G729b to
PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.726883 [DEBUG] mod_h323.cpp:383 Find capability G729 to
PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.726883 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A/B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3201 Added capability:
G.729A/B{sw} <4>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3201 Added capability:
G.729A{sw} <5>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3201 Added capability:
G.729B{sw} <6>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3201 Added capability:
G.729{sw} <7>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A/B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729A/B{sw} <4>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729A{sw} <5>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729B{sw} <6>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729{sw} <7>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A/B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729A/B{sw} <4>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729A{sw} <5>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729B{sw} <6>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729{sw} <7>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A/B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729A/B{sw} <4>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729A{sw} <5>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729B{sw} <6>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729{sw} <7>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A/B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729A/B{sw} <4>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729A{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729A{sw} <5>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729B{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729B{sw} <6>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability:
"G.729{sw}"
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability:
G.729{sw} <7>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:2014 No Extended
Capabilities found to load
2010-08-21 10:22:06.727891 [DEBUG] mod_h323.cpp:399 H.323 added 4
capabilities 'G.729*{sw}'
2010-08-21 10:22:06.727891 [DEBUG] mod_h323.cpp:383 Find capability G729a to
PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.727891 [DEBUG] mod_h323.cpp:383 Find capability G729ab
to PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.727891 [DEBUG] mod_h323.cpp:383 Find capability G723.1
to PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.735813 [DEBUG] mod_h323.cpp:383 Find capability
G723.1-5k3 to PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.735816 [DEBUG] mod_h323.cpp:383 Find capability
G723.1a-5k3 to PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.735816 [DEBUG] mod_h323.cpp:383 Find capability
G723.1a-6k3 to PCMA,PCMU,GSM,G729
2010-08-21 10:22:06.735816 [DEBUG] mod_h323.cpp:412 --->fax_asn
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability:
T.38-IFP-COR <8>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability:
UserInput/hookflash <9>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability:
UserInput/basicString <10>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability:
UserInput/dtmf <11>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability:
UserInput/RFC2833 <12>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability:
UserInput/Navigation <13>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability:
UserInput/Softkey <14>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability:
UserInput/PointDevice <15>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability:
UserInput/Modal <16>
2010-08-21 10:22:06.735816 [DEBUG] osutil.cxx:188 File handle high water
mark set: 53 PTCPSocket
2010-08-21 10:22:06.735816 [DEBUG] h323ep.cxx:2033 Started listener
Listener[ip$192.168.1.231:1720]
2010-08-21 10:22:06.735816 [DEBUG] tlibthrd.cxx:519 Thread high water mark
set: 3
2010-08-21 10:22:06.735816 [CONSOLE] mod_h323.cpp:164 H323 mod initialized
and running
2010-08-21 10:22:06.735816 [CONSOLE] switch_loadable_module.c:944
Successfully Loaded [mod_h323]
2010-08-21 10:22:06.735816 [NOTICE] switch_loadable_module.c:145 Adding
Endpoint 'h323'
2010-08-21 10:22:06.735816 [DEBUG] tlibthrd.cxx:431 Started thread
0xb7068ee8 H323 Listener:b6c58b70
2010-08-21 10:22:06.735816 [DEBUG] transports.cxx:1521 Awaiting TCP
connections on port 1720
2010-08-21 10:22:06.735816 [DEBUG] transports.cxx:1475 Waiting on socket
accept on ip$192.168.1.231:1720
2010-08-21 10:22:06.735816 [DEBUG] tlibthrd.cxx:940
PThread::PXBlockOnIO(53,2)

+OK

freeswitch at nemesis>



and this is the vrsion im running:

freeswitch at nemesis>
freeswitch at nemesis>
freeswitch at nemesis> version

FreeSWITCH Version 1.0.head (git-018f4d6 2010-08-10 19-52-08 +0200)

freeswitch at nemesis>




let me know if you still have issues.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100821/9346b775/attachment-0001.html 


More information about the FreeSWITCH-users mailing list