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