VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
tculjaga at gmail.com Guest
|
Posted: Wed Oct 14, 2009 2:19 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
the e-mail bounced back .. don't know whether you received this...
here are the results!
Outbound calls:
SIP_user(1001) => FS => H323_SoftSwitch: http://pastebin.freeswitch.org/10672
i get coredumps but this might be because i'm missing the bridge format.... what i'm using is: <action application="bridge" data="h323/0$1@${NCX_IP}"/> that can be wrong Please advice here.
Inbound Calls:
openPhone => FS => SIP_user(1001): http://pastebin.freeswitch.org/10671
the call went in, hit a registered sip user (1001) and the phone started ringing. The phone answered the call but no audio can be heared (i see RTP from the SIP uset towards FS). Also, the openPhone never receives H.225 connect nor any OLC before connect. After some time, the H323 leg constates the user never answered and releases the call with cause 19.
this is the h323.config.xml
tculjaga@subZero:~$ 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,GSM,G729,G726"/>
ššš <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=""/>š <!-- optional listener interface name -->
š </settings>
š <listeners>
ššš <listener name="default">
ššššš <param name="h323-ip" value="10.4.62.7"/>
ššššš <param name="h323-port" value="1720"/>
ššš </listener>
š </listeners>
</configuration>
and this is a dialplan for outgoing that i'm using
<include>
š <extension name="EMERGENCY">
ššš <condition field="destination_number" expression="^0(112|9[23456])$">
ššššš <action application="set" data="effective_caller_id_number=1001282122"/>
ššššš <action application="set" data="NCX_IP=10.4.4.254"/>
ššššš <action application="set" data="call_timeout=30"/>
ššššš <action application="set" data="hangup_after_bridge=true"/>
ššššš <!--action application="bridge" data="opal/h323:0$1@${NCX_IP}"/-->
ššššš <action application="bridge" data="h323/0$1@${NCX_IP}"/>
ššš </condition>
š </extension>
š <extension name="SPECIAL_SERVICES">
ššš <condition field="destination_number" expression="^0(9[01789]\d{3,4})$">
ššššš <action application="set" data="effective_caller_id_number=1001282122"/>
ššššš <action application="set" data="NCX_IP=10.4.4.254"/>
ššššš <action application="set" data="call_timeout=30"/>
ššššš <action application="set" data="hangup_after_bridge=true"/>
ššššš <!--action application="bridge" data="opal/h323:0$1@${NCX_IP}"/-->
ššššš <action application="bridge" data="h323/0$1@${NCX_IP}"/>
ššš </condition>
š </extension>
š <extension name="ENYTHING_ELSE">
ššš <condition field="destination_number" expression="^0([2-8]\d{6,7}|0[1-9]\d{7,8}|00[1-9]\d{8,16})$">
ššššš <action application="set" data="effective_caller_id_number=1001282122"/>
ššššš <action application="set" data="NCX_IP=10.4.4.254"/>
ššššš <action application="set" data="call_timeout=30"/>
ššššš <action application="set" data="hangup_after_bridge=true"/>
ššššš <!--action application="bridge" data="opal/h323:0$1@${NCX_IP}"/-->
ššššš <action application="bridge" data="h323/0$1@${NCX_IP}"/>
ššš </condition>
š </extension>
</include>
P.S.: sorry for the attached rar, but don't know how to upload it to pastebin
T.
2009/10/12 Tihomir Culjaga <tculjaga@gmail.com (tculjaga@gmail.com)>
Quote: | hi,
finally i compiled it right ... had a stupid issue with ekiga and wrong ptlib in place...
anyhow, i loaded the module and will continue the tests tomorrow ...first thing i arrive in my office
freeswitch@subZero>
freeswitch@subZero>
API CALL [console(loglevel 7)] output:
+OK console log level set to DEBUG
freeswitch@subZero> load mod_h323
2009-10-12 23:38:09.509279 [CONSOLE] mod_h323.cpp:93 Starting loading mod_h323
2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:461 Created Listener 'default'
2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:305 Config capabilliti PCMA,GSM,G729,G726
2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:309 Find capabilliti PCMU to PCMA,GSM,G729,G726
2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:309 Find capabilliti PCMA to PCMA,GSM,G729,G726
2009-10-12 23:38:09.511413 [DEBUG] h323caps.cxx:3264 FindCapability: "G.711-uLaw-64k{sw}"
2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3176 Added capability: G.711-uLaw-64k <1>
2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability: "G.711-uLaw-64k{sw}"
2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability: "G.711-uLaw-64k{sw}"
2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability: "G.711-uLaw-64k{sw}"
2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability: "G.711-uLaw-64k{sw}"
2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:1989 No Extended Capabilities found to load
2009-10-12 23:38:09.512480 [DEBUG] mod_h323.cpp:325 H.323 added 1 capabilities 'G.711-uLaw-64k*{sw}'
2009-10-12 23:38:09.512480 [DEBUG] mod_h323.cpp:309 Find capabilliti gsm to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti msgsm to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti speex to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti lpc10 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti ilbc20 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti ilbc30 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g723 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g726 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g728 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729b to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti slin to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729a to PCMA,GSM,G729,G726
2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729ab to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g723.1 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g723.1-5k3 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g723.1a-5k3 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g723.1a-6k3 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g723.1a-6k3-cisco to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g726-16 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g726-24 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g726-32 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g726-40 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti ilbc to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti speex-18k2 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti speex-15k to PCMA,GSM,G729,G726
2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti speex-11k to PCMA,GSM,G729,G726
2009-10-12 23:38:09.515708 [DEBUG] mod_h323.cpp:309 Find capabilliti speex-8k to PCMA,GSM,G729,G726
2009-10-12 23:38:09.515708 [DEBUG] mod_h323.cpp:309 Find capabilliti speex-5k95 to PCMA,GSM,G729,G726
2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: UserInput/hookflash <2>
2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: UserInput/basicString <3>
2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: UserInput/dtmf <4>
2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: UserInput/RFC2833 <5>
2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: UserInput/Navigation <6>
2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: UserInput/Softkey <7>
2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: UserInput/PointDevice <8>
2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: UserInput/Modal <9>
2009-10-12 23:38:09.516760 [DEBUG] osutil.cxx:188 File handle high water mark set: 44 PTCPSocket
2009-10-12 23:38:09.516760 [DEBUG] h323ep.cxx:1995 Started listener Listener[ip$10.4.62.7:1720]
2009-10-12 23:38:09.516760 [DEBUG] tlibthrd.cxx:547 Thread high water mark set: 3
2009-10-12 23:38:09.516760 [CONSOLE] mod_h323.cpp:108 Opal manager initialized and running
2009-10-12 23:38:09.516760 [DEBUG] tlibthrd.cxx:454 Started thread 0xb75e0f18 H323 Listener:b5c98b90
2009-10-12 23:38:09.516760 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_h323]
2009-10-12 23:38:09.516760 [NOTICE] switch_loadable_module.c:142 Adding Endpoint 'h323'
API CALL [load(mod_h323)] output:
+OK
2009-10-12 23:38:09.516760 [DEBUG] transports.cxx:1521 Awaiting TCP connections on port 1720
2009-10-12 23:38:09.517832 [DEBUG] transports.cxx:1475 Waiting on socket accept on ip$10.4.62.7:1720
2009-10-12 23:38:09.517832 [DEBUG] tlibthrd.cxx:1023 PThread::PXBlockOnIO(44,2)
freeswitch@subZero>
BTW: to compile everytihng,š I used FS trunk, ptlib 2.7.1 and h323plus 1.22.0
Will let you know the results asap.
T.
2009/10/12 Georgiewskiy Yuriy <bottleman@icf.org.ru (bottleman@icf.org.ru)>
Quote: |
On 2009-10-12 18:03 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
i already write this, ptlib 2.6.5, tou can find link to it on oplalvoip.org, h32plus latest CVS version,
you can find it on www.h323plus.org.
TC>hi,
TC>
TC>can't make it...
TC>
TC>subZero:~/freeswitch-trunk$ make mod_h323
TC>
TC>making all mod_h323
TC>Compiling mod_h323.cpp...
TC>quiet_libtool: compile: šg++ -g -ggdb -I/usr/local/include/ptlib
TC>-I/usr/local/include/openh323 -I. -DPTRACING=1 -D_REENTRANT -fno-exceptions
TC>-I/home/tculjaga/freeswitch-trunk/src/include
TC>-I/home/tculjaga/freeswitch-trunk/libs/libteletone/src -fPIC
TC>-fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2
TC>-D_GNU_SOURCE -DHAVE_CONFIG_H -c mod_h323.cpp š-fPIC -DPIC -o
TC>.libs/mod_h323.o
TC>In file included from /usr/local/include/openh323/h323.h:493,
TC> š š š š š š š š from mod_h323.h:8,
TC> š š š š š š š š from mod_h323.cpp:3:
TC>/usr/local/include/openh323/h323ep.h: In member function ÿÿÿÿÿÿvirtual void
TC>NATFactoryStartup::OnShutdown()ÿÿÿÿÿÿ:
TC>/usr/local/include/openh323/h323ep.h:2731: error: ÿÿÿÿÿÿNatFactoryÿÿÿÿÿÿ has not
TC>been declared
TC>make[4]: *** [mod_h323.lo] Error 1
TC>make[3]: *** [all] Error 1
TC>make[2]: *** [mod_h323-all] Error 1
TC>make[1]: *** [mod_h323] Error 2
TC>make: *** [mod_h323] Error 2
TC>
TC>
TC>
TC>what exact ptlib and h323plus versions did you use? .. can you send us a
TC>link so we can use the exact ones.
TC>
TC>
TC>T.
TC>
TC>2009/10/12 Georgiewskiy Yuriy <bottleman@icf.org.ru (bottleman@icf.org.ru)>
TC>
TC>> On 2009-10-12 09:43 -0500, Brian West wrote
TC>> freeswitch-users@lists.freeswit...:
TC>>
TC>> BW>We can host this in our SVN if you wish?
TC>>
TC>> If in fs svn i think yes. But i think may be little time later?
TC>> i don't known is it builds on trunk because i develop it on 1.0.4.
TC>>
TC>> BW>/b
TC>> BW>
TC>> BW>On Oct 12, 2009, at 8:31 AM, Georgiewskiy Yuriy wrote:
TC>> BW>
TC>> BW>> ftp://srv.icf.org.ru/pub/soft/f/freeswitch/mod_h323/ alfa code, but
TC>> seems
TC>> BW>> it work, but should be buggy,
TC>> BW>> to build need libpt 2.6.5 and h323plus cvs version, i test it now on
TC>> fs
TC>> BW>> 1.0.4.
TC>> BW>
TC>>
TC>> C Õ×ÁÖÅÎÉÅÍ š š š š š š š š š š š With Best Regards
TC>> çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. š š š š š š š šGeorgiewskiy Yuriy
TC>> +7 4872 711666 š š š š š š š š š š+7 4872 711666
TC>> ÆÁËÓ +7 4872 711143 š š š š š š š fax +7 4872 711143
TC>> ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" š š š IT Service Ltd
TC>> http://nkoort.ru š š š š š š š š šhttp://nkoort.ru
TC>> JID: GHhost@jabber.tula-ix.net.ru (GHhost@jabber.tula-ix.net.ru) JID: GHhost@jabber.tula-ix.net.ru (GHhost@jabber.tula-ix.net.ru)
TC>> YG129-RIPE š š š š š š š š š š š šYG129-RIPE
TC>>
TC>> _______________________________________________
TC>> FreeSWITCH-users mailing list
TC>> FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
TC>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
TC>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
TC>> http://www.freeswitch.org
TC>>
TC>>
TC>
C Õ×ÁÖÅÎÉÅÍ š š š š š š š š š š š With Best Regards
çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. š š š š š š š šGeorgiewskiy Yuriy
+7 4872 711666 š š š š š š š š š š+7 4872 711666
ÆÁËÓ +7 4872 711143 š š š š š š š fax +7 4872 711143
ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" š š š IT Service Ltd
http://nkoort.ru š š š š š š š š šhttp://nkoort.ru
JID: GHhost@jabber.tula-ix.net.ru (GHhost@jabber.tula-ix.net.ru) JID: GHhost@jabber.tula-ix.net.ru (GHhost@jabber.tula-ix.net.ru)
YG129-RIPE š š š š š š š š š š š šYG129-RIPE
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
|
Back to top |
|
|
bottleman at icf.org.ru Guest
|
Posted: Wed Oct 14, 2009 2:53 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
On 2009-10-14 08:59 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
try sow start on h323 channel, there is a bug in faststart, i will fix it later.
TC>the e-mail bounced back .. don't know whether you received this...
TC>
TC>
TC>
TC>
TC>
TC>
TC>here are the results!
TC>
TC>
TC>Outbound calls:
TC>
TC>SIP_user(1001) => FS => H323_SoftSwitch:
TC>http://pastebin.freeswitch.org/10672
TC>
TC>i get coredumps but this might be because i'm missing the bridge format....
TC>what i'm using is: <action application="bridge" data="h323/0$1@${NCX_IP}"/>
TC>that can be wrong Please advice here.
TC>
TC>
TC>
TC>
TC>Inbound Calls:
TC>
TC>openPhone => FS => SIP_user(1001): http://pastebin.freeswitch.org/10671
TC>
TC>
TC>the call went in, hit a registered sip user (1001) and the phone started
TC>ringing. The phone answered the call but no audio can be heared (i see RTP
TC>from the SIP uset towards FS). Also, the openPhone never receives H.225
TC>connect nor any OLC before connect. After some time, the H323 leg constates
TC>the user never answered and releases the call with cause 19.
TC>
TC>
TC>
TC>
TC>this is the h323.config.xml
TC>
TC>tculjaga@subZero:~$ cat
TC>/usr/local/freeswitch/conf/autoload_configs/h323.conf.xml
TC><configuration name="h323.conf" description="H323 Endpoints">
TC> <settings>
TC> <param name="trace-level" value="10"/>
TC> <param name="context" value="default"/>
TC> <param name="dialplan" value="XML"/>
TC> <param name="codec-prefs" value="PCMA,GSM,G729,G726"/>
TC> <param name="gk-address" value=""/> <!-- empty to disable, "*" to
TC>search LAN -->
TC> <param name="gk-identifer" value=""/> <!-- optional name of gk -->
TC> <param name="gk-interface" value=""/> <!-- optional listener interface
TC>name -->
TC> </settings>
TC> <listeners>
TC> <listener name="default">
TC> <param name="h323-ip" value="10.4.62.7"/>
TC> <param name="h323-port" value="1720"/>
TC> </listener>
TC> </listeners>
TC></configuration>
TC>
TC>
TC>
TC>and this is a dialplan for outgoing that i'm using
TC>
TC>
TC><include>
TC>
TC> <extension name="EMERGENCY">
TC> <condition field="destination_number" expression="^0(112|9[23456])$">
TC> <action application="set"
TC>data="effective_caller_id_number=1001282122"/>
TC> <action application="set" data="NCX_IP=10.4.4.254"/>
TC> <action application="set" data="call_timeout=30"/>
TC> <action application="set" data="hangup_after_bridge=true"/>
TC>
TC> <!--action application="bridge" data="opal/h323:0$1@${NCX_IP}"/-->
TC> <action application="bridge" data="h323/0$1@${NCX_IP}"/>
TC> </condition>
TC> </extension>
TC>
TC> <extension name="SPECIAL_SERVICES">
TC> <condition field="destination_number" expression="^0(9[01789]\d{3,4})$">
TC> <action application="set"
TC>data="effective_caller_id_number=1001282122"/>
TC> <action application="set" data="NCX_IP=10.4.4.254"/>
TC> <action application="set" data="call_timeout=30"/>
TC> <action application="set" data="hangup_after_bridge=true"/>
TC>
TC> <!--action application="bridge" data="opal/h323:0$1@${NCX_IP}"/-->
TC> <action application="bridge" data="h323/0$1@${NCX_IP}"/>
TC> </condition>
TC> </extension>
TC>
TC> <extension name="ENYTHING_ELSE">
TC> <condition field="destination_number"
TC>expression="^0([2-8]\d{6,7}|0[1-9]\d{7,8}|00[1-9]\d{8,16})$">
TC> <action application="set"
TC>data="effective_caller_id_number=1001282122"/>
TC> <action application="set" data="NCX_IP=10.4.4.254"/>
TC> <action application="set" data="call_timeout=30"/>
TC> <action application="set" data="hangup_after_bridge=true"/>
TC>
TC> <!--action application="bridge" data="opal/h323:0$1@${NCX_IP}"/-->
TC> <action application="bridge" data="h323/0$1@${NCX_IP}"/>
TC> </condition>
TC> </extension>
TC>
TC></include>
TC>
TC>
TC>
TC>P.S.: sorry for the attached rar, but don't know how to upload it to
TC>pastebin
TC>
TC>
TC>T.
TC>
TC>
TC>
TC>
TC>2009/10/12 Tihomir Culjaga <tculjaga@gmail.com>
TC>
TC>hi,
TC>>
TC>> finally i compiled it right ... had a stupid issue with ekiga and wrong
TC>> ptlib in place...
TC>>
TC>> anyhow, i loaded the module and will continue the tests tomorrow ...first
TC>> thing i arrive in my office
TC>>
TC>>
TC>>
TC>> freeswitch@subZero>
TC>> freeswitch@subZero>
TC>> API CALL [console(loglevel 7)] output:
TC>> +OK console log level set to DEBUG
TC>>
TC>> freeswitch@subZero> load mod_h323
TC>> 2009-10-12 23:38:09.509279 [CONSOLE] mod_h323.cpp:93 Starting loading
TC>> mod_h323
TC>> 2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:461 Created Listener
TC>> 'default'
TC>> 2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:305 Config capabilliti
TC>> PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:309 Find capabilliti PCMU
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:309 Find capabilliti PCMA
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.511413 [DEBUG] h323caps.cxx:3264 FindCapability:
TC>> "G.711-uLaw-64k{sw}"
TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3176 Added capability:
TC>> G.711-uLaw-64k <1>
TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability:
TC>> "G.711-uLaw-64k{sw}"
TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability:
TC>> "G.711-uLaw-64k{sw}"
TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability:
TC>> "G.711-uLaw-64k{sw}"
TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability:
TC>> "G.711-uLaw-64k{sw}"
TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:1989 No Extended
TC>> Capabilities found to load
TC>> 2009-10-12 23:38:09.512480 [DEBUG] mod_h323.cpp:325 H.323 added 1
TC>> capabilities 'G.711-uLaw-64k*{sw}'
TC>> 2009-10-12 23:38:09.512480 [DEBUG] mod_h323.cpp:309 Find capabilliti gsm to
TC>> PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti msgsm
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti speex
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti lpc10
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti ilbc20
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti ilbc30
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g723
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g726
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g728
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729b
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti slin
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729a
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729ab
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g723.1
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> g723.1-5k3 to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> g723.1a-5k3 to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> g723.1a-6k3 to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> g723.1a-6k3-cisco to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> g726-16 to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> g726-24 to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> g726-32 to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> g726-40 to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti ilbc
TC>> to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> speex-18k2 to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> speex-15k to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> speex-11k to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.515708 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> speex-8k to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.515708 [DEBUG] mod_h323.cpp:309 Find capabilliti
TC>> speex-5k95 to PCMA,GSM,G729,G726
TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability:
TC>> UserInput/hookflash <2>
TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability:
TC>> UserInput/basicString <3>
TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability:
TC>> UserInput/dtmf <4>
TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability:
TC>> UserInput/RFC2833 <5>
TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability:
TC>> UserInput/Navigation <6>
TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability:
TC>> UserInput/Softkey <7>
TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability:
TC>> UserInput/PointDevice <8>
TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability:
TC>> UserInput/Modal <9>
TC>> 2009-10-12 23:38:09.516760 [DEBUG] osutil.cxx:188 File handle high water
TC>> mark set: 44 PTCPSocket
TC>> 2009-10-12 23:38:09.516760 [DEBUG] h323ep.cxx:1995 Started listener
TC>> Listener[ip$10.4.62.7:1720]
TC>> 2009-10-12 23:38:09.516760 [DEBUG] tlibthrd.cxx:547 Thread high water mark
TC>> set: 3
TC>> 2009-10-12 23:38:09.516760 [CONSOLE] mod_h323.cpp:108 Opal manager
TC>> initialized and running
TC>> 2009-10-12 23:38:09.516760 [DEBUG] tlibthrd.cxx:454 Started thread
TC>> 0xb75e0f18 H323 Listener:b5c98b90
TC>> 2009-10-12 23:38:09.516760 [CONSOLE] switch_loadable_module.c:889
TC>> Successfully Loaded [mod_h323]
TC>> 2009-10-12 23:38:09.516760 [NOTICE] switch_loadable_module.c:142 Adding
TC>> Endpoint 'h323'
TC>> API CALL [load(mod_h323)] output:
TC>> +OK
TC>>
TC>> 2009-10-12 23:38:09.516760 [DEBUG] transports.cxx:1521 Awaiting TCP
TC>> connections on port 1720
TC>> 2009-10-12 23:38:09.517832 [DEBUG] transports.cxx:1475 Waiting on socket
TC>> accept on ip$10.4.62.7:1720
TC>> 2009-10-12 23:38:09.517832 [DEBUG] tlibthrd.cxx:1023
TC>> PThread::PXBlockOnIO(44,2)
TC>> freeswitch@subZero>
TC>>
TC>>
TC>> BTW: to compile everytihng, I used FS trunk, ptlib 2.7.1 and h323plus
TC>> 1.22.0
TC>>
TC>> Will let you know the results asap.
TC>>
TC>>
TC>> T.
TC>>
TC>>
TC>>
TC>> 2009/10/12 Georgiewskiy Yuriy <bottleman@icf.org.ru>
TC>>
TC>>> On 2009-10-12 18:03 +0200, Tihomir Culjaga wrote
TC>>> freeswitch-users@lists.fre...:
TC>>>
TC>>> i already write this, ptlib 2.6.5, tou can find link to it on
TC>>> oplalvoip.org, h32plus latest CVS version,
TC>>> you can find it on www.h323plus.org.
TC>>>
TC>>> TC>hi,
TC>>> TC>
TC>>> TC>can't make it...
TC>>> TC>
TC>>> TC>subZero:~/freeswitch-trunk$ make mod_h323
TC>>> TC>
TC>>> TC>making all mod_h323
TC>>> TC>Compiling mod_h323.cpp...
TC>>> TC>quiet_libtool: compile: g++ -g -ggdb -I/usr/local/include/ptlib
TC>>> TC>-I/usr/local/include/openh323 -I. -DPTRACING=1 -D_REENTRANT
TC>>> -fno-exceptions
TC>>> TC>-I/home/tculjaga/freeswitch-trunk/src/include
TC>>> TC>-I/home/tculjaga/freeswitch-trunk/libs/libteletone/src -fPIC
TC>>> TC>-fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g
TC>>> -O2
TC>>> TC>-D_GNU_SOURCE -DHAVE_CONFIG_H -c mod_h323.cpp -fPIC -DPIC -o
TC>>> TC>.libs/mod_h323.o
TC>>> TC>In file included from /usr/local/include/openh323/h323.h:493,
TC>>> TC> from mod_h323.h:8,
TC>>> TC> from mod_h323.cpp:3:
TC>>> TC>/usr/local/include/openh323/h323ep.h: In member function ÿÿÿÿÿÿvirtual
TC>>> void
TC>>> TC>NATFactoryStartup::OnShutdown()ÿÿÿÿÿÿ:
TC>>> TC>/usr/local/include/openh323/h323ep.h:2731: error:
TC>>> ÿÿÿÿÿÿNatFactoryÿÿÿÿÿÿ has not
TC>>> TC>been declared
TC>>> TC>make[4]: *** [mod_h323.lo] Error 1
TC>>> TC>make[3]: *** [all] Error 1
TC>>> TC>make[2]: *** [mod_h323-all] Error 1
TC>>> TC>make[1]: *** [mod_h323] Error 2
TC>>> TC>make: *** [mod_h323] Error 2
TC>>> TC>
TC>>> TC>
TC>>> TC>
TC>>> TC>what exact ptlib and h323plus versions did you use? .. can you send us
TC>>> a
TC>>> TC>link so we can use the exact ones.
TC>>> TC>
TC>>> TC>
TC>>> TC>T.
TC>>> TC>
TC>>> TC>2009/10/12 Georgiewskiy Yuriy <bottleman@icf.org.ru>
TC>>> TC>
TC>>> TC>> On 2009-10-12 09:43 -0500, Brian West wrote
TC>>> TC>> freeswitch-users@lists.freeswit...:
TC>>> TC>>
TC>>> TC>> BW>We can host this in our SVN if you wish?
TC>>> TC>>
TC>>> TC>> If in fs svn i think yes. But i think may be little time later?
TC>>> TC>> i don't known is it builds on trunk because i develop it on 1.0.4.
TC>>> TC>>
TC>>> TC>> BW>/b
TC>>> TC>> BW>
TC>>> TC>> BW>On Oct 12, 2009, at 8:31 AM, Georgiewskiy Yuriy wrote:
TC>>> TC>> BW>
TC>>> TC>> BW>> ftp://srv.icf.org.ru/pub/soft/f/freeswitch/mod_h323/ alfa code,
TC>>> but
TC>>> TC>> seems
TC>>> TC>> BW>> it work, but should be buggy,
TC>>> TC>> BW>> to build need libpt 2.6.5 and h323plus cvs version, i test it
TC>>> now on
TC>>> TC>> fs
TC>>> TC>> BW>> 1.0.4.
TC>>> TC>> BW>
TC>>> TC>>
TC>>> TC>> C Õ×ÁÖÅÎÉÅÍ With Best Regards
TC>>> TC>> çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
TC>>> TC>> +7 4872 711666 +7 4872 711666
TC>>> TC>> ÆÁËÓ +7 4872 711143 fax +7 4872 711143
TC>>> TC>> ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
TC>>> TC>> http://nkoort.ru http://nkoort.ru
TC>>> TC>> JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
TC>>> TC>> YG129-RIPE YG129-RIPE
TC>>> TC>>
TC>>> TC>> _______________________________________________
TC>>> TC>> FreeSWITCH-users mailing list
TC>>> TC>> FreeSWITCH-users@lists.freeswitch.org
TC>>> TC>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
TC>>> TC>> UNSUBSCRIBE:
TC>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
TC>>> TC>> http://www.freeswitch.org
TC>>> TC>>
TC>>> TC>>
TC>>> TC>
TC>>>
TC>>> C Õ×ÁÖÅÎÉÅÍ With Best Regards
TC>>> çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
TC>>> +7 4872 711666 +7 4872 711666
TC>>> ÆÁËÓ +7 4872 711143 fax +7 4872 711143
TC>>> ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
TC>>> http://nkoort.ru http://nkoort.ru
TC>>> JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
TC>>> YG129-RIPE YG129-RIPE
TC>>>
TC>>> _______________________________________________
TC>>> FreeSWITCH-users mailing list
TC>>> FreeSWITCH-users@lists.freeswitch.org
TC>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
TC>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
TC>>> http://www.freeswitch.org
TC>>>
TC>>>
TC>>
TC>
C Õ×ÁÖÅÎÉÅÍ With Best Regards
çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
ÆÁËÓ +7 4872 711143 fax +7 4872 711143
ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
YG129-RIPE YG129-RIPE
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Wed Oct 14, 2009 3:07 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
2009/10/14 Georgiewskiy Yuriy <bottleman@icf.org.ru (bottleman@icf.org.ru)>
Quote: | On 2009-10-14 08:59 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
try sow start on h323 channel, there is a bug in faststart, i will fix it later.
|
there are few things,
1. capability PCMU/PCMA needs to be inverted
2. when you place outgoing calls SIP_user => FS => H323_endpoint FS corediumps: what is the data format for bridge? Is that correct => data="h323/1001@10.1.1.1 (1001@10.1.1.1)" ?
3. when you place incoming calls H323_endpoint => FS => SIPUser, the call goes through but there is no audio. After H.225 connect and TCS/MSD, FS stops sending RTP back to te originator.
4. when you place incoming calls H323_endpoint => FS => SIPUser and you hangup from SIPUser side, the call is not released on H323 side... switch_core_state_machine complains about a wrong thread.
i will send you logs for:
1. slow start
2. slow start early h245
3. fast start tunneling true
4. faststart tunneling false
5. faststart with early h245 tunneling true
6. faststart with early h245 tunneling false
do you need a tcpdump for every scenario as well ?
T. |
|
Back to top |
|
|
bottleman at icf.org.ru Guest
|
Posted: Wed Oct 14, 2009 3:19 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
On 2009-10-14 09:58 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
i need trace level 4 from mod_h323 and debug log of entire call, tcpdump may be needed later, i have no way
to test it on this time, i do it later.
TC>2009/10/14 Georgiewskiy Yuriy <bottleman@icf.org.ru>
TC>
TC>> On 2009-10-14 08:59 +0200, Tihomir Culjaga wrote
TC>> freeswitch-users@lists.fre...:
TC>>
TC>> try sow start on h323 channel, there is a bug in faststart, i will fix it
TC>> later.
TC>>
TC>>
TC>there are few things,
TC>
TC>1. capability PCMU/PCMA needs to be inverted
TC>2. when you place outgoing calls SIP_user => FS => H323_endpoint FS
TC>corediumps: what is the data format for bridge? Is that correct =>
TC>data="h323/1001@10.1.1.1" ?
TC>3. when you place incoming calls H323_endpoint => FS => SIPUser, the call
TC>goes through but there is no audio. After H.225 connect and TCS/MSD, FS
TC>stops sending RTP back to te originator.
TC>4. when you place incoming calls H323_endpoint => FS => SIPUser and you
TC>hangup from SIPUser side, the call is not released on H323 side...
TC>switch_core_state_machine
TC>complains about a wrong thread.
TC>
TC>
TC>i will send you logs for:
TC>
TC>1. slow start
TC>2. slow start early h245
TC>3. fast start tunneling true
TC>4. faststart tunneling false
TC>5. faststart with early h245 tunneling true
TC>6. faststart with early h245 tunneling false
TC>
TC>
TC>do you need a tcpdump for every scenario as well ?
TC>
TC>T.
TC>
C Õ×ÁÖÅÎÉÅÍ With Best Regards
çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
ÆÁËÓ +7 4872 711143 fax +7 4872 711143
ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
YG129-RIPE YG129-RIPE
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Wed Oct 14, 2009 3:24 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
2009/10/14 Georgiewskiy Yuriy <bottleman@icf.org.ru (bottleman@icf.org.ru)>
Quote: | On 2009-10-14 09:58 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
i need trace level 4 from mod_h323 and debug log of entire call, tcpdump may be needed later, i have no way
to test it on this time, i do it later.
|
Ok, will generate this logs...
hope you will recover soon.
T. |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Wed Oct 14, 2009 4:34 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
On Wed, Oct 14, 2009 at 10:16 AM, Tihomir Culjaga <tculjaga@gmail.com (tculjaga@gmail.com)> wrote:
Quote: |
2009/10/14 Georgiewskiy Yuriy <bottleman@icf.org.ru (bottleman@icf.org.ru)>
Quote: | On 2009-10-14 09:58 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
i need trace level 4 from mod_h323 and debug log of entire call, tcpdump may be needed later, i have no way
to test it on this time, i do it later.
|
|
Here are the logs:
call flow is H323_endpoint => FS => SIP_user
slow start => http://pastebin.freeswitch.org/10693
slow start w eH245 => http://pastebin.freeswitch.org/10694
fastStart w tunneling true => http://pastebin.freeswitch.org/10701
fastStart w tunneling false => http://pastebin.freeswitch.org/10702
fastStart w tunneling true eH245 => http://pastebin.freeswitch.org/10699
fastStart w tunneling false eH245 => http://pastebin.freeswitch.org/10700
In all cases, there is no audio on SIP User side... i see the SIP Phone (terminator) sending RTP to FS but FS is not forwarding it back to the originator. Also, i see originator (H323) sending RTP to FS but FS doesn't forward it to the terminator (SIP).
call flow is SIP_user => FS => H323_endpoint is failing .. coredumped.... http://pastebin.freeswitch.org/10703
T.
Quote: |
hope you will recover soon.
T.
|
|
|
Back to top |
|
|
bottleman at icf.org.ru Guest
|
Posted: Tue Oct 20, 2009 12:27 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
On 2009-10-14 11:15 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
TC>On Wed, Oct 14, 2009 at 10:16 AM, Tihomir Culjaga <tculjaga@gmail.com>wrote:
TC>
TC>>
TC>>
TC>> 2009/10/14 Georgiewskiy Yuriy <bottleman@icf.org.ru>
TC>>
TC>>> On 2009-10-14 09:58 +0200, Tihomir Culjaga wrote
TC>>> freeswitch-users@lists.fre...:
TC>>>
TC>>> i need trace level 4 from mod_h323 and debug log of entire call, tcpdump
TC>>> may be needed later, i have no way
TC>>> to test it on this time, i do it later.
TC>>>
TC>>>
TC>
TC>Here are the logs:
TC>
TC>call flow is H323_endpoint => FS => SIP_user
TC>
TC>slow start => http://pastebin.freeswitch.org/10693
TC>slow start w eH245 => http://pastebin.freeswitch.org/10694
TC>fastStart w tunneling true => http://pastebin.freeswitch.org/10701
TC>fastStart w tunneling false => http://pastebin.freeswitch.org/10702
TC>fastStart w tunneling true eH245 => http://pastebin.freeswitch.org/10699
TC>fastStart w tunneling false eH245 => http://pastebin.freeswitch.org/10700
TC>
TC>
TC>In all cases, there is no audio on SIP User side... i see the SIP Phone
TC>(terminator) sending RTP to FS but FS is not forwarding it back to the
TC>originator. Also, i see originator (H323) sending RTP to FS but FS doesn't
TC>forward it to the terminator (SIP).
TC>
TC>
TC>
TC>call flow is SIP_user => FS => H323_endpoint is failing .. coredumped....
TC>http://pastebin.freeswitch.org/10703
i fix some bugs now, ftp://srv.icf.org.ru/pub/soft/f/freeswitch/mod_h323/mod_h323.tar.bz2 this is
updated version, try it, if you experience no audio try enable rtp proxy in you sip profile.
C Õ×ÁÖÅÎÉÅÍ With Best Regards
çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
ÆÁËÓ +7 4872 711143 fax +7 4872 711143
ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
YG129-RIPE YG129-RIPE
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Tue Oct 20, 2009 3:29 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
Hi,š there are several issues... lets start with top 4
1. I'm still stuck with no audio:
I have this parameter in the sip profile set: <param name="inbound-proxy-media" value="true"/>
...tried with both with slow start and fast start... any idea ?
pls check: http://pastebin.freeswitch.org/10771
2. outgoing calls still failing in coredumps: what is your dialplan ? ... how do you call bridge application?
2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/PointDevice <14>
2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3248 FindCapability: 15
2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread 0xb6eb60a0 for id 3048876944
2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:65 Destroyed external thread 0xb6ebafa8 for id 3048876944
2009-10-20 10:08:18.426608 [DEBUG] tlibthrd.cxx:406 Destroyed thread 0xb6ebafa8 PExternalThread:0xb5ba2b90(id = b5ba2b90)
2009-10-20 10:08:18.426608 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/Modal <15>
2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0, expiries=0
2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0, expiries=0
2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread 0xb6eba910 for id 3048876944
2009-10-20 10:08:18.426608 [DEBUG] h4601.cxx:1725 Endpoint Attached
Segmentation fault (core dumped)
tculjaga@subZero:~/freeswitch-trunk$
pls check: http://pastebin.freeswitch.org/10769
3.š when you hangup from SIP side, the call is not released end-to-end (the H323 endpoint doesn't get any releaseComplete message)
2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2, expiries=3
2009-10-20 10:10:51.264527 [DEBUG] h323neg.cxx:432 Received MasterSlaveDeterminationAck: state=Incoming
2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=1, expiries=3
2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2, expiries=4
2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138 InternalEstablishedConnectionCheck: connectionState=EstablishedConnection fastStartState=FastStartAcknowledged
2009-10-20 10:10:51.264527 [DEBUG] h323caps.cxx:3264 FindCapability: "T.120"
2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138 InternalEstablishedConnectionCheck: connectionState=EstablishedConnection fastStartState=FastStartAcknowledged
2009-10-20 10:10:51.264527 [DEBUG] tlibthrd.cxx:1023 PThread::PXBlockOnIO(45,0)
2009-10-20 10:10:54.405479 [NOTICE] sofia.c:328 Hangup sofia/internal/sip:1001@10.4.62.89 ([email]sip%3A1001@10.4.62.89[/email]) [CS_CONSUME_MEDIA] [NORMAL_CLEARING]
2009-10-20 10:10:54.405479 [DEBUG] switch_channel.c:1726 Send signal sofia/internal/sip:1001@10.4.62.89 ([email]sip%3A1001@10.4.62.89[/email]) [KILL]
2009-10-20 10:10:54.405479 [DEBUG] switch_core_session.c:932 Send signal sofia/internal/sip:1001@10.4.62.89 ([email]sip%3A1001@10.4.62.89[/email]) [BREAK]
2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:437 thread mismatch skipping state handler.
2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:306 (sofia/internal/sip:1001@10.4.62.89 ([email]sip%3A1001@10.4.62.89[/email])) Running State Change CS_HANGUP
2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:464 (sofia/internal/sip:1001@10.4.62.89 ([email]sip%3A1001@10.4.62.89[/email])) State HANGUP
2009-10-20 10:10:54.406530 [DEBUG] mod_sofia.c:338 Channel sofia/internal/sip:1001@10.4.62.89 ([email]sip%3A1001@10.4.62.89[/email]) hanging up, cause: NORMAL_CLEARING
2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:46 sofia/internal/sip:1001@10.4.62.89 ([email]sip%3A1001@10.4.62.89[/email]) Standard HANGUP, cause: NORMAL_CLEARING
pls check: http://pastebin.freeswitch.org/10771
4. sometimes when i shutdown FS i get coredimps - from my experience it looks like you don't wait for a FS thread to finish when you exit...
2009-10-20 10:05:59.493306 [CONSOLE] switch_event.c:508 Stopping queue thread 2
2009-10-20 10:05:59.493339 [CONSOLE] switch_core.c:1693 Finalizing Shutdown.
2009-10-20 10:05:59.493379 [CONSOLE] switch_log.c:310 Logger Ended.
2009-10-20 10:05:59.494472 [CONSOLE] switch_core_memory.c:567 Stopping memory pool queue.
Segmentation fault (core dumped)
tculjaga@subZero:~/freeswitch-trunk$
tculjaga@subZero:~/freeswitch-trunk$
Please advice your FS/mod_h323.conf.xml settings...
Tihomir.
š
|
|
Back to top |
|
|
bottleman at icf.org.ru Guest
|
Posted: Tue Oct 20, 2009 10:19 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
On 2009-10-20 10:17 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
TC>> TC>
TC>> TC>call flow is SIP_user => FS => H323_endpoint is failing ..
TC>> coredumped....
TC>> TC>http://pastebin.freeswitch.org/10703
TC>>
TC>> i fix some bugs now,
TC>> ftp://srv.icf.org.ru/pub/soft/f/freeswitch/mod_h323/mod_h323.tar.bz2 this
TC>> is
TC>> updated version, try it, if you experience no audio try enable rtp proxy in
TC>> you sip profile.
TC>>
TC>>
TC>Hi, there are several issues... lets start with top 4
TC>
TC>
TC>
TC>1. I'm still stuck with no audio:
TC>
TC>I have this parameter in the sip profile set: <param
TC>name="inbound-proxy-media" value="true"/>
TC>...tried with both with slow start and fast start... any idea ?
TC>
TC>pls check: http://pastebin.freeswitch.org/10771
try to sniff rtp traffic on fs, is it go thouch him.
TC>
TC>
TC>
TC>
TC>
TC>2. outgoing calls still failing in coredumps: what is your dialplan ? ...
TC>how do you call bridge application?
simple:
<action application="bridge" data="h323/${number}"/>
if fs not registered on gk then data="h323/${number}@xxx.xxx.xxx.xxx".
TC>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/PointDevice <14>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3248 FindCapability: 15
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eb60a0 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:65 Destroyed external thread
TC>0xb6ebafa8 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] tlibthrd.cxx:406 Destroyed thread
TC>0xb6ebafa8 PExternalThread:0xb5ba2b90(id = b5ba2b90)
TC>2009-10-20 10:08:18.426608 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/Modal <15>
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eba910 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] h4601.cxx:1725 Endpoint Attached
TC>Segmentation fault (core dumped)
TC>tculjaga@subZero:~/freeswitch-trunk$
TC>
TC>pls check: http://pastebin.freeswitch.org/10769
look strange, what version of libpt/h323plus you use and freeswitch itself ?
TC>
TC>
TC>
TC>3. when you hangup from SIP side, the call is not released end-to-end (the
TC>H323 endpoint doesn't get any releaseComplete message)
TC>
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2,
TC>expiries=3
TC>2009-10-20 10:10:51.264527 [DEBUG] h323neg.cxx:432 Received
TC>MasterSlaveDeterminationAck: state=Incoming
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=1,
TC>expiries=3
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2,
TC>expiries=4
TC>2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138
TC>InternalEstablishedConnectionCheck: connectionState=EstablishedConnection
TC>fastStartState=FastStartAcknowledged
TC>2009-10-20 10:10:51.264527 [DEBUG] h323caps.cxx:3264 FindCapability: "T.120"
TC>2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138
TC>InternalEstablishedConnectionCheck: connectionState=EstablishedConnection
TC>fastStartState=FastStartAcknowledged
TC>2009-10-20 10:10:51.264527 [DEBUG] tlibthrd.cxx:1023
TC>PThread::PXBlockOnIO(45,0)
TC>2009-10-20 10:10:54.405479 [NOTICE] sofia.c:328 Hangup sofia/internal/
TC>sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> [CS_CONSUME_MEDIA]
TC>[NORMAL_CLEARING]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_channel.c:1726 Send signal
TC>sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> [KILL]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_session.c:932 Send signal
TC>sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> [BREAK]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:437 thread
TC>mismatch skipping state handler.
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:306
TC>(sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89>) Running State
TC>Change CS_HANGUP
TC>2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:464
TC>(sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89>) State HANGUP
TC>2009-10-20 10:10:54.406530 [DEBUG] mod_sofia.c:338 Channel sofia/internal/
TC>sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> hanging up, cause:
TC>NORMAL_CLEARING
TC>2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:46
TC>sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> Standard HANGUP,
TC>cause: NORMAL_CLEARING
TC>
TC>
TC>pls check: http://pastebin.freeswitch.org/10771
hm, according this log it send release complete:
2009-10-20 10:11:03.995707 [DEBUG] h323pdu.cxx:609 Sending PDU [ip$10.4.62.7:1720/ip$10.1.14.153:3341]
i think please try to dump full traffic of this call from both endpoints and send me.
TC>
TC>
TC>
TC>
TC>4. sometimes when i shutdown FS i get coredimps - from my experience it
TC>looks like you don't wait for a FS thread to finish when you exit...
TC>
TC>2009-10-20 10:05:59.493306 [CONSOLE] switch_event.c:508 Stopping queue
TC>thread 2
TC>2009-10-20 10:05:59.493339 [CONSOLE] switch_core.c:1693 Finalizing Shutdown.
TC>2009-10-20 10:05:59.493379 [CONSOLE] switch_log.c:310 Logger Ended.
TC>2009-10-20 10:05:59.494472 [CONSOLE] switch_core_memory.c:567 Stopping
TC>memory pool queue.
TC>Segmentation fault (core dumped)
TC>tculjaga@subZero:~/freeswitch-trunk$
TC>tculjaga@subZero:~/freeswitch-trunk$
may be, i don't look on this so close at this time.
TC>Please advice your FS/mod_h323.conf.xml settings...
<configuration name="h323.conf" description="H323 Endpoints">
<settings>
<param name="trace-level" value="4"/>
<param name="context" value="default"/>
<param name="dialplan" value="XML"/>
<param name="codec-prefs" value="PCMA,PCMU,GSM,G729,G726,LPC"/>
<param name="gk-address" value="91.195.204.1"/> <!-- empty to disable, "*" to search LAN -->
<param name="gk-identifer" value="ICFGK"/> <!-- optional name of gk -->
<param name="gk-interface" value=""/> <!-- optional listener interface name -->
</settings>
<listeners>
<listener name="default">
<param name="h323-ip" value="$${local_ip_v4}"/>
<param name="h323-port" value="1720"/>
</listener>
</listeners>
</configuration>
this my current settings.
C Õ×ÁÖÅÎÉÅÍ With Best Regards
çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
ÆÁËÓ +7 4872 711143 fax +7 4872 711143
ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
YG129-RIPE YG129-RIPE
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
bottleman at icf.org.ru Guest
|
Posted: Tue Oct 20, 2009 10:20 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
On 2009-10-20 10:17 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
TC>> TC>
TC>> TC>call flow is SIP_user => FS => H323_endpoint is failing ..
TC>> coredumped....
TC>> TC>http://pastebin.freeswitch.org/10703
TC>>
TC>> i fix some bugs now,
TC>> ftp://srv.icf.org.ru/pub/soft/f/freeswitch/mod_h323/mod_h323.tar.bz2 this
TC>> is
TC>> updated version, try it, if you experience no audio try enable rtp proxy in
TC>> you sip profile.
TC>>
TC>>
TC>Hi, there are several issues... lets start with top 4
TC>
TC>
TC>
TC>1. I'm still stuck with no audio:
TC>
TC>I have this parameter in the sip profile set: <param
TC>name="inbound-proxy-media" value="true"/>
TC>...tried with both with slow start and fast start... any idea ?
TC>
TC>pls check: http://pastebin.freeswitch.org/10771
try to sniff rtp traffic on fs, is it go thouch him.
TC>
TC>
TC>
TC>
TC>
TC>2. outgoing calls still failing in coredumps: what is your dialplan ? ...
TC>how do you call bridge application?
simple:
<action application="bridge" data="h323/${number}"/>
if fs not registered on gk then data="h323/${number}@xxx.xxx.xxx.xxx".
TC>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/PointDevice <14>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3248 FindCapability: 15
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eb60a0 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:65 Destroyed external thread
TC>0xb6ebafa8 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] tlibthrd.cxx:406 Destroyed thread
TC>0xb6ebafa8 PExternalThread:0xb5ba2b90(id = b5ba2b90)
TC>2009-10-20 10:08:18.426608 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/Modal <15>
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eba910 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] h4601.cxx:1725 Endpoint Attached
TC>Segmentation fault (core dumped)
TC>tculjaga@subZero:~/freeswitch-trunk$
TC>
TC>pls check: http://pastebin.freeswitch.org/10769
look strange, what version of libpt/h323plus you use and freeswitch itself ?
TC>
TC>
TC>
TC>3. when you hangup from SIP side, the call is not released end-to-end (the
TC>H323 endpoint doesn't get any releaseComplete message)
TC>
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2,
TC>expiries=3
TC>2009-10-20 10:10:51.264527 [DEBUG] h323neg.cxx:432 Received
TC>MasterSlaveDeterminationAck: state=Incoming
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=1,
TC>expiries=3
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2,
TC>expiries=4
TC>2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138
TC>InternalEstablishedConnectionCheck: connectionState=EstablishedConnection
TC>fastStartState=FastStartAcknowledged
TC>2009-10-20 10:10:51.264527 [DEBUG] h323caps.cxx:3264 FindCapability: "T.120"
TC>2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138
TC>InternalEstablishedConnectionCheck: connectionState=EstablishedConnection
TC>fastStartState=FastStartAcknowledged
TC>2009-10-20 10:10:51.264527 [DEBUG] tlibthrd.cxx:1023
TC>PThread::PXBlockOnIO(45,0)
TC>2009-10-20 10:10:54.405479 [NOTICE] sofia.c:328 Hangup sofia/internal/
TC>sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> [CS_CONSUME_MEDIA]
TC>[NORMAL_CLEARING]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_channel.c:1726 Send signal
TC>sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> [KILL]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_session.c:932 Send signal
TC>sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> [BREAK]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:437 thread
TC>mismatch skipping state handler.
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:306
TC>(sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89>) Running State
TC>Change CS_HANGUP
TC>2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:464
TC>(sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89>) State HANGUP
TC>2009-10-20 10:10:54.406530 [DEBUG] mod_sofia.c:338 Channel sofia/internal/
TC>sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> hanging up, cause:
TC>NORMAL_CLEARING
TC>2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:46
TC>sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> Standard HANGUP,
TC>cause: NORMAL_CLEARING
TC>
TC>
TC>pls check: http://pastebin.freeswitch.org/10771
hm, according this log it send release complete:
2009-10-20 10:11:03.995707 [DEBUG] h323pdu.cxx:609 Sending PDU [ip$10.4.62.7:1720/ip$10.1.14.153:3341]
i think please try to dump full traffic of this call from both endpoints and send me.
TC>
TC>
TC>
TC>
TC>4. sometimes when i shutdown FS i get coredimps - from my experience it
TC>looks like you don't wait for a FS thread to finish when you exit...
TC>
TC>2009-10-20 10:05:59.493306 [CONSOLE] switch_event.c:508 Stopping queue
TC>thread 2
TC>2009-10-20 10:05:59.493339 [CONSOLE] switch_core.c:1693 Finalizing Shutdown.
TC>2009-10-20 10:05:59.493379 [CONSOLE] switch_log.c:310 Logger Ended.
TC>2009-10-20 10:05:59.494472 [CONSOLE] switch_core_memory.c:567 Stopping
TC>memory pool queue.
TC>Segmentation fault (core dumped)
TC>tculjaga@subZero:~/freeswitch-trunk$
TC>tculjaga@subZero:~/freeswitch-trunk$
may be, i don't look on this so close at this time.
TC>Please advice your FS/mod_h323.conf.xml settings...
<configuration name="h323.conf" description="H323 Endpoints">
<settings>
<param name="trace-level" value="4"/>
<param name="context" value="default"/>
<param name="dialplan" value="XML"/>
<param name="codec-prefs" value="PCMA,PCMU,GSM,G729,G726,LPC"/>
<param name="gk-address" value="91.195.204.1"/> <!-- empty to disable, "*" to search LAN -->
<param name="gk-identifer" value="ICFGK"/> <!-- optional name of gk -->
<param name="gk-interface" value=""/> <!-- optional listener interface name -->
</settings>
<listeners>
<listener name="default">
<param name="h323-ip" value="$${local_ip_v4}"/>
<param name="h323-port" value="1720"/>
</listener>
</listeners>
</configuration>
this my current settings.
C Õ×ÁÖÅÎÉÅÍ With Best Regards
çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
ÆÁËÓ +7 4872 711143 fax +7 4872 711143
ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
YG129-RIPE YG129-RIPE
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
bottleman at icf.org.ru Guest
|
Posted: Tue Oct 20, 2009 10:45 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
On 2009-10-20 10:17 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
TC>> TC>
TC>> TC>call flow is SIP_user => FS => H323_endpoint is failing ..
TC>> coredumped....
TC>> TC>http://pastebin.freeswitch.org/10703
TC>>
TC>> i fix some bugs now,
TC>> ftp://srv.icf.org.ru/pub/soft/f/freeswitch/mod_h323/mod_h323.tar.bz2 this
TC>> is
TC>> updated version, try it, if you experience no audio try enable rtp proxy in
TC>> you sip profile.
TC>>
TC>>
TC>Hi, there are several issues... lets start with top 4
TC>
TC>
TC>
TC>1. I'm still stuck with no audio:
TC>
TC>I have this parameter in the sip profile set: <param
TC>name="inbound-proxy-media" value="true"/>
TC>...tried with both with slow start and fast start... any idea ?
TC>
TC>pls check: http://pastebin.freeswitch.org/10771
try to sniff rtp traffic on fs, is it go thouch him.
TC>
TC>
TC>
TC>
TC>
TC>2. outgoing calls still failing in coredumps: what is your dialplan ? ...
TC>how do you call bridge application?
simple:
<action application="bridge" data="h323/${number}"/>
if fs not registered on gk then data="h323/${number}@xxx.xxx.xxx.xxx".
TC>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/PointDevice <14>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3248 FindCapability: 15
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eb60a0 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:65 Destroyed external thread
TC>0xb6ebafa8 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] tlibthrd.cxx:406 Destroyed thread
TC>0xb6ebafa8 PExternalThread:0xb5ba2b90(id = b5ba2b90)
TC>2009-10-20 10:08:18.426608 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/Modal <15>
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eba910 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] h4601.cxx:1725 Endpoint Attached
TC>Segmentation fault (core dumped)
TC>tculjaga@subZero:~/freeswitch-trunk$
TC>
TC>pls check: http://pastebin.freeswitch.org/10769
look strange, what version of libpt/h323plus you use and freeswitch itself ?
TC>
TC>
TC>
TC>3. when you hangup from SIP side, the call is not released end-to-end (the
TC>H323 endpoint doesn't get any releaseComplete message)
TC>
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2,
TC>expiries=3
TC>2009-10-20 10:10:51.264527 [DEBUG] h323neg.cxx:432 Received
TC>MasterSlaveDeterminationAck: state=Incoming
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=1,
TC>expiries=3
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2,
TC>expiries=4
TC>2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138
TC>InternalEstablishedConnectionCheck: connectionState=EstablishedConnection
TC>fastStartState=FastStartAcknowledged
TC>2009-10-20 10:10:51.264527 [DEBUG] h323caps.cxx:3264 FindCapability: "T.120"
TC>2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138
TC>InternalEstablishedConnectionCheck: connectionState=EstablishedConnection
TC>fastStartState=FastStartAcknowledged
TC>2009-10-20 10:10:51.264527 [DEBUG] tlibthrd.cxx:1023
TC>PThread::PXBlockOnIO(45,0)
TC>2009-10-20 10:10:54.405479 [NOTICE] sofia.c:328 Hangup sofia/internal/
TC>sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> [CS_CONSUME_MEDIA]
TC>[NORMAL_CLEARING]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_channel.c:1726 Send signal
TC>sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> [KILL]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_session.c:932 Send signal
TC>sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> [BREAK]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:437 thread
TC>mismatch skipping state handler.
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:306
TC>(sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89>) Running State
TC>Change CS_HANGUP
TC>2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:464
TC>(sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89>) State HANGUP
TC>2009-10-20 10:10:54.406530 [DEBUG] mod_sofia.c:338 Channel sofia/internal/
TC>sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> hanging up, cause:
TC>NORMAL_CLEARING
TC>2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:46
TC>sofia/internal/sip:1001@10.4.62.89 <sip%3A1001@10.4.62.89> Standard HANGUP,
TC>cause: NORMAL_CLEARING
TC>
TC>
TC>pls check: http://pastebin.freeswitch.org/10771
hm, according this log it send release complete:
2009-10-20 10:11:03.995707 [DEBUG] h323pdu.cxx:609 Sending PDU [ip$10.4.62.7:1720/ip$10.1.14.153:3341]
i think please try to dump full traffic of this call from both endpoints and send me.
TC>
TC>
TC>
TC>
TC>4. sometimes when i shutdown FS i get coredimps - from my experience it
TC>looks like you don't wait for a FS thread to finish when you exit...
TC>
TC>2009-10-20 10:05:59.493306 [CONSOLE] switch_event.c:508 Stopping queue
TC>thread 2
TC>2009-10-20 10:05:59.493339 [CONSOLE] switch_core.c:1693 Finalizing Shutdown.
TC>2009-10-20 10:05:59.493379 [CONSOLE] switch_log.c:310 Logger Ended.
TC>2009-10-20 10:05:59.494472 [CONSOLE] switch_core_memory.c:567 Stopping
TC>memory pool queue.
TC>Segmentation fault (core dumped)
TC>tculjaga@subZero:~/freeswitch-trunk$
TC>tculjaga@subZero:~/freeswitch-trunk$
may be, i don't look on this so close at this time.
TC>Please advice your FS/mod_h323.conf.xml settings...
<configuration name="h323.conf" description="H323 Endpoints">
<settings>
<param name="trace-level" value="4"/>
<param name="context" value="default"/>
<param name="dialplan" value="XML"/>
<param name="codec-prefs" value="PCMA,PCMU,GSM,G729,G726,LPC"/>
<param name="gk-address" value="91.195.204.1"/> <!-- empty to disable, "*" to search LAN -->
<param name="gk-identifer" value="ICFGK"/> <!-- optional name of gk -->
<param name="gk-interface" value=""/> <!-- optional listener interface name -->
</settings>
<listeners>
<listener name="default">
<param name="h323-ip" value="$${local_ip_v4}"/>
<param name="h323-port" value="1720"/>
</listener>
</listeners>
</configuration>
this my current settings.
C Õ×ÁÖÅÎÉÅÍ With Best Regards
çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
ÆÁËÓ +7 4872 711143 fax +7 4872 711143
ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
YG129-RIPE YG129-RIPE
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Wed Oct 21, 2009 2:45 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
Quote: |
simple:
<action application="bridge" data="h323/${number}"/>
if fs not registered on gk then data="h323/${number}@xxx.xxx.xxx.xxx".
TC>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/PointDevice <14>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3248 FindCapability: 15
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eb60a0 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:65 Destroyed external thread
TC>0xb6ebafa8 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] tlibthrd.cxx:406 Destroyed thread
TC>0xb6ebafa8 PExternalThread:0xb5ba2b90(id = b5ba2b90)
TC>2009-10-20 10:08:18.426608 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/Modal <15>
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eba910 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] h4601.cxx:1725 Endpoint Attached
TC>Segmentation fault (core dumped)
TC>tculjaga@subZero:~/freeswitch-trunk$
TC>
TC>pls check: http://pastebin.freeswitch.org/10769
look strange, what version of libpt/h323plus you use and freeswitch itself ?
TC>
TC>
|
I was using latest libpt.so.2.7-beta1.
Now I went back to libpt.so.2.6-beta6 (can't find 2.6.5 you mentioned...) and FS is crashing on every call .. regardless if it is inbound or outbound...
FreeSWITCH Version 1.0.trunk (15079M)
H323Plus is from cvs
so, what i did is:
create a directory e.g. h323
mkdir -p ~/h323
cd ~/h323
svn co http://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/branches/v2_6 ptlib-2.6
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export LD_LIBRARY_PATH=/usr/local/lib
cd ptlib-2.6
./configure
make
sudo make install
cd ~/h323
cvs -d:pserver:anonymous@h323plus.cvs.sourceforge.net:/cvsroot/h323plus checkout h323plus
export PTLIBDIR=~/h323plus/ptlib
cd h323plus
./configure
make
sudo make install
assuming you have FS src in your home
cd ~/freeswitch-trunk
make mod_h323-clean
make mod_h323
sudo make mod_h323-install
cd /usr/local/freeswitch/lib/
sudo ln -sf /usr/local/lib/libpt.so.2.6-beta6 libpt.so.2.6-beta6
start FS and load mod_h323
Please, can you advice what exact revisions of ptlib you are using so i can do "svn so -r xxx", also what exact revision of freeswitch and H323Plus you are using ?
Now with ptlib-2.6-beta6 can't even.
T. |
|
Back to top |
|
|
bottleman at icf.org.ru Guest
|
Posted: Wed Oct 21, 2009 5:43 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
On 2009-10-21 09:34 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
TC>
TC>
TC>
TC>I was using latest libpt.so.2.7-beta1.
TC>
TC>Now I went back to libpt.so.2.6-beta6 (can't find 2.6.5 you mentioned...)
TC>and FS is crashing on every call .. regardless if it is inbound or
TC>outbound...
http://www.opalvoip.org/ first link into Lalande Stable 5 Released.
On some version of cvs ptlib i get crash on module loading:)
TC>
TC>FreeSWITCH Version 1.0.trunk (15079M)
hm, i don't test it on trunk, may be there some isues, try get stack backtrace from core file to
see where it crash. I use 1.0.4
TC>H323Plus is from cvs
it's ok.
TC>
TC>so, what i did is:
TC>
TC>
TC>create a directory e.g. h323
TC>
TC>mkdir -p ~/h323
TC>cd ~/h323
TC>
TC> svn co
TC>http://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/branches/v2_6ptlib-2.6
TC>
TC> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
TC> export LD_LIBRARY_PATH=/usr/local/lib
TC>
TC>cd ptlib-2.6
TC>
TC> ./configure
TC> make
TC> sudo make install
TC>
TC>
TC>
TC>cd ~/h323
TC>
TC> cvs -d:pserver:anonymous@h323plus.cvs.sourceforge.net:/cvsroot/h323plus
TC>checkout h323plus
TC>
TC> export PTLIBDIR=~/h323plus/ptlib
TC>
TC>
TC>cd h323plus
TC>
TC> ./configure
TC> make
TC> sudo make install
TC>
TC>
TC>
TC>assuming you have FS src in your home
TC>
TC>cd ~/freeswitch-trunk
TC>
TC> make mod_h323-clean
TC> make mod_h323
TC> sudo make mod_h323-install
TC>
TC>
TC>
TC>cd /usr/local/freeswitch/lib/
TC>
TC> sudo ln -sf /usr/local/lib/libpt.so.2.6-beta6 libpt.so.2.6-beta6
TC>
TC>
TC>
TC>
TC>start FS and load mod_h323
TC>
TC>
TC>
TC>
TC>
TC>Please, can you advice what exact revisions of ptlib you are using so i can
TC>do "svn so -r xxx", also what exact revision of freeswitch and H323Plus you
TC>are using ?
TC>
TC>
TC>
TC>
TC>
TC>Now with ptlib-2.6-beta6 can't even.
TC>
TC>
TC>T.
TC>
C Õ×ÁÖÅÎÉÅÍ With Best Regards
çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
ÆÁËÓ +7 4872 711143 fax +7 4872 711143
ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
YG129-RIPE YG129-RIPE
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Wed Oct 21, 2009 6:49 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
2009/10/21 Georgiewskiy Yuriy <bottleman@icf.org.ru (bottleman@icf.org.ru)>
Quote: | On 2009-10-21 09:34 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
TC>
TC>
TC>
TC>I was using latest libpt.so.2.7-beta1.
TC>
TC>Now I went back to libpt.so.2.6-beta6 (can't find 2.6.5 you mentioned...)
TC>and FS is crashing on every call .. regardless if it is inbound or
TC>outbound...
http://www.opalvoip.org/ first link into Lalande Stable 5 Released.
On some version of cvs ptlib i get crash on module loading:)
TC>
TC>FreeSWITCH Version 1.0.trunk (15079M)
hm, i don't test it on trunk, may be there some isues, try get stack backtrace from core file to
see where it crash. I use 1.0.4
|
module load crash: http://pastebin.freeswitch.org/10783
FreeSWITCH backtrace: http://pastebin.freeswitch.org/10784
now, the only different thing is FS trunk ...
|
|
Back to top |
|
|
bottleman at icf.org.ru Guest
|
Posted: Wed Oct 21, 2009 7:35 am Post subject: [Freeswitch-users] Fwd: mod_opal - call charged before H.225 |
|
|
On 2009-10-21 13:39 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...:
TC>2009/10/21 Georgiewskiy Yuriy <bottleman@icf.org.ru>
TC>
TC>> On 2009-10-21 09:34 +0200, Tihomir Culjaga wrote
TC>> freeswitch-users@lists.fre...:
TC>>
TC>>
TC>> TC>
TC>> TC>
TC>> TC>
TC>> TC>I was using latest libpt.so.2.7-beta1.
TC>> TC>
TC>> TC>Now I went back to libpt.so.2.6-beta6 (can't find 2.6.5 you
TC>> mentioned...)
TC>> TC>and FS is crashing on every call .. regardless if it is inbound or
TC>> TC>outbound...
TC>>
TC>> http://www.opalvoip.org/ first link into Lalande Stable 5 Released.
TC>> On some version of cvs ptlib i get crash on module loading:)
TC>>
TC>> TC>
TC>> TC>FreeSWITCH Version 1.0.trunk (15079M)
TC>>
TC>> hm, i don't test it on trunk, may be there some isues, try get stack
TC>> backtrace from core file to
TC>> see where it crash. I use 1.0.4
TC>>
TC>>
TC>>
TC>
TC>module load crash: http://pastebin.freeswitch.org/10783
TC>FreeSWITCH backtrace: http://pastebin.freeswitch.org/10784
TC>
TC>
TC>now, the only different thing is FS trunk ...
i have no trunk at this time and cannot test it, have you enabled crash-protection in fs?
C Õ×ÁÖÅÎÉÅÍ With Best Regards
çÅÏÒÇÉÅ×ÓËÉÊ àÒÉÊ. Georgiewskiy Yuriy
+7 4872 711666 +7 4872 711666
ÆÁËÓ +7 4872 711143 fax +7 4872 711143
ëÏÍÐÁÎÉÑ ïïï "áÊ ôÉ óÅÒ×ÉÓ" IT Service Ltd
http://nkoort.ru http://nkoort.ru
JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru
YG129-RIPE YG129-RIPE
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|