rtp timeout and call hangs up
Hello, A leg local extension (codec GSM) -----> B leg local extension (codec PCMU) rtp timeout after 300 sec the call hangs up, I can ear audio and no problem of configuration. did I forget to set anything ? below the sip trace : ACK sip:1001@67.xx.xx.138:5060;transport=udp SIP/2.0 Content-Length: 0 Via: SIP/2.0/UDP 67.xx.xx.138:62690;rport;branch=z9hG4bK4t7xGwrintJDYr4HPfz0UQ.. From: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 To: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF Contact: <sip:1000@67.xx.xx.138:62690> CSeq: 1 ACK Max-Forwards: 70 Call-ID: 2053375473@67.xx.xx.138 ------------------------------------------------------------------------ 2010-02-23 02:02:19.649316 [NOTICE] mod_sofia.c:853 Hangup sofia/external/1000@67.xx.xx.138:5080 [CS_EXECUTE] [MEDIA_TIMEOUT] 2010-02-23 02:02:19.649316 [NOTICE] switch_ivr_bridge.c:634 Hangup sofia/internal/sip:1001@70.81.84.218:2249 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] send 622 bytes to udp/[67.xx.xx.138]:62690 at 07:02:19.653239: ------------------------------------------------------------------------ BYE sip:1000@67.xx.xx.138:62690 SIP/2.0 Via: SIP/2.0/UDP 67.xx.xx.138;rport;branch=z9hG4bK790g187j50eNF Max-Forwards: 70 From: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF To: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 Call-ID: 2053375473@67.xx.xx.138 CSeq: 127335933 BYE Contact: <sip:1001@67.xx.xx.138:5060;transport=udp> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16676M Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY Supported: timer, precondition, path, replaces Reason: FreeSWITCH;cause=604;text="MEDIA_TIMEOUT" Content-Length: 0 ------------------------------------------------------------------------ 2010-02-23 02:02:19.649316 [NOTICE] switch_core_session.c:1179 Session 5 (sofia/external/1000@67.xx.xx.138:5080) Ended 2010-02-23 02:02:19.649316 [NOTICE] switch_core_session.c:1181 Close Channel sofia/external/1000@67.xx.xx.138:5080 [CS_DESTROY] recv 289 bytes from udp/[67.xx.xx.138]:62690 at 07:02:19.656927: ------------------------------------------------------------------------ SIP/2.0 200 OK Content-Length: 0 Via: SIP/2.0/UDP 67.xx.xx.138;rport=5060;branch=z9hG4bK790g187j50eNF From: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF To: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 CSeq: 127335933 BYE Call-ID: 2053375473@67.xx.xx.138 ------------------------------------------------------------------------ recv 391 bytes from udp/[67.xx.xx.138]:62690 at 07:02:19.660173: ------------------------------------------------------------------------ BYE sip:1001@67.xx.xx.138:5060;transport=udp SIP/2.0 Content-Length: 0 Via: SIP/2.0/UDP 67.xx.xx.138:62690;rport;branch=z9hG4bKGTIQmsc5dUvSdP0ZtJFKcA.. From: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 To: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF Contact: <sip:1000@67.xx.xx.138:62690> CSeq: 2 BYE Max-Forwards: 70 Call-ID: 2053375473@67.xx.xx.138 ------------------------------------------------------------------------ send 505 bytes to udp/[67.xx.xx.138]:62690 at 07:02:19.660607: ------------------------------------------------------------------------ SIP/2.0 481 Call Does Not Exist Via: SIP/2.0/UDP 67.xx.xx.138:62690;rport=62690;branch=z9hG4bKGTIQmsc5dUvSdP0ZtJFKcA.. From: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 To: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF Call-ID: 2053375473@67.xx.xx.138 CSeq: 2 BYE User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16676M Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY Supported: timer, precondition, path, replaces Content-Length: 0 ------------------------------------------------------------------------ send 669 bytes to udp/[70.81.84.218]:2249 at 07:02:19.869656: ------------------------------------------------------------------------ BYE sip:1001@70.81.84.218:2249;rinstance=f17f8a2dd028c23d SIP/2.0 Via: SIP/2.0/UDP 67.xx.xx.138:5080;rport;branch=z9hG4bKQ1y6QNQ56aDDS Max-Forwards: 70 From: "1000" <sip:1000@67.xx.xx.138>;tag=SK3p6Frt5pa7D To: <sip:1001@70.81.84.218:2249;rinstance=f17f8a2dd028c23d>;tag=df099549 Call-ID: 263d4030-9aec-122d-6d87-00e0ed0b00c2 CSeq: 127335918 BYE Contact: <sip:mod_sofia@67.xx.xx.138:5080> User-Agent: FreeSWITCH and Rock! Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Reason: Q.850;cause=16;text="NORMAL_CLEARING" Content-Length: 0 ------------------------------------------------------------------------ 2010-02-23 02:02:19.869666 [NOTICE] switch_core_session.c:1179 Session 6 (sofia/internal/sip:1001@70.81.84.218:2249) Ended 2010-02-23 02:02:19.869666 [NOTICE] switch_core_session.c:1181 Close Channel sofia/internal/sip:1001@70.81.84.218:2249 [CS_DESTROY] recv 411 bytes from udp/[70.81.84.218]:2249 at 07:02:19.986415: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 67.xx.xx.138:5080;rport=5080;branch=z9hG4bKQ1y6QNQ56aDDS Contact: <sip:1001@70.81.84.218:2249;rinstance=f17f8a2dd028c23d> To: <sip:1001@70.81.84.218:2249;rinstance=f17f8a2dd028c23d>;tag=df099549 From: "1000"<sip:1000@67.xx.xx.138>;tag=SK3p6Frt5pa7D Call-ID: 263d4030-9aec-122d-6d87-00e0ed0b00c2 CSeq: 127335918 BYE User-Agent: 3CXPhone 4.0.10858.0 Content-Length: 0 ------------------------------------------------------------------------ Thanks Franck
Hi Franck, Sorry, you haven't provided enough of the trace or logs to see the reason for the timeout. To hazard a guess though... are you using RTP in bypass media mode? If so RTP won't go via the switch, so it won't see any RTP for the call even though media's working - FS will then end the call if rtp-timeout-sec is set in sofia.conf.xml. Regards, -Steve On 23 February 2010 07:06, Madovsky <infos@madovsky.org> wrote:
Hello,
A leg local extension (codec GSM) -----> B leg local extension (codec PCMU) rtp timeout after 300 sec the call hangs up, I can ear audio and no problem of configuration. did I forget to set anything ?
below the sip trace :
ACK sip:1001@67.xx.xx.138:5060;transport=udp SIP/2.0 Content-Length: 0 Via: SIP/2.0/UDP 67.xx.xx.138:62690;rport;branch=z9hG4bK4t7xGwrintJDYr4HPfz0UQ.. From: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 To: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF Contact: <sip:1000@67.xx.xx.138:62690> CSeq: 1 ACK Max-Forwards: 70 Call-ID: 2053375473@67.xx.xx.138
------------------------------------------------------------------------ 2010-02-23 02:02:19.649316 [NOTICE] mod_sofia.c:853 Hangup sofia/external/1000@67.xx.xx.138:5080 [CS_EXECUTE] [MEDIA_TIMEOUT] 2010-02-23 02:02:19.649316 [NOTICE] switch_ivr_bridge.c:634 Hangup sofia/internal/sip:1001@70.81.84.218:2249 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] send 622 bytes to udp/[67.xx.xx.138]:62690 at 07:02:19.653239: ------------------------------------------------------------------------ BYE sip:1000@67.xx.xx.138:62690 SIP/2.0 Via: SIP/2.0/UDP 67.xx.xx.138;rport;branch=z9hG4bK790g187j50eNF Max-Forwards: 70 From: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF To: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 Call-ID: 2053375473@67.xx.xx.138 CSeq: 127335933 BYE Contact: <sip:1001@67.xx.xx.138:5060;transport=udp> User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16676M Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY Supported: timer, precondition, path, replaces Reason: FreeSWITCH;cause=604;text="MEDIA_TIMEOUT" Content-Length: 0
------------------------------------------------------------------------ 2010-02-23 02:02:19.649316 [NOTICE] switch_core_session.c:1179 Session 5 (sofia/external/1000@67.xx.xx.138:5080) Ended 2010-02-23 02:02:19.649316 [NOTICE] switch_core_session.c:1181 Close Channel sofia/external/1000@67.xx.xx.138:5080 [CS_DESTROY] recv 289 bytes from udp/[67.xx.xx.138]:62690 at 07:02:19.656927: ------------------------------------------------------------------------ SIP/2.0 200 OK Content-Length: 0 Via: SIP/2.0/UDP 67.xx.xx.138;rport=5060;branch=z9hG4bK790g187j50eNF From: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF To: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 CSeq: 127335933 BYE Call-ID: 2053375473@67.xx.xx.138
------------------------------------------------------------------------ recv 391 bytes from udp/[67.xx.xx.138]:62690 at 07:02:19.660173: ------------------------------------------------------------------------ BYE sip:1001@67.xx.xx.138:5060;transport=udp SIP/2.0 Content-Length: 0 Via: SIP/2.0/UDP 67.xx.xx.138:62690;rport;branch=z9hG4bKGTIQmsc5dUvSdP0ZtJFKcA.. From: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 To: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF Contact: <sip:1000@67.xx.xx.138:62690> CSeq: 2 BYE Max-Forwards: 70 Call-ID: 2053375473@67.xx.xx.138
------------------------------------------------------------------------ send 505 bytes to udp/[67.xx.xx.138]:62690 at 07:02:19.660607: ------------------------------------------------------------------------ SIP/2.0 481 Call Does Not Exist Via: SIP/2.0/UDP 67.xx.xx.138:62690;rport=62690;branch=z9hG4bKGTIQmsc5dUvSdP0ZtJFKcA.. From: "1000" <sip:1000@67.xx.xx.138:5080>;tag=52834814554 To: "Extension 1001" <sip:1001@67.xx.xx.138>;tag=3SKarSKZB63DF Call-ID: 2053375473@67.xx.xx.138 CSeq: 2 BYE User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-16676M Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY Supported: timer, precondition, path, replaces Content-Length: 0
------------------------------------------------------------------------ send 669 bytes to udp/[70.81.84.218]:2249 at 07:02:19.869656: ------------------------------------------------------------------------ BYE sip:1001@70.81.84.218:2249;rinstance=f17f8a2dd028c23d SIP/2.0 Via: SIP/2.0/UDP 67.xx.xx.138:5080;rport;branch=z9hG4bKQ1y6QNQ56aDDS Max-Forwards: 70 From: "1000" <sip:1000@67.xx.xx.138>;tag=SK3p6Frt5pa7D To: <sip:1001@70.81.84.218:2249;rinstance=f17f8a2dd028c23d>;tag=df099549 Call-ID: 263d4030-9aec-122d-6d87-00e0ed0b00c2 CSeq: 127335918 BYE Contact: <sip:mod_sofia@67.xx.xx.138:5080> User-Agent: FreeSWITCH and Rock! Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, precondition, path, replaces Reason: Q.850;cause=16;text="NORMAL_CLEARING" Content-Length: 0
------------------------------------------------------------------------ 2010-02-23 02:02:19.869666 [NOTICE] switch_core_session.c:1179 Session 6 (sofia/internal/sip:1001@70.81.84.218:2249) Ended 2010-02-23 02:02:19.869666 [NOTICE] switch_core_session.c:1181 Close Channel sofia/internal/sip:1001@70.81.84.218:2249 [CS_DESTROY] recv 411 bytes from udp/[70.81.84.218]:2249 at 07:02:19.986415: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 67.xx.xx.138:5080;rport=5080;branch=z9hG4bKQ1y6QNQ56aDDS Contact: <sip:1001@70.81.84.218:2249;rinstance=f17f8a2dd028c23d> To: <sip:1001@70.81.84.218:2249;rinstance=f17f8a2dd028c23d>;tag=df099549 From: "1000"<sip:1000@67.xx.xx.138>;tag=SK3p6Frt5pa7D Call-ID: 263d4030-9aec-122d-6d87-00e0ed0b00c2 CSeq: 127335918 BYE User-Agent: 3CXPhone 4.0.10858.0 Content-Length: 0
------------------------------------------------------------------------
Thanks
Franck
_______________________________________________ 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
participants (2)
-
Madovsky
-
Steven Ayre