<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Please Help! CANCEL 481 Problem Call dons't hunup</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Wrong answer... That call is clearly answered before for CANCEL, that’s what those 200 OKs and ACKs mean<BR>
<BR>
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...<BR>
<BR>
It should instead of sending a CANCEL be sending a bye at that point<BR>
<BR>
K<BR>
<BR>
<BR>
<BR>
<BR>
On 7/29/11 3:14 PM, "Leo" <<a href="leo@megapin.com">leo@megapin.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:11pt'><FONT FACE="Arial">Hi:<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial">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).<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial">When I receive a call from the SIP Gateway and try to hangup with "CANCEL" message the call before he call is answered,<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
Our freeswitch replay SIP 481 Call Transaction does not exist. <BR>
<BR>
Please help!<BR>
<BR>
Leo Liu<BR>
</FONT><FONT FACE="Arial">---------------------------------------------------------------<BR>
INVITE sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a> SIP/2.0<BR>
Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236<BR>
From: "calling from" <sip:<a href="8675582928388@204.110.11.29">8675582928388@204.110.11.29</a>>;tag=s020ruan0236DvX9t53Sti02361311730236T6<BR>
To: "9501351350010" <sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a>><BR>
Call-ID: <a href="ID236ThB-18461-236-2NeaL@204.110.11.29">ID236ThB-18461-236-2NeaL@204.110.11.29</a><BR>
Contact: <sip:<a href="8675582928388@204.110.11.29:5060">8675582928388@204.110.11.29:5060</a>><BR>
CSeq: 237 INVITE<BR>
Max-Forwards: 70<BR>
User-Agent: ABC-Phone<BR>
Supported: replaces<BR>
Content-Type: application/sdp<BR>
Content-Length: 141<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial">v=0<BR>
o=- 34791986 84556339 IN IP4 204.110.11.29<BR>
s=SIP CALL<BR>
c=IN IP4 204.110.11.29<BR>
t=0 0<BR>
m=audio 35974 RTP/AVP 18<BR>
a=rtpmap:18 G729/8000<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial">-----------------------------------------------------------------------------------------------------<BR>
SIP/2.0 100 Trying<BR>
Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236<BR>
From: "calling from" <sip:<a href="8675582928388@204.110.11.29">8675582928388@204.110.11.29</a>>;tag=s020ruan0236DvX9t53Sti02361311730236T6<BR>
To: "9501351350010" <sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a>><BR>
Call-ID: <a href="ID236ThB-18461-236-2NeaL@204.110.11.29">ID236ThB-18461-236-2NeaL@204.110.11.29</a><BR>
CSeq: 237 INVITE<BR>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05 -0500<BR>
Content-Length: 0<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial">-----------------------------------------------------------------------------------------------------<BR>
INVITE sip:<a href="88359501351350010@38.106.1.83">88359501351350010@38.106.1.83</a> SIP/2.0<BR>
Via: SIP/2.0/UDP 38.106.1.72:5080;rport;branch=z9hG4bKBvFBUj7NNcQ1B<BR>
Max-Forwards: 69<BR>
From: "calling from" <sip:<a href="8675582928388@38.106.1.72">8675582928388@38.106.1.72</a>>;tag=9r2ScyaN12DpB<BR>
To: <sip:<a href="88359501351350010@38.106.1.83">88359501351350010@38.106.1.83</a>><BR>
Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55<BR>
CSeq: 15529052 INVITE<BR>
Contact: <sip:<a href="mod_sofia@38.106.1.72:5080">mod_sofia@38.106.1.72:5080</a>><BR>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05 -0500<BR>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<BR>
Supported: timer, precondition, path, replaces<BR>
Allow-Events: talk, hold, refer<BR>
Content-Type: application/sdp<BR>
Content-Disposition: session<BR>
Content-Length: 141<BR>
X-FS-Support: update_display<BR>
Remote-Party-ID: "calling from" <sip:<a href="8675582928388@38.106.1.72">8675582928388@38.106.1.72</a>>;party=calling;screen=yes;privacy=off<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial">v=0<BR>
o=- 34791986 84556339 IN IP4 204.110.11.29<BR>
s=SIP CALL<BR>
c=IN IP4 204.110.11.29<BR>
t=0 0<BR>
m=audio 35974 RTP/AVP 18<BR>
a=rtpmap:18 G729/8000<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial">-----------------------------------------------------------------------------------------------------<BR>
SIP/2.0 100 Trying<BR>
Via: SIP/2.0/UDP 38.106.1.72:5080;rport;branch=z9hG4bKBvFBUj7NNcQ1B<BR>
From: "calling from" <sip:<a href="8675582928388@38.106.1.72">8675582928388@38.106.1.72</a>>;tag=9r2ScyaN12DpB<BR>
To: <sip:<a href="88359501351350010@38.106.1.83">88359501351350010@38.106.1.83</a>>;tag=7DAE5EAC-1DD0<BR>
Date: Fri, 11 Aug 2000 05:54:04 GMT<BR>
Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55<BR>
Server: Cisco-SIPGateway/IOS-12.x<BR>
CSeq: 15529052 INVITE<BR>
Allow-Events: telephone-event<BR>
Content-Length: 0<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial">-----------------------------------------------------------------------------------------------------<BR>
SIP/2.0 200 OK<BR>
Via: SIP/2.0/UDP 38.106.1.72:5080;rport;branch=z9hG4bKBvFBUj7NNcQ1B<BR>
From: "calling from" <sip:<a href="8675582928388@38.106.1.72">8675582928388@38.106.1.72</a>>;tag=9r2ScyaN12DpB<BR>
To: <sip:<a href="88359501351350010@38.106.1.83">88359501351350010@38.106.1.83</a>>;tag=7DAE5EAC-1DD0<BR>
Date: Fri, 11 Aug 2000 05:54:04 GMT<BR>
Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55<BR>
Server: Cisco-SIPGateway/IOS-12.x<BR>
CSeq: 15529052 INVITE<BR>
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, COMET, REFER, SUBSCRIBE, NOTIFY, INFO, UPDATE, REGISTER<BR>
Allow-Events: telephone-event<BR>
Contact: <sip:<a href="88359501351350010@38.106.1.83:5060">88359501351350010@38.106.1.83:5060</a>><BR>
Content-Type: application/sdp<BR>
Content-Length: 200<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial">v=0<BR>
o=CiscoSystemsSIP-GW-UserAgent 8984 5356 IN IP4 38.106.1.83<BR>
s=SIP Call<BR>
c=IN IP4 38.106.1.83<BR>
t=0 0<BR>
m=audio 17050 RTP/AVP 18<BR>
c=IN IP4 38.106.1.83<BR>
a=rtpmap:18 G729/8000<BR>
a=fmtp:18 annexb=yes<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
<BR>
<BR>
</FONT><FONT FACE="Arial">ACK sip:<a href="88359501351350010@38.106.1.83:5060">88359501351350010@38.106.1.83:5060</a> SIP/2.0<BR>
Via: SIP/2.0/UDP 38.106.1.72:5080;rport;branch=z9hG4bKc583vDrSjNDmQ<BR>
Max-Forwards: 70<BR>
From: "calling from" <sip:<a href="8675582928388@38.106.1.72">8675582928388@38.106.1.72</a>>;tag=9r2ScyaN12DpB<BR>
To: <sip:<a href="88359501351350010@38.106.1.83">88359501351350010@38.106.1.83</a>>;tag=7DAE5EAC-1DD0<BR>
Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55<BR>
CSeq: 15529052 ACK<BR>
Contact: <sip:<a href="mod_sofia@38.106.1.72:5080">mod_sofia@38.106.1.72:5080</a>><BR>
Content-Length: 0<BR>
</FONT><FONT FACE="Monaco, Courier New"> <BR>
</FONT><FONT FACE="Arial"><BR>
SIP/2.0 200 OK<BR>
Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236<BR>
From: "calling from" <sip:<a href="8675582928388@204.110.11.29">8675582928388@204.110.11.29</a>>;tag=s020ruan0236DvX9t53Sti02361311730236T6<BR>
To: "9501351350010" <sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a>>;tag=ZD2XZveKXjHFc<BR>
Call-ID: <a href="ID236ThB-18461-236-2NeaL@204.110.11.29">ID236ThB-18461-236-2NeaL@204.110.11.29</a><BR>
CSeq: 237 INVITE<BR>
Contact: <sip:<a href="9501351350010@38.106.1.72:5060">9501351350010@38.106.1.72:5060</a>;transport=udp><BR>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05 -0500<BR>
Accept: application/sdp<BR>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<BR>
Supported: timer, precondition, path, replaces<BR>
Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer<BR>
Content-Type: application/sdp<BR>
Content-Disposition: session<BR>
Content-Length: 200<BR>
Remote-Party-ID: "Outbound Call" <sip:<a href="88359501351350010@38.106.1.72">88359501351350010@38.106.1.72</a>>;party=calling;privacy=off;screen=no<BR>
<BR>
v=0<BR>
o=CiscoSystemsSIP-GW-UserAgent 8984 5356 IN IP4 38.106.1.83<BR>
s=SIP Call<BR>
c=IN IP4 38.106.1.83<BR>
t=0 0<BR>
m=audio 17050 RTP/AVP 18<BR>
c=IN IP4 38.106.1.83<BR>
a=rtpmap:18 G729/8000<BR>
a=fmtp:18 annexb=yes<BR>
<BR>
-----------------------------------------------------------------------------------------------------<BR>
ACK sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a> SIP/2.0<BR>
Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236<BR>
From: "calling from" <sip:<a href="8675582928388@204.110.11.29">8675582928388@204.110.11.29</a>>;tag=s020ruan0236DvX9t53Sti02361311730236T6<BR>
To: "9501351350010" <sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a>>;tag=ZD2XZveKXjHFc<BR>
Contact: <sip:<a href="8675582928388@204.110.11.29:5060">8675582928388@204.110.11.29:5060</a>><BR>
Call-ID: <a href="ID236ThB-18461-236-2NeaL@204.110.11.29">ID236ThB-18461-236-2NeaL@204.110.11.29</a><BR>
CSeq: 237 ACK<BR>
Max-Forwards: 70<BR>
User-Agent: ABC-Phone<BR>
Content-Length: 0<BR>
<BR>
-----------------------------------------------------------------------------------------------------<BR>
CANCEL sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a> SIP/2.0<BR>
Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236<BR>
From: "calling from" <sip:<a href="8675582928388@204.110.11.29">8675582928388@204.110.11.29</a>>;tag=s020ruan0236DvX9t53Sti02361311730236T6<BR>
To: "9501351350010" <sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a>>;tag=ZD2XZveKXjHFc<BR>
Call-ID: <a href="ID236ThB-18461-236-2NeaL@204.110.11.29">ID236ThB-18461-236-2NeaL@204.110.11.29</a><BR>
CSeq: 237 CANCEL<BR>
Max-Forwards: 70<BR>
Content-Length: 0<BR>
<BR>
-----------------------------------------------------------------------------------------------------<BR>
SIP/2.0 481 Call/Transaction Does Not Exist<BR>
Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236<BR>
From: "calling from" <sip:<a href="8675582928388@204.110.11.29">8675582928388@204.110.11.29</a>>;tag=s020ruan0236DvX9t53Sti02361311730236T6<BR>
To: "9501351350010" <sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a>>;tag=ZD2XZveKXjHFc<BR>
Call-ID: <a href="ID236ThB-18461-236-2NeaL@204.110.11.29">ID236ThB-18461-236-2NeaL@204.110.11.29</a><BR>
CSeq: 237 CANCEL<BR>
Content-Length: 0<BR>
<BR>
<BR>
-----------------------------------------------------------------------------------------------------<BR>
ACK sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a> SIP/2.0<BR>
Via: SIP/2.0/UDP 204.110.11.29:5060;branch=ruan0236bKUBMUBqad02361311730236<BR>
From: "calling from" <sip:<a href="8675582928388@204.110.11.29">8675582928388@204.110.11.29</a>>;tag=s020ruan0236DvX9t53Sti02361311730236T6<BR>
To: "9501351350010" <sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a>>;tag=ZD2XZveKXjHFc<BR>
Contact: <sip:<a href="8675582928388@204.110.11.29:5060">8675582928388@204.110.11.29:5060</a>><BR>
Call-ID: <a href="ID236ThB-18461-236-2NeaL@204.110.11.29">ID236ThB-18461-236-2NeaL@204.110.11.29</a><BR>
CSeq: 237 ACK<BR>
Max-Forwards: 70<BR>
User-Agent: ABC-Phone<BR>
Content-Length: 0<BR>
<BR>
-----------------------------------------------------------------------------------------------------<BR>
SIP/2.0 100 Trying<BR>
Via: SIP/2.0/UDP 38.106.1.83:5060;branch=z9hG4bK2CE48C77<BR>
From: <sip:<a href="88359501351350010@38.106.1.83">88359501351350010@38.106.1.83</a>>;tag=7DAE5EAC-1DD0<BR>
To: "calling from" <sip:<a href="8675582928388@38.106.1.72">8675582928388@38.106.1.72</a>>;tag=9r2ScyaN12DpB<BR>
Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55<BR>
CSeq: 101 BYE<BR>
Timestamp: 965973271 0.000381<BR>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05 -0500<BR>
Content-Length: 0<BR>
<BR>
-----------------------------------------------------------------------------------------------------<BR>
SIP/2.0 200 OK<BR>
Via: SIP/2.0/UDP 38.106.1.83:5060;branch=z9hG4bK2CE48C77<BR>
From: <sip:<a href="88359501351350010@38.106.1.83">88359501351350010@38.106.1.83</a>>;tag=7DAE5EAC-1DD0<BR>
To: "calling from" <sip:<a href="8675582928388@38.106.1.72">8675582928388@38.106.1.72</a>>;tag=9r2ScyaN12DpB<BR>
Call-ID: dc2ca10f-3292-122f-ceb5-000d56703e55<BR>
CSeq: 101 BYE<BR>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05 -0500<BR>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY<BR>
Supported: timer, precondition, path, replaces<BR>
Content-Length: 0<BR>
<BR>
-----------------------------------------------------------------------------------------------------<BR>
BYE sip:<a href="8675582928388@204.110.11.29:5060">8675582928388@204.110.11.29:5060</a> SIP/2.0<BR>
Via: SIP/2.0/UDP 38.106.1.72;rport;branch=z9hG4bKSj5XgvcHUpm6c<BR>
Max-Forwards: 70<BR>
From: "9501351350010" <sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a>>;tag=ZD2XZveKXjHFc<BR>
To: "calling from" <sip:<a href="8675582928388@204.110.11.29">8675582928388@204.110.11.29</a>>;tag=s020ruan0236DvX9t53Sti02361311730236T6<BR>
Call-ID: <a href="ID236ThB-18461-236-2NeaL@204.110.11.29">ID236ThB-18461-236-2NeaL@204.110.11.29</a><BR>
CSeq: 15529071 BYE<BR>
Contact: <sip:<a href="9501351350010@38.106.1.72:5060">9501351350010@38.106.1.72:5060</a>;transport=udp><BR>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-2932c1f 2011-07-14 00-17-05 -0500<BR>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<BR>
Supported: timer, precondition, path, replaces<BR>
Reason: Q.850;cause=102;text="RECOVERY_ON_TIMER_EXPIRE"<BR>
Content-Length: 0<BR>
<BR>
<BR>
-----------------------------------------------------------------------------------------------------<BR>
SIP/2.0 200 OK<BR>
Via: SIP/2.0/UDP 38.106.1.72;rport;branch=z9hG4bKSj5XgvcHUpm6c<BR>
From: "9501351350010" <sip:<a href="9501351350010@38.106.1.72">9501351350010@38.106.1.72</a>>;tag=ZD2XZveKXjHFc<BR>
To: "calling from" <sip:<a href="8675582928388@204.110.11.29">8675582928388@204.110.11.29</a>>;tag=s020ruan0236DvX9t53Sti02361311730236T6<BR>
Call-ID: <a href="ID236ThB-18461-236-2NeaL@204.110.11.29">ID236ThB-18461-236-2NeaL@204.110.11.29</a><BR>
CSeq: 15529071 BYE<BR>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER<BR>
Content-Length: 0<BR>
<BR>
<BR>
</FONT><FONT FACE="Monaco, Courier New"><BR>
<BR>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 6335 (20110729) __________<BR>
<BR>
The message was checked by ESET NOD32 Antivirus.<BR>
<BR>
<a href="http://www.eset.com">http://www.eset.com</a><BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></FONT></SPAN><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Join us at ClueCon 2011, Aug 9-11, Chicago<BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a> 877-7-4ACLUE<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>
</BODY>
</HTML>