[Freeswitch-users] Please Help! CANCEL 481 Problem Call dons't hunup

Anthony Minessale anthony.minessale at gmail.com
Sat Jul 30 00:57:03 MSD 2011


1) You did not try the latest trunk before reporting an issue.
2) You are reporting a bug on the mailing list please see
http://jira.freeswitch.org
3) You need to get a trace of the FS console
    sofia global siptrace on first
4) At quick glance, it looks like you are sending a cancel to a
channel that has already been answered so you are having some kind of
nat problem where the 200ok from FS is not reaching the caller.
5) in case you forgot point 1, try latest git


2011/7/29 Leo <leo at megapin.com>:
> Hi:
>
> I have an issue with FS connected to a SIP gateway. After the Freeswitch
> update(FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05 -0500).
>
> When I receive a call from the SIP Gateway and try to hangup with
> "CANCEL" message the call before he call is answered,
>
> Our freeswitch replay  SIP 481 Call Transaction does not exist.
>
> Please help!
>
> Leo Liu
> ---------------------------------------------------------------
> INVITE sip:9501351350010 at 38.106.1.72 SIP/2.0
> Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236
> From: "calling from"
> <sip:8675582928388 at 204.110.11.29>;tag=s020ruan0236DvX9t53Sti02361311730236T6
> To: "9501351350010" <sip:9501351350010 at 38.106.1.72>
> Call-ID: ID236ThB-18461-236-2NeaL at 204.110.11.29
> Contact: <sip:8675582928388 at 204.110.11.29:5060>
> CSeq: 237 INVITE
> Max-Forwards: 70
> User-Agent: ABC-Phone
> Supported: replaces
> Content-Type: application/sdp
> Content-Length: 141
>
> v=0
> o=- 34791986 84556339 IN IP4 204.110.11.29
> s=SIP CALL
> c=IN IP4 204.110.11.29
> t=0 0
> m=audio 35974 RTP/AVP 18
> a=rtpmap:18 G729/8000
>
> -----------------------------------------------------------------------------------------------------
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236
> From: "calling from"
> <sip:8675582928388 at 204.110.11.29>;tag=s020ruan0236DvX9t53Sti02361311730236T6
> To: "9501351350010" <sip:9501351350010 at 38.106.1.72>
> Call-ID: ID236ThB-18461-236-2NeaL at 204.110.11.29
> CSeq: 237 INVITE
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05
> -0500
> Content-Length: 0
>
> -----------------------------------------------------------------------------------------------------
> INVITE sip:88359501351350010 at 38.106.1.83 SIP/2.0
> Via: SIP/2.0/UDP 38.106.1.72:5080;rport;branch=z9hG4bKBvFBUj7NNcQ1B
> Max-Forwards: 69
> From: "calling from" <sip:8675582928388 at 38.106.1.72>;tag=9r2ScyaN12DpB
> To: <sip:88359501351350010 at 38.106.1.83>
> Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55
> CSeq: 15529052 INVITE
> Contact: <sip:mod_sofia at 38.106.1.72:5080>
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05
> -0500
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER,
> REFER, NOTIFY
> Supported: timer, precondition, path, replaces
> Allow-Events: talk, hold, refer
> Content-Type: application/sdp
> Content-Disposition: session
> Content-Length: 141
> X-FS-Support: update_display
> Remote-Party-ID: "calling from"
> <sip:8675582928388 at 38.106.1.72>;party=calling;screen=yes;privacy=off
>
> v=0
> o=- 34791986 84556339 IN IP4 204.110.11.29
> s=SIP CALL
> c=IN IP4 204.110.11.29
> t=0 0
> m=audio 35974 RTP/AVP 18
> a=rtpmap:18 G729/8000
>
> -----------------------------------------------------------------------------------------------------
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP 38.106.1.72:5080;rport;branch=z9hG4bKBvFBUj7NNcQ1B
> From: "calling from" <sip:8675582928388 at 38.106.1.72>;tag=9r2ScyaN12DpB
> To: <sip:88359501351350010 at 38.106.1.83>;tag=7DAE5EAC-1DD0
> Date: Fri, 11 Aug 2000 05:54:04 GMT
> Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55
> Server: Cisco-SIPGateway/IOS-12.x
> CSeq: 15529052 INVITE
> Allow-Events: telephone-event
> Content-Length: 0
>
> -----------------------------------------------------------------------------------------------------
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 38.106.1.72:5080;rport;branch=z9hG4bKBvFBUj7NNcQ1B
> From: "calling from" <sip:8675582928388 at 38.106.1.72>;tag=9r2ScyaN12DpB
> To: <sip:88359501351350010 at 38.106.1.83>;tag=7DAE5EAC-1DD0
> Date: Fri, 11 Aug 2000 05:54:04 GMT
> Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55
> Server: Cisco-SIPGateway/IOS-12.x
> CSeq: 15529052 INVITE
> Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE,
> NOTIFY, INFO, UPDATE, REGISTER
> Allow-Events: telephone-event
> Contact: <sip:88359501351350010 at 38.106.1.83:5060>
> Content-Type: application/sdp
> Content-Length: 200
>
> v=0
> o=CiscoSystemsSIP-GW-UserAgent 8984 5356 IN IP4 38.106.1.83
> s=SIP Call
> c=IN IP4 38.106.1.83
> t=0 0
> m=audio 17050 RTP/AVP 18
> c=IN IP4 38.106.1.83
> a=rtpmap:18 G729/8000
> a=fmtp:18 annexb=yes
>
>
>
> ACK sip:88359501351350010 at 38.106.1.83:5060 SIP/2.0
> Via: SIP/2.0/UDP 38.106.1.72:5080;rport;branch=z9hG4bKc583vDrSjNDmQ
> Max-Forwards: 70
> From: "calling from" <sip:8675582928388 at 38.106.1.72>;tag=9r2ScyaN12DpB
> To: <sip:88359501351350010 at 38.106.1.83>;tag=7DAE5EAC-1DD0
> Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55
> CSeq: 15529052 ACK
> Contact: <sip:mod_sofia at 38.106.1.72:5080>
> Content-Length: 0
>
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236
> From: "calling from"
> <sip:8675582928388 at 204.110.11.29>;tag=s020ruan0236DvX9t53Sti02361311730236T6
> To: "9501351350010" <sip:9501351350010 at 38.106.1.72>;tag=ZD2XZveKXjHFc
> Call-ID: ID236ThB-18461-236-2NeaL at 204.110.11.29
> CSeq: 237 INVITE
> Contact: <sip:9501351350010 at 38.106.1.72:5060;transport=udp>
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05
> -0500
> Accept: application/sdp
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER,
> REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, precondition, path, replaces
> Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla,
> include-session-description, presence.winfo, message-summary, refer
> Content-Type: application/sdp
> Content-Disposition: session
> Content-Length: 200
> Remote-Party-ID: "Outbound Call"
> <sip:88359501351350010 at 38.106.1.72>;party=calling;privacy=off;screen=no
>
> v=0
> o=CiscoSystemsSIP-GW-UserAgent 8984 5356 IN IP4 38.106.1.83
> s=SIP Call
> c=IN IP4 38.106.1.83
> t=0 0
> m=audio 17050 RTP/AVP 18
> c=IN IP4 38.106.1.83
> a=rtpmap:18 G729/8000
> a=fmtp:18 annexb=yes
>
> -----------------------------------------------------------------------------------------------------
> ACK sip:9501351350010 at 38.106.1.72 SIP/2.0
> Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236
> From: "calling from"
> <sip:8675582928388 at 204.110.11.29>;tag=s020ruan0236DvX9t53Sti02361311730236T6
> To: "9501351350010" <sip:9501351350010 at 38.106.1.72>;tag=ZD2XZveKXjHFc
> Contact: <sip:8675582928388 at 204.110.11.29:5060>
> Call-ID: ID236ThB-18461-236-2NeaL at 204.110.11.29
> CSeq: 237 ACK
> Max-Forwards: 70
> User-Agent: ABC-Phone
> Content-Length: 0
>
> -----------------------------------------------------------------------------------------------------
> CANCEL sip:9501351350010 at 38.106.1.72 SIP/2.0
> Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236
> From: "calling from"
> <sip:8675582928388 at 204.110.11.29>;tag=s020ruan0236DvX9t53Sti02361311730236T6
> To: "9501351350010" <sip:9501351350010 at 38.106.1.72>;tag=ZD2XZveKXjHFc
> Call-ID: ID236ThB-18461-236-2NeaL at 204.110.11.29
> CSeq: 237 CANCEL
> Max-Forwards: 70
> Content-Length: 0
>
> -----------------------------------------------------------------------------------------------------
> SIP/2.0 481 Call/Transaction Does Not Exist
> Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236
> From: "calling from"
> <sip:8675582928388 at 204.110.11.29>;tag=s020ruan0236DvX9t53Sti02361311730236T6
> To: "9501351350010" <sip:9501351350010 at 38.106.1.72>;tag=ZD2XZveKXjHFc
> Call-ID: ID236ThB-18461-236-2NeaL at 204.110.11.29
> CSeq: 237 CANCEL
> Content-Length: 0
>
> -----------------------------------------------------------------------------------------------------
> ACK sip:9501351350010 at 38.106.1.72 SIP/2.0
> Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236
> From: "calling from"
> <sip:8675582928388 at 204.110.11.29>;tag=s020ruan0236DvX9t53Sti02361311730236T6
> To: "9501351350010" <sip:9501351350010 at 38.106.1.72>;tag=ZD2XZveKXjHFc
> Contact: <sip:8675582928388 at 204.110.11.29:5060>
> Call-ID: ID236ThB-18461-236-2NeaL at 204.110.11.29
> CSeq: 237 ACK
> Max-Forwards: 70
> User-Agent: ABC-Phone
> Content-Length: 0
>
> -----------------------------------------------------------------------------------------------------
> SIP/2.0 100 Trying
> Via: SIP/2.0/UDP 38.106.1.83:5060;branch=z9hG4bK2CE48C77
> From: <sip:88359501351350010 at 38.106.1.83>;tag=7DAE5EAC-1DD0
> To: "calling from" <sip:8675582928388 at 38.106.1.72>;tag=9r2ScyaN12DpB
> Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55
> CSeq: 101 BYE
> Timestamp: 965973271 0.000381
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05
> -0500
> Content-Length: 0
>
> -----------------------------------------------------------------------------------------------------
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 38.106.1.83:5060;branch=z9hG4bK2CE48C77
> From: <sip:88359501351350010 at 38.106.1.83>;tag=7DAE5EAC-1DD0
> To: "calling from" <sip:8675582928388 at 38.106.1.72>;tag=9r2ScyaN12DpB
> Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55
> CSeq: 101 BYE
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05
> -0500
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER,
> REFER, NOTIFY
> Supported: timer, precondition, path, replaces
> Content-Length: 0
>
> -----------------------------------------------------------------------------------------------------
> BYE sip:8675582928388 at 204.110.11.29:5060 SIP/2.0
> Via: SIP/2.0/UDP 38.106.1.72;rport;branch=z9hG4bKSj5XgvcHUpm6c
> Max-Forwards: 70
> From: "9501351350010" <sip:9501351350010 at 38.106.1.72>;tag=ZD2XZveKXjHFc
> To: "calling from"
> <sip:8675582928388 at 204.110.11.29>;tag=s020ruan0236DvX9t53Sti02361311730236T6
> Call-ID: ID236ThB-18461-236-2NeaL at 204.110.11.29
> CSeq: 15529071 BYE
> Contact: <sip:9501351350010 at 38.106.1.72:5060;transport=udp>
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05
> -0500
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER,
> REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, precondition, path, replaces
> Reason: Q.850;cause=102;text="RECOVERY_ON_TIMER_EXPIRE"
> Content-Length: 0
>
> -----------------------------------------------------------------------------------------------------
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP 38.106.1.72;rport;branch=z9hG4bKSj5XgvcHUpm6c
> From: "9501351350010" <sip:9501351350010 at 38.106.1.72>;tag=ZD2XZveKXjHFc
> To: "calling from"
> <sip:8675582928388 at 204.110.11.29>;tag=s020ruan0236DvX9t53Sti02361311730236T6
> Call-ID: ID236ThB-18461-236-2NeaL at 204.110.11.29
> CSeq: 15529071 BYE
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
> Content-Length: 0
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 6335 (20110729) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list