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

Ken Rice krice at freeswitch.org
Sat Jul 30 01:02:17 MSD 2011


Wrong answer... That call is clearly answered before for CANCEL, that¹s what
those 200 OKs and ACKs mean

So your end point trying to hang up is getting a 481 as the call is already
in progress and it has ACK¹d that fact...

It should instead of sending a CANCEL be sending a bye at that point

K




On 7/29/11 3:14 PM, "Leo" <leo at megapin.com> wrote:

> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110729/a7223a4b/attachment-0001.html 


More information about the FreeSWITCH-users mailing list