<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>We tested the following on Kamailio 3.x and 4.x and observed the same behavior.</p>
<p><br>
</p>
<p>INVITE and CANCEL are sent to Kamailo from the same source within the same transaction. (branch value in the first via header are the same in both INVITE and CANCEL message. Also FROM and TO header are same as well). </p>
<p><span style="font-size: 12pt;">However, Kamailio does not relay CANCEL message.  UAC keep sending CANCEL till timeout. Apparently, t_check_trans() returns false. </span><span style="font-size: 12pt;"> </span><span style="font-size: 12pt;"> </span><br>
</p>
<p><br>
</p>
<p>Can anyone help me on this issue on why Kamailio does not relay CANCEL message?</p>
<p><br>
</p>
<p>Thanks,</p>
<p>AS</p>
<p><br>
</p>
<p><br>
</p>
<p>INVITE received by Kamailio</p>
<p><br>
</p>
<p></p>
<div>INVITE sip:1111111@10.10.10.10:5060;user=phone SIP/2.0</div>
<div>Via: SIP/2.0/UDP 20.20.20.20:5060;branch=z9hG4bKkjhg4n100gagvkoup741.1</div>
<div>Max-Forwards: 69</div>
<div>From: <sip:2222222@20.20.20.20>;tag=SDl9eu701-1c1026774897</div>
<div>To: <sip:1111111@10.10.10.10;user=phone></div>
<div>Call-ID: SDl9eu701-36d75c874d3f463f6c83c5c94cc98b77-8q7ug02</div>
<div>CSeq: 1 INVITE</div>
<div>Contact: <sip:2222222@20.20.20.20:5060;transport=udp></div>
<div>Supported: em,timer,replaces,path,resource-priority,sdp-anat</div>
<div>Allow: REGISTER,OPTIONS,INVITE,ACK,CANCEL,BYE,NOTIFY,PRACK,REFER,INFO,SUBSCRIBE,UPDATE</div>
<div>User-Agent: CS-CustomerName/v.6.60A.274</div>
<div>Content-Type: application/sdp</div>
<div>Content-Length: 237</div>
<div>P-Asserted-Identity: tel:2222222</div>
<div>P-Asserted-Identity: sip:2222222@192.168.0.1</div>
<div><br>
</div>
<div>after 70 msec CANCEL received by Kamailio in the same transaction</div>
<div><br>
</div>
<div>
<div>CANCEL sip:1111111@10.10.10.10:5060;user=phone SIP/2.0</div>
<div>Via: SIP/2.0/UDP 20.20.20.20:5060;branch=z9hG4bKkjhg4n100gagvkoup741.1</div>
<div>CSeq: 1 CANCEL</div>
<div>Max-Forwards: 69</div>
<div>From: <sip:2222222@20.20.20.20>;tag=SDl9eu701-1c1026774897</div>
<div>To: <sip:1111111@10.10.10.10.;user=phone></div>
<div>Call-ID: SDl9eu701-36d75c874d3f463f6c83c5c94cc98b77-8q7ug02</div>
<div>Content-Length: 0</div>
<div>Reason: Q.850 ;cause=16</div>
<div><br>
</div>
<br>
</div>
<div><br>
</div>
<br>
<p></p>
</div>
</body>
</html>