<div class="gmail_quote"><div>FS = 10.4.62.7<br>
SIP phone = 10.4.62.89<br>
H323 endpoint = 10.1.14.153<br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
TC>2. hangup from sip side doesn't release the h323 leg (now the difference is<br>
TC>that FS is not complaining about thread mismatch ant it looks clean but FS<br>
TC>doesn't send any releasecomplete message... strange)<br>
TC>3. coredumps when i place outgoing calls<br>
<br>
btw,<br>
<br>
TC> 70.552157 10.1.14.153 -> 10.4.62.7 H.245 endSessionCommand<br>
TC> 70.552401 10.1.14.153 -> 10.4.62.7 H.225.0 CS: releaseComplete<br>
TC> 70.553981 10.4.62.7 -> 10.4.62.7 RTP Unknown RTP version 3<br>
TC> 70.554488 10.4.62.7 -> 10.1.14.153 H.245 endSessionCommand<br>
TC> 70.555056 10.4.62.7 -> 10.1.14.153 H.225.0 CS: releaseComplete<br>
<br>
it send, now i have no way to test h323->sip transit, i will have it tomorow.<br>
sip->h323 for me work fine now, give backtrace from code dump of 1.0.4 where it die?<br>
<div><div></div><div class="h5"><br>
</div></div></blockquote></div><br><br>this endSession is when i hangup from H232 side as well :P ... if i don't hangup on H323 side the H323 leg is not released. Pls chec the time the packets were sent ...<br><br><br>
<br>Here i hangup on the SIP Phone:<br><br>68.374916 10.4.62.89 -> 10.4.62.7 SIP Request: BYE <a href="http://sip:mod_sofia@10.4.62.7:5060/" target="_blank">sip:mod_sofia@10.4.62.7:5060</a><br>
68.375342 10.4.62.7 -> 10.4.62.7 RTP Unknown RTP version 3<br>
68.375620 10.4.62.7 -> 10.4.62.89 SIP Status: 200 OK<br><br>2 sec delay<br><br>Here i hangup on the H323 endpoint (releaseComplete comes from H323 endpoint first here )<br>70.552157 10.1.14.153 -> 10.4.62.7 H.245 endSessionCommand<br>
70.552401 10.1.14.153 -> 10.4.62.7 H.225.0 CS: releaseComplete<br><br><br>FS just acknowlages it here:<br>70.554488 10.4.62.7 -> 10.1.14.153 H.245 endSessionCommand<br>
70.555056 10.4.62.7 -> 10.1.14.153 H.225.0 CS: releaseComplete<br><br><br><br>I have enabled crash-protection and when i do SIP => H323 call it doesn't generate coredumps... it is just this thread that is crashing ... pls check the log downbelow:<br>
<br>Dialplan: sofia/internal/1001@singtel Regex (FAIL) [EMERGENCY] destination_number(05492122) =~ /^0(112|9[23456])$/ break=on-false<br>Dialplan: sofia/internal/1001@singtel parsing [default->SPECIAL_SERVICES] continue=false<br>
Dialplan: sofia/internal/1001@singtel Regex (FAIL) [SPECIAL_SERVICES] destination_number(05492122) =~ /^0(9[01789]\d{3,4})$/ break=on-false<br>Dialplan: sofia/internal/1001@singtel parsing [default->ENYTHING_ELSE] continue=false<br>
Dialplan: sofia/internal/1001@singtel Regex (PASS) [ENYTHING_ELSE] destination_number(05492122) =~ /^0([2-8]\d{6,7}|0[1-9]\d{7,8}|00[1-9]\d{8,16})$/ break=on-false<br>Dialplan: sofia/internal/1001@singtel Action set(effective_caller_id_number=1001282122)<br>
Dialplan: sofia/internal/1001@singtel Action set(NCX_IP=10.4.4.254)<br>Dialplan: sofia/internal/1001@singtel Action set(call_timeout=30)<br>Dialplan: sofia/internal/1001@singtel Action set(hangup_after_bridge=true)<br>Dialplan: sofia/internal/1001@singtel Action set(bypass_media=false)<br>
Dialplan: sofia/internal/1001@singtel Action set(proxy_media=true)<br>Dialplan: sofia/internal/1001@singtel Action bridge(h323/05492122@${NCX_IP})<br>2009-10-21 17:35:28.682475 [DEBUG] switch_core_state_machine.c:114 (sofia/internal/1001@singtel) State Change CS_ROUTING -> CS_EXECUTE<br>
2009-10-21 17:35:28.682475 [DEBUG] switch_core_session.c:932 Send signal sofia/internal/1001@singtel [BREAK]<br>2009-10-21 17:35:28.682475 [DEBUG] switch_core_state_machine.c:484 (sofia/internal/1001@singtel) State ROUTING going to sleep<br>
2009-10-21 17:35:28.682475 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/1001@singtel) Running State Change CS_EXECUTE<br>2009-10-21 17:35:28.682475 [DEBUG] switch_core_state_machine.c:491 (sofia/internal/1001@singtel) State EXECUTE<br>
2009-10-21 17:35:28.682475 [DEBUG] mod_sofia.c:173 sofia/internal/1001@singtel SOFIA EXECUTE<br>2009-10-21 17:35:28.682475 [DEBUG] switch_core_state_machine.c:151 sofia/internal/1001@singtel Standard EXECUTE<br>EXECUTE sofia/internal/1001@singtel set(open=true)<br>
2009-10-21 17:35:28.682475 [DEBUG] mod_dptools.c:748 sofia/internal/1001@singtel SET [open]=[true]<br>EXECUTE sofia/internal/1001@singtel hash(insert/10.4.62.7-spymap/1001/5c3ebda2-be57-11de-a6dd-e7de0b74bdc9)<br>EXECUTE sofia/internal/1001@singtel hash(insert/10.4.62.7-last_dial/1001/05492122)<br>
EXECUTE sofia/internal/1001@singtel hash(insert/10.4.62.7-last_dial/global/5c3ebda2-be57-11de-a6dd-e7de0b74bdc9)<br>EXECUTE sofia/internal/1001@singtel set(effective_caller_id_number=1001282122)<br>2009-10-21 17:35:28.685219 [DEBUG] mod_dptools.c:748 sofia/internal/1001@singtel SET [effective_caller_id_number]=[1001282122]<br>
EXECUTE sofia/internal/1001@singtel set(NCX_IP=10.4.4.254)<br>2009-10-21 17:35:28.685219 [DEBUG] mod_dptools.c:748 sofia/internal/1001@singtel SET [NCX_IP]=[10.4.4.254]<br>EXECUTE sofia/internal/1001@singtel set(call_timeout=30)<br>
2009-10-21 17:35:28.686292 [DEBUG] mod_dptools.c:748 sofia/internal/1001@singtel SET [call_timeout]=[30]<br>EXECUTE sofia/internal/1001@singtel set(hangup_after_bridge=true)<br>2009-10-21 17:35:28.686292 [DEBUG] mod_dptools.c:748 sofia/internal/1001@singtel SET [hangup_after_bridge]=[true]<br>
EXECUTE sofia/internal/1001@singtel set(bypass_media=false)<br>2009-10-21 17:35:28.686292 [DEBUG] mod_dptools.c:748 sofia/internal/1001@singtel SET [bypass_media]=[false]<br>EXECUTE sofia/internal/1001@singtel set(proxy_media=true)<br>
2009-10-21 17:35:28.686292 [DEBUG] mod_dptools.c:748 sofia/internal/1001@singtel SET [proxy_media]=[true]<br>EXECUTE sofia/internal/1001@singtel bridge(h323/<a href="mailto:05492122@10.4.4.254">05492122@10.4.4.254</a>)<br>
2009-10-21 17:35:28.687357 [DEBUG] mod_h323.cpp:1380 ======>create_outgoing_channel DST NUMBER = <a href="mailto:05492122@10.4.4.254">05492122@10.4.4.254</a><br>2009-10-21 17:35:28.687357 [DEBUG] mod_h323.cpp:1336 ======>FSH323EndPoint::FSMakeCall DST NUMBER = <a href="mailto:05492122@10.4.4.254">05492122@10.4.4.254</a> [FSH323EndPoint]<br>
2009-10-21 17:35:28.687357 [DEBUG] mod_h323.cpp:1348 ----> Using 10.4.62.7 for outbound call<br>2009-10-21 17:35:28.687357 [DEBUG] pdns.cxx:498 SRV Lookup 10.4.4.254 service _h323cs._tcp.<br>2009-10-21 17:35:28.689538 [DEBUG] pdns.cxx:471 SRV Lookup Fail no domain <a href="mailto:h323%3A05492122@10.4.4.254">h323:05492122@10.4.4.254</a><br>
2009-10-21 17:35:28.689538 [DEBUG] h323ep.cxx:2315 DNS SRV Cannot resolve remote party <a href="mailto:05492122@10.4.4.254">05492122@10.4.4.254</a><br>2009-10-21 17:35:28.689538 [DEBUG] h323ep.cxx:2103 Making call to: <a href="mailto:05492122@10.4.4.254">05492122@10.4.4.254</a><br>
2009-10-21 17:35:28.689538 [DEBUG] mod_h323.cpp:483 ======>FSH323EndPoint::CreateConnection callReference = 12651 userDate = 0xb5e0dac0 [FSH323EndPoint]<br>2009-10-21 17:35:28.689538 [DEBUG] mod_h323.cpp:486 ------> SWITCH_CALL_DIRECTION_OUTBOUND<br>
2009-10-21 17:35:28.689538 [DEBUG] mod_h323.cpp:496 ------> fsSession = 0xb7569548<br>2009-10-21 17:35:28.689538 [DEBUG] h323caps.cxx:3186 Added capability: G.711-ALaw-64k <1><br>2009-10-21 17:35:28.689538 [DEBUG] h323caps.cxx:3186 Added capability: G.711-uLaw-64k <2><br>
2009-10-21 17:35:28.689538 [DEBUG] h323caps.cxx:3186 Added capability: GSM-06.10{sw} <3><br>2009-10-21 17:35:28.689538 [DEBUG] h323caps.cxx:3186 Added capability: G.729A/B{sw} <4><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: G.729A{sw} <5><br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: G.729B{sw} <6><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: G.729{sw} <7><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: UserInput/hookflash <8><br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: UserInput/basicString <9><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: UserInput/dtmf <10><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: UserInput/RFC2833 <11><br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: UserInput/Navigation <12><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: UserInput/Softkey <13><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: UserInput/PointDevice <14><br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3186 Added capability: UserInput/Modal <15><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 1<br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: G.711-ALaw-64k <1><br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 2<br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: G.711-uLaw-64k <2><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 3<br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: GSM-06.10{sw} <3><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 4<br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: G.729A/B{sw} <4><br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 5<br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: G.729A{sw} <5><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 6<br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: G.729B{sw} <6><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 7<br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: G.729{sw} <7><br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 8<br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/hookflash <8><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 9<br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/basicString <9><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 10<br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/dtmf <10><br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 11<br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/RFC2833 <11><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 12<br>
2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/Navigation <12><br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3248 FindCapability: 13<br>2009-10-21 17:35:28.690630 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/Softkey <13><br>
2009-10-21 17:35:28.691688 [DEBUG] h323caps.cxx:3248 FindCapability: 14<br>2009-10-21 17:35:28.691688 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/PointDevice <14><br>2009-10-21 17:35:28.691688 [DEBUG] h323caps.cxx:3248 FindCapability: 15<br>
2009-10-21 17:35:28.691688 [DEBUG] h323caps.cxx:3252 Found capability: UserInput/Modal <15><br>2009-10-21 17:35:28.691688 [DEBUG] h4601.cxx:1725 Endpoint Attached<br>2009-10-21 17:35:28.691688 [DEBUG] rfc2833.cxx:87 Handler created<br>
2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:525 ======>FSH323Connection::FSH323Connection FSH323Connection<br>2009-10-21 17:35:28.691688 [NOTICE] switch_channel.c:602 New Channel h323/<a href="mailto:05492122@10.4.4.254">05492122@10.4.4.254</a> [5c413af0-be57-11de-a6dd-e7de0b74bdc9]<br>
2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:546 (h323/<a href="mailto:05492122@10.4.4.254">05492122@10.4.4.254</a>) State Change CS_NEW -> CS_INIT<br>2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:958 ======>FSH323Connection::state_change FSH323Connection<br>
2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:959 State changed on connection FSH323Connection<br>2009-10-21 17:35:28.691688 [DEBUG] switch_core_session.c:932 Send signal h323/<a href="mailto:05492122@10.4.4.254">05492122@10.4.4.254</a> [BREAK]<br>
2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:831 ======>FSH323Connection::kill_channel FSH323Connection<br>2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:832 Kill 3 on connection FSH323Connection<br>2009-10-21 17:35:28.691688 [DEBUG] h323ep.cxx:2183 Created new connection: ip$localhost/12651<br>
2009-10-21 17:35:28.691688 [DEBUG] osutil.cxx:188 File handle high water mark set: 58 Thread unblock pipe<br>2009-10-21 17:35:28.691688 [DEBUG] h323ep.cxx:1101 Started call thread<br><span style="background-color: rgb(255, 255, 0);">2009-10-21 17:35:28.691688 [CRIT] switch_core_state_machine.c:239 Obtained 10 stack frames.</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">/usr/local/freeswitch/lib/libfreeswitch.so.1 [0xb7f511f5]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">[0xb80be400]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">/usr/local/freeswitch/mod/mod_h323.so [0xb6953cc9]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_core_session_outgoing_channel+0x1ad) [0xb7f4f59d]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_ivr_originate+0x1b2b) [0xb7f7aa1b]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">/usr/local/freeswitch/mod/mod_dptools.so [0xb70ea2d5]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_core_session_exec+0x284) [0xb7f4c5a4]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_core_session_execute_application+0x8b) [0xb7f4cacb]</span><br style="background-color: rgb(255, 255, 0);">
<span style="background-color: rgb(255, 255, 0);">/usr/local/freeswitch/lib/libfreeswitch.so.1(switch_core_session_run+0x12b8) [0xb7f52658]</span><br style="background-color: rgb(255, 255, 0);"><span style="background-color: rgb(255, 255, 0);">/usr/local/freeswitch/lib/libfreeswitch.so.1 [0xb7f4e6c5]</span><br>
2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:509 ======>FSH323EndPoint::OnSetGatewayPrefixes FSH323EndPoint<br>2009-10-21 17:35:28.691688 [CRIT] switch_core_state_machine.c:352 Thread has crashed for channel sofia/internal/1001@singtel<br>
2009-10-21 17:35:28.691688 [NOTICE] switch_core_state_machine.c:353 Hangup sofia/internal/1001@singtel [CS_EXECUTE] [CRASH]<br>2009-10-21 17:35:28.691688 [DEBUG] transports.cxx:1828 Connecting to <a href="http://10.4.4.254:1720">10.4.4.254:1720</a> (local port=0)<br>
2009-10-21 17:35:28.691688 [DEBUG] osutil.cxx:188 File handle high water mark set: 59 PTCPSocket<br>2009-10-21 17:35:28.691688 [DEBUG] switch_channel.c:1683 Send signal sofia/internal/1001@singtel [KILL]<br>2009-10-21 17:35:28.691688 [DEBUG] switch_core_session.c:932 Send signal sofia/internal/1001@singtel [BREAK]<br>
2009-10-21 17:35:28.691688 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/1001@singtel) Running State Change CS_HANGUP<br>2009-10-21 17:35:28.691688 [DEBUG] transports.cxx:1681 Started connection: host=<a href="http://10.4.4.254:1720">10.4.4.254:1720</a>, if=<a href="http://10.4.62.7:52984">10.4.62.7:52984</a>, handle=59<br>
2009-10-21 17:35:28.691688 [DEBUG] h323.cxx:2680 Sending Setup PDU<br>2009-10-21 17:35:28.691688 [DEBUG] switch_core_state_machine.c:434 (sofia/internal/1001@singtel) State HANGUP<br>2009-10-21 17:35:28.691688 [DEBUG] mod_sofia.c:338 Channel sofia/internal/1001@singtel hanging up, cause: CRASH<br>
2009-10-21 17:35:28.691688 [DEBUG] mod_sofia.c:417 Responding to INVITE with: 480<br>2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:559 ======>FSH323Connection::OnSetLocalCapabilities() [FSH323Connection]<br>2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:565 ======>FSH323Connection::SetLocalCapabilities() Size local capability = 15 [FSH323Connection]<br>
2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:600 ======>FSH323Connection::decodeCapability<br>2009-10-21 17:35:28.691688 [INFO] mod_h323.cpp:619 capability 'G.711-ALaw-64k' format 'PCMU' payload 8<br>
2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:600 ======>FSH323Connection::decodeCapability<br>2009-10-21 17:35:28.691688 [INFO] mod_h323.cpp:619 capability 'G.711-uLaw-64k' format 'PCMA' payload 0<br>
2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:600 ======>FSH323Connection::decodeCapability<br>2009-10-21 17:35:28.691688 [INFO] mod_h323.cpp:619 capability 'GSM-06.10' format 'GSM' payload 3<br>2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:600 ======>FSH323Connection::decodeCapability<br>
2009-10-21 17:35:28.691688 [INFO] mod_h323.cpp:619 capability 'G.729A/B' format 'G729' payload 18<br>2009-10-21 17:35:28.691688 [DEBUG] switch_core_state_machine.c:46 sofia/internal/1001@singtel Standard HANGUP, cause: CRASH<br>
2009-10-21 17:35:28.691688 [DEBUG] switch_core_state_machine.c:434 (sofia/internal/1001@singtel) State HANGUP going to sleep<br>2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:600 ======>FSH323Connection::decodeCapability<br>
2009-10-21 17:35:28.691688 [INFO] mod_h323.cpp:619 capability 'G.729A' format 'G729' payload 18<br>2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:600 ======>FSH323Connection::decodeCapability<br>2009-10-21 17:35:28.691688 [INFO] mod_h323.cpp:619 capability 'G.729B' format 'G729b' payload 18<br>
2009-10-21 17:35:28.691688 [DEBUG] mod_h323.cpp:600 ======>FSH323Connection::decodeCapability<br><br><br><br>Well, I'm not sure if the backtrace is from 1.0.4 ... i will disable crass-protection and will send new logs to you.<br>
<br><br>Also, if you like i can give you access to the machine itself...<br><br>T.<br>