<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p><br>
    </p>
    <p>did the INVITE get to creating a transaction (e.g., was
      t_relay()/t_newtran() used for it)?</p>
    <p><br>
    </p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 25/07/16 16:37, Ali Soltani wrote:<br>
    </div>
    <blockquote
cite="mid:SN2PR0601MB097584CC6B7A616A667DAFB6E60D0@SN2PR0601MB0975.namprd06.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <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>
        <div>INVITE <a class="moz-txt-link-freetext" href="sip:1111111@10.10.10.10:5060;user=phone">sip:1111111@10.10.10.10:5060;user=phone</a> 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:
          <a class="moz-txt-link-rfc2396E" href="sip:2222222@20.20.20.20"><sip:2222222@20.20.20.20></a>;tag=SDl9eu701-1c1026774897</div>
        <div>To: <a class="moz-txt-link-rfc2396E" href="sip:1111111@10.10.10.10;user=phone"><sip:1111111@10.10.10.10;user=phone></a></div>
        <div>Call-ID: SDl9eu701-36d75c874d3f463f6c83c5c94cc98b77-8q7ug02</div>
        <div>CSeq: 1 INVITE</div>
        <div>Contact: <a class="moz-txt-link-rfc2396E" href="sip:2222222@20.20.20.20:5060;transport=udp"><sip:2222222@20.20.20.20:5060;transport=udp></a></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: <a class="moz-txt-link-freetext" href="tel:2222222">tel:2222222</a></div>
        <div>P-Asserted-Identity: <a class="moz-txt-link-freetext" href="sip:2222222@192.168.0.1">sip:2222222@192.168.0.1</a></div>
        <div><br>
        </div>
        <div>after 70 msec CANCEL received by Kamailio in the same
          transaction</div>
        <div><br>
        </div>
        <div>
          <div>CANCEL <a class="moz-txt-link-freetext" href="sip:1111111@10.10.10.10:5060;user=phone">sip:1111111@10.10.10.10:5060;user=phone</a> 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:
            <a class="moz-txt-link-rfc2396E" href="sip:2222222@20.20.20.20"><sip:2222222@20.20.20.20></a>;tag=SDl9eu701-1c1026774897</div>
          <div>To: <a class="moz-txt-link-rfc2396E" href="sip:1111111@10.10.10.10.;user=phone"><sip:1111111@10.10.10.10.;user=phone></a></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>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>