<br><br><div class="gmail_quote">On Tue, Oct 5, 2010 at 1:05 AM, Shamun toha md <span dir="ltr"><<a href="mailto:shamun.toha@gmail.com">shamun.toha@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;">
Hello, After following wiki mod_h323 it crash, when load mod_h323 is applied. Please look as following:<br><br><br><br>################################################################################<br>#<br># Let this work !! mod_h323 <br>
#<br>################################################################################<br><br><br>Step 1:<br>========<br>mkdir -p ~/h323<br>cd ~/h323<br><br>svn co <a href="http://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/tags/v2_8_2/" target="_blank">http://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/tags/v2_8_2/</a> ptlib<br>
<br>export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig<br>export LD_LIBRARY_PATH=/usr/local/lib<br>cd ptlib<br>./configure<br>make<br>make install<br><br>Step 2:<br>========<br>cd ~/h323<br>wget <a href="http://waix.dl.sourceforge.net/project/openh323gk/Sources/2.3.2/h323plus-20100525.tar.gz" target="_blank">http://waix.dl.sourceforge.net/project/openh323gk/Sources/2.3.2/h323plus-20100525.tar.gz</a><br>
<br>tar xzvf h323plus-20100525.tar.gz<br>cd h323plus-20100525<br>export PTLIBDIR=~/h323/ptlib<br>./configure<br>make<br>make install<br><br><br><br>Step 3:<br>========<br><br>cd /usr/local/src/freeswitch<br><br>make mod_h323-clean<br>
make mod_h323<br>make mod_h323-install<br><br>-- Successfully installed<br><br><br>Step 4:<br>=======<br>vi /usr/local/freeswitch/conf/autoload_configs/h323.conf.xml: put the following<br><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="use-rtp-timer" value="true"/> <!-- enable RTP timer - should always be enabled --><br>
<param name="rtp-timer-name" value="soft"/> <!-- Timer name, soft is default --><br> <!-- <param name="ptime-override-value" value="20"/> --> <!-- Override negotiated ptime value with this value --><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> <param name="endpoint-name" value="fs"/><br> <param name="fax-old-asn" value="true"/><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><br>Step 5:<br>======<br><br><br> _____ ______ _____ _____ ____ _ _ <br> | ___| __ ___ ___/ ___\ \ / /_ _|_ _/ ___| | | | <br>
| |_ | '__/ _ \/ _ \___ \\ \ /\ / / | | | || | | |_| | <br> | _|| | | __/ __/___) |\ V V / | | | || |___| _ | <br> |_| |_| \___|\___|____/ \_/\_/ |___| |_| \____|_| |_| <br><br>************************************************************<br>
* Anthony Minessale II, Michael Jerris, Brian West, Others *<br>* FreeSWITCH (<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>) *<br>* Paypal Donations Appreciated: <a href="mailto:paypal@freeswitch.org" target="_blank">paypal@freeswitch.org</a> *<br>
* Brought to you by ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a> *<br>************************************************************<br><br>2010-10-05 01:00:32.133303 [CONSOLE] switch_core.c:1649 <br>
FreeSWITCH Version 1.0.head (git-828960a 2010-09-25 12-51-42 -0500) Started.<br>Max Sessions[1000]<br>Session Rate[30]<br>SQL [Enabled]<br>freeswitch@example> load mod_h323<br>2010-10-05 01:00:58.396229 [INFO] mod_enum.c:808 ENUM Reloaded<br>
2010-10-05 01:00:58.397198 [INFO] switch_time.c:950 Timezone reloaded 530 definitions<br>2010-10-05 01:00:58.505516 [CONSOLE] mod_h323.cpp:147 Starting loading mod_h323<br>2010-10-05 01:00:58.518634 [CONSOLE] mod_h323.cpp:164 H323 mod initialized and running<br>
2010-10-05 01:00:58.518634 [CONSOLE] switch_loadable_module.c:944 Successfully Loaded [mod_h323]<br>2010-10-05 01:00:58.518634 [NOTICE] switch_loadable_module.c:145 Adding Endpoint 'h323'<br><br>+OK Reloading XML<br>
+OK<br><br>Segmentation fault (core dumped)<br>[root@example bin]# <br><br><br><br></blockquote></div><br><br>are you sure you removed all previous installed libraries (ptlib and h323plus) ??<br>Make sure the linker links the correct library.<br>
<br>when making mod_h323 .. the compiler looks into /usr/lib before /usr/local/lib<br><br>T.<br><br><br>