<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Client gets hang-up after 32 seconds</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>This is probably a NAT issue where the FS isnt getting that ACK for the 200 OK in the sip messaging.<BR>
<BR>
To confirm this enable sip tracing in sofia<BR>
fs_cli> sofia global siptrace on<BR>
<BR>
Also setting high priority on an email to this list is not a desirable thing to do as it will get most people to ignore your emails. If in the future you require immediate attention, I would contact <a href="consulting@freeswitch.org">consulting@freeswitch.org</a> for paid immediate support.<BR>
<BR>
Thank<BR>
K<BR>
<BR>
<BR>
<BR>
On 4/27/15, 8:33 AM, "Charles Bujold" <<a href="cjbujold@accra.ca">cjbujold@accra.ca</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Calibri, Verdana, Helvetica, Arial">We have an extension that we can call and can talk with no problems. However if the extension calls us, he gets connected and we can only talk for 32 seconds before the call gets terminated. We looked at the log and are unable to identify the reason why he cannot call us but that we can call him. The error seems to be that when he calls Freeswitch for some reason sets a timeout of 30 seconds (</FONT></SPAN><FONT FACE="Calibri, Verdana, Helvetica, Arial"><FONT SIZE="1"><SPAN STYLE='font-size:9pt'>Setting leg timeout to 30) See log below.<BR>
</SPAN></FONT><SPAN STYLE='font-size:11pt'> <BR>
Please help. How can we fix this? <BR>
Thanks<BR>
</SPAN><FONT SIZE="2"><SPAN STYLE='font-size:10pt'><B>Charles <BR>
</B></SPAN></FONT><SPAN STYLE='font-size:11pt'> <BR>
</SPAN><FONT SIZE="1"><SPAN STYLE='font-size:9pt'>6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 o=FreeSWITCH 1430114648 1430114650 IN IP4 156.34.240.101<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 s=FreeSWITCH<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 c=IN IP4 156.34.240.101<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 t=0 0<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 m=audio 25974 RTP/AVP 0 101<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=rtpmap:0 PCMU/8000<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=rtpmap:101 telephone-event/8000<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=fmtp:101 0-16<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=ptime:20<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 a=sendrecv<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 <BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:908 Send signal <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> [BREAK]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:1053 Send signal <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> [BREAK]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [NOTICE] switch_ivr_originate.c:3522 Channel [<a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a>] has been answered<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_channel.c:3689 (<a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a>) Callstate Change EARLY -> ACTIVE<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] sofia.c:6614 Channel <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> entering state [completed][200]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_ivr_originate.c:3580 Originate Resulted in Success: [sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_ivr_originate.c:2847 sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a> Setting leg timeout to 30<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_ivr_originate.c:3580 Originate Resulted in Success: [sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>]<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:908 Send signal sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a> [BREAK]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:908 Send signal <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> [BREAK]<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_ivr_bridge.c:1465 (sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a> [BREAK]<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>) Running State Change CS_EXCHANGE_MEDIA<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] switch_core_state_machine.c:538 (sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>) State EXCHANGE_MEDIA<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.785852 [DEBUG] mod_sofia.c:594 SOFIA EXCHANGE_MEDIA<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:04.845827 [DEBUG] switch_rtp.c:5853 Correct ip/port confirmed.<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.785826 [DEBUG] switch_core_session.c:1053 Send signal <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> [BREAK]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.785826 [DEBUG] switch_core_session.c:1053 Send signal <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> [BREAK]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] sofia.c:6614 Channel <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> entering state [terminating][0]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [NOTICE] sofia.c:7530 Hangup <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> [CS_EXECUTE] [NORMAL_UNSPECIFIED]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] switch_channel.c:3222 Send signal <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> [KILL]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] mod_hash.c:298 Usage for 192.168.20.153_200 is now 0<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] switch_core_session.c:1388 Send signal <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> [BREAK]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.805822 [DEBUG] switch_ivr_bridge.c:660 BRIDGE THREAD DONE [<a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a>]<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.805822 [DEBUG] switch_ivr_bridge.c:690 Send signal sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a> [BREAK]<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:579 <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> ending bridge by request from write function<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:660 BRIDGE THREAD DONE [sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>]<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:690 Send signal <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> [BREAK]<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [NOTICE] switch_ivr_bridge.c:754 Hangup sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a> [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING]<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a> [KILL]<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_session.c:1388 Send signal sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a> [BREAK]<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_state_machine.c:538 (sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>) State EXCHANGE_MEDIA going to sleep<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_state_machine.c:472 (sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>) Running State Change CS_HANGUP<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_state_machine.c:735 (sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>) Callstate Change ACTIVE -> HANGUP<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:1563 sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a> skip receive message [UNBRIDGE] (channel is hungup already)<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.825829 [DEBUG] switch_ivr_bridge.c:1566 <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> skip receive message [UNBRIDGE] (channel is hungup already)<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] switch_core_state_machine.c:737 (sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a>) State HANGUP<BR>
b8e098cc-82a9-4128-992e-a21690707fb3 2015-04-27 10:17:36.825829 [DEBUG] mod_sofia.c:413 Channel sofia/internal/sip:<a href="200@192.168.20.150:5060">200@192.168.20.150:5060</a> hanging up, cause: NORMAL_CLEARING<BR>
6d0e7ed5-6078-4a31-9d6e-0e7d239c3579 2015-04-27 10:17:36.825829 [DEBUG] switch_core_session.c:2893 <a href="sofia/internal/425@192.168.20.153">sofia/internal/425@192.168.20.153</a> skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)<BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services: <BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
Twitter: @FreeSWITCH<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>