<br><br><div class="gmail_quote">On Fri, Aug 20, 2010 at 11:24 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
probably missing ldconfig<br>
or LD_LIBRARY_PATH<br>
<div><div></div><div class="h5"><br>
On Fri, Aug 20, 2010 at 4:10 PM, Sadjad Seyed-Ahmadian<br>
<<a href="mailto:ssa1357@yahoo.com">ssa1357@yahoo.com</a>> wrote:<br>
> I got the pint files are in /usr/local/lib and I make a link in<br>
> /isr/local/freeswitch/lib to them, but when I try to load mod_h323<br>
> freeswitch crashed!!<br>
><br></div></div></blockquote></div><br><br>Are u sure you are following the procedure on <a href="http://wiki.freeswitch.org/wiki/Mod_h323">http://wiki.freeswitch.org/wiki/Mod_h323</a> ?<br><br><br>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.<br>
<br>anyhow: <br><br>libh323_linux_x86_.so.1.22.0<br>libpt.so.2.9-beta0<br><br>this is what i use and no crash...<br><br><br>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.<br>
<br>this is what i have here and it works nice:<br><br><br>tculjaga@nemesis:~/h323/ptlib$ cat /usr/local/freeswitch/conf/autoload_configs/h323.conf.xml <br><configuration name="h323.conf" description="H323 Endpoints"><br>
<settings><br> <param name="trace-level" value="10"/><br> <param name="context" value="default"/><br> <param name="dialplan" value="XML"/><br>
<param name="codec-prefs" value="PCMA,PCMU,GSM,G729"/><br> <param name="gk-address" value=""/> <!-- empty to disable, "*" to search LAN --><br>
<param name="gk-identifer" value=""/> <!-- optional name of gk --><br> <param name="gk-interface" value=""/> <!-- mandatory listener interface name --><br>
<param name="gk-retry" value="30"/> <!-- optional GK register retry timer --><br> <param name="faststart" value="true"/> <!-- optional --><br> <param name="h245tunneling" value="true"/> <!-- optional --><br>
<param name="h245insetup" value="true"/> <!-- optional --><br> <param name="jitter-size" value="60"/> <!-- optional --><br> <param name="progress-indication" value="8"/> <!-- optional - PI value in progress message--><br>
<param name="alerting-indication" value="8"/> <!-- optional - PI value in alerting message--><br> </settings><br> <listeners><br> <listener name="default"><br>
<param name="h323-ip" value="$${local_ip_v4}"/><br> <param name="h323-port" value="1720"/><br> </listener><br> </listeners><br></configuration><br>
<br>tculjaga@nemesis:~/h323/ptlib$ <br><br><br><br>here is the module loading <br><br><br>freeswitch@nemesis> <br><br>+OK console log level set to DEBUG<br><br>freeswitch@nemesis> <br>freeswitch@nemesis> <br>freeswitch@nemesis> <br>
freeswitch@nemesis> load mod_h323<br>2010-08-21 10:22:06.706085 [CONSOLE] mod_h323.cpp:147 Starting loading mod_h323<br>2010-08-21 10:22:06.720299 [DEBUG] mod_h323.cpp:356 ======>FSProcess::Initialise [0xb7068668]<br>
2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:591 ======>FSH323EndPoint::FSH323EndPoint [0x8652b38]<br>2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:364 ======>FSManager::Initialise [0x8652b38]<br>2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:446 ======>FSH323EndPoint::ReadConfig [0x8652b38]<br>
2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:568 Created Listener 'default'<br>2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:378 Config capability PCMA,PCMU,GSM,G729 <br>2010-08-21 10:22:06.722553 [DEBUG] mod_h323.cpp:383 Find capability PCMA to PCMA,PCMU,GSM,G729<br>
2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-ALaw-64k{sw}"<br>2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3201 Added capability: G.711-ALaw-64k <1><br>2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-ALaw-64k{sw}"<br>
2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-ALaw-64k{sw}"<br>2010-08-21 10:22:06.723537 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-ALaw-64k{sw}"<br>2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-ALaw-64k{sw}"<br>
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:2014 No Extended Capabilities found to load<br>2010-08-21 10:22:06.724528 [DEBUG] mod_h323.cpp:399 H.323 added 1 capabilities 'G.711-ALaw-64k*{sw}' <br>2010-08-21 10:22:06.724528 [DEBUG] mod_h323.cpp:383 Find capability PCMU to PCMA,PCMU,GSM,G729<br>
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-uLaw-64k{sw}"<br>2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3201 Added capability: G.711-uLaw-64k <2><br>2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-uLaw-64k{sw}"<br>
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-uLaw-64k{sw}"<br>2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-uLaw-64k{sw}"<br>2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability: "G.711-uLaw-64k{sw}"<br>
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:2014 No Extended Capabilities found to load<br>2010-08-21 10:22:06.724528 [DEBUG] mod_h323.cpp:399 H.323 added 1 capabilities 'G.711-uLaw-64k*{sw}' <br>2010-08-21 10:22:06.724528 [DEBUG] mod_h323.cpp:383 Find capability GSM to PCMA,PCMU,GSM,G729<br>
2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3289 FindCapability: "GSM-06.10{sw}"<br>2010-08-21 10:22:06.724528 [DEBUG] h323caps.cxx:3201 Added capability: GSM-06.10{sw} <3><br>2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3289 FindCapability: "GSM-06.10{sw}"<br>
2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3298 Found capability: GSM-06.10{sw} <3><br>2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3289 FindCapability: "GSM-06.10{sw}"<br>2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3298 Found capability: GSM-06.10{sw} <3><br>
2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3289 FindCapability: "GSM-06.10{sw}"<br>2010-08-21 10:22:06.725872 [DEBUG] h323caps.cxx:3298 Found capability: GSM-06.10{sw} <3><br>2010-08-21 10:22:06.726883 [DEBUG] h323caps.cxx:3289 FindCapability: "GSM-06.10{sw}"<br>
2010-08-21 10:22:06.726883 [DEBUG] h323caps.cxx:3298 Found capability: GSM-06.10{sw} <3><br>2010-08-21 10:22:06.726883 [DEBUG] h323caps.cxx:2014 No Extended Capabilities found to load<br>2010-08-21 10:22:06.726883 [DEBUG] mod_h323.cpp:399 H.323 added 1 capabilities 'GSM-06.10*{sw}' <br>
2010-08-21 10:22:06.726883 [DEBUG] mod_h323.cpp:383 Find capability G723 to PCMA,PCMU,GSM,G729<br>2010-08-21 10:22:06.726883 [DEBUG] mod_h323.cpp:383 Find capability G729b to PCMA,PCMU,GSM,G729<br>2010-08-21 10:22:06.726883 [DEBUG] mod_h323.cpp:383 Find capability G729 to PCMA,PCMU,GSM,G729<br>
2010-08-21 10:22:06.726883 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A/B{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3201 Added capability: G.729A/B{sw} <4><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A{sw}"<br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3201 Added capability: G.729A{sw} <5><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729B{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3201 Added capability: G.729B{sw} <6><br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3201 Added capability: G.729{sw} <7><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A/B{sw}"<br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729A/B{sw} <4><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729A{sw} <5><br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729B{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729B{sw} <6><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729{sw}"<br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729{sw} <7><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A/B{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729A/B{sw} <4><br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729A{sw} <5><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729B{sw}"<br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729B{sw} <6><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729{sw} <7><br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A/B{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729A/B{sw} <4><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A{sw}"<br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729A{sw} <5><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729B{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729B{sw} <6><br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729{sw} <7><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A/B{sw}"<br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729A/B{sw} <4><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729A{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729A{sw} <5><br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729B{sw}"<br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729B{sw} <6><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3289 FindCapability: "G.729{sw}"<br>
2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:3298 Found capability: G.729{sw} <7><br>2010-08-21 10:22:06.727891 [DEBUG] h323caps.cxx:2014 No Extended Capabilities found to load<br>2010-08-21 10:22:06.727891 [DEBUG] mod_h323.cpp:399 H.323 added 4 capabilities 'G.729*{sw}' <br>
2010-08-21 10:22:06.727891 [DEBUG] mod_h323.cpp:383 Find capability G729a to PCMA,PCMU,GSM,G729<br>2010-08-21 10:22:06.727891 [DEBUG] mod_h323.cpp:383 Find capability G729ab to PCMA,PCMU,GSM,G729<br>2010-08-21 10:22:06.727891 [DEBUG] mod_h323.cpp:383 Find capability G723.1 to PCMA,PCMU,GSM,G729<br>
2010-08-21 10:22:06.735813 [DEBUG] mod_h323.cpp:383 Find capability G723.1-5k3 to PCMA,PCMU,GSM,G729<br>2010-08-21 10:22:06.735816 [DEBUG] mod_h323.cpp:383 Find capability G723.1a-5k3 to PCMA,PCMU,GSM,G729<br>2010-08-21 10:22:06.735816 [DEBUG] mod_h323.cpp:383 Find capability G723.1a-6k3 to PCMA,PCMU,GSM,G729<br>
2010-08-21 10:22:06.735816 [DEBUG] mod_h323.cpp:412 --->fax_asn<br>2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability: T.38-IFP-COR <8><br>2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability: UserInput/hookflash <9><br>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability: UserInput/basicString <10><br>2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability: UserInput/dtmf <11><br>2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability: UserInput/RFC2833 <12><br>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability: UserInput/Navigation <13><br>2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability: UserInput/Softkey <14><br>2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability: UserInput/PointDevice <15><br>
2010-08-21 10:22:06.735816 [DEBUG] h323caps.cxx:3201 Added capability: UserInput/Modal <16><br>2010-08-21 10:22:06.735816 [DEBUG] osutil.cxx:188 File handle high water mark set: 53 PTCPSocket<br>2010-08-21 10:22:06.735816 [DEBUG] h323ep.cxx:2033 Started listener Listener[ip$<a href="http://192.168.1.231:1720">192.168.1.231:1720</a>]<br>
2010-08-21 10:22:06.735816 [DEBUG] tlibthrd.cxx:519 Thread high water mark set: 3<br>2010-08-21 10:22:06.735816 [CONSOLE] mod_h323.cpp:164 H323 mod initialized and running<br>2010-08-21 10:22:06.735816 [CONSOLE] switch_loadable_module.c:944 Successfully Loaded [mod_h323]<br>
2010-08-21 10:22:06.735816 [NOTICE] switch_loadable_module.c:145 Adding Endpoint 'h323'<br>2010-08-21 10:22:06.735816 [DEBUG] tlibthrd.cxx:431 Started thread 0xb7068ee8 H323 Listener:b6c58b70<br>2010-08-21 10:22:06.735816 [DEBUG] transports.cxx:1521 Awaiting TCP connections on port 1720<br>
2010-08-21 10:22:06.735816 [DEBUG] transports.cxx:1475 Waiting on socket accept on ip$<a href="http://192.168.1.231:1720">192.168.1.231:1720</a><br>2010-08-21 10:22:06.735816 [DEBUG] tlibthrd.cxx:940 PThread::PXBlockOnIO(53,2)<br>
<br>+OK<br><br>freeswitch@nemesis> <br><br><br><br>and this is the vrsion im running:<br><br>freeswitch@nemesis> <br>freeswitch@nemesis> <br>freeswitch@nemesis> version<br><br>FreeSWITCH Version 1.0.head (git-018f4d6 2010-08-10 19-52-08 +0200)<br>
<br>freeswitch@nemesis> <br><br><br><br><br>let me know if you still have issues.<br><br><br>