<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>that is the received CANCEL, not the one sent out by Kamailio.
      The Via branch generated by Kamailio has the format present in the
      CANCEL sent to downstream.</p>
    <p>Probably there is some setting in the system (ip forwarding)
      causing it or something else out of Kamailio control.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 26.05.20 17:34, Sergiu Pojoga wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJZsGC=YAGM6zNh_Z_M5=ye0MewH9FRmCoaFdSYJKc_133jmvA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi gents,<br>
        <div><br>
        </div>
        <div>Got this weird "problem", where CANCEL request is relayed
          to both the right destination as well as the 255.255.255.255
          broadcast address!? I have no such logic in my script, that's
          for sure.</div>
        <div><br>
        </div>
        <div>I doesn't do anything harmful (as far as I can tell), but
          I'm just curious why it's doing that. Any ideas?</div>
        <div><br>
        </div>
        <div>version: kamailio 5.3.4<br>
        </div>
        <div><br>
        </div>
        <div><b>SIP Trace:</b></div>
        <div><br>
        </div>
        U 2020/05/26 08:40:10.941722 PBXIP:5060 -> KAMAILIO_IP:5060<br>
        CANCEL <a class="moz-txt-link-freetext" href="sip:2383@DOWNSTREAM_IP:10533;transport=TLS">sip:2383@DOWNSTREAM_IP:10533;transport=TLS</a> SIP/2.0 <br>
        Via: SIP/2.0/UDP PBXIP:5060;branch=z9hG4bK450689d6<br>
        Max-Forwards: 69<br>
        From: "some callerid" <<a
          href="mailto:sip%3A18001111111@mypbx.mydomain.com"
          moz-do-not-send="true">sip:18001111111@mypbx.mydomain.com</a>>;tag=as4d223616<br>
        To: <a class="moz-txt-link-rfc2396E" href="sip:2383@DOWNSTREAM_IP:10533;transport=TLS"><sip:2383@DOWNSTREAM_IP:10533;transport=TLS></a><br>
        Call-ID: <a
          href="mailto:1511475b69f6379b08f04d110f534da1@mypbx.mydomain.com"
          moz-do-not-send="true">1511475b69f6379b08f04d110f534da1@mypbx.mydomain.com</a><br>
        CSeq: 102 CANCEL<br>
        User-Agent: B2B <br>
        Content-Length: 0 <br>
        <br>
        U 2020/05/26 08:40:10.941799 KAMAILIO_IP:5060 -> <a
          href="http://255.255.255.255:5060" moz-do-not-send="true">255.255.255.255:5060</a><br>
        CANCEL <a class="moz-txt-link-freetext" href="sip:2383@DOWNSTREAM_IP:10533;transport=TLS">sip:2383@DOWNSTREAM_IP:10533;transport=TLS</a> SIP/2.0 <br>
        Via: SIP/2.0/UDP PBXIP:5060;branch=z9hG4bK450689d6<br>
        Max-Forwards: 69<br>
        From: "some callerid" <<a
          href="mailto:sip%3A18001111111@mypbx.mydomain.com"
          moz-do-not-send="true">sip:18001111111@mypbx.mydomain.com</a>>;tag=as4d223616<br>
        To: <a class="moz-txt-link-rfc2396E" href="sip:2383@DOWNSTREAM_IP:10533;transport=TLS"><sip:2383@DOWNSTREAM_IP:10533;transport=TLS></a><br>
        Call-ID: <a
          href="mailto:1511475b69f6379b08f04d110f534da1@mypbx.mydomain.com"
          moz-do-not-send="true">1511475b69f6379b08f04d110f534da1@mypbx.mydomain.com</a><br>
        CSeq: 102 CANCEL<br>
        User-Agent: B2B <br>
        Content-Length: 0 <br>
        <br>
        T 2020/05/26 08:40:10.941899 KAMAILIO_IP:5061 ->
        DOWNSTREAM_IP:10533<br>
        CANCEL <a class="moz-txt-link-freetext" href="sip:2383@DOWNSTREAM_IP:10533;transport=TLS">sip:2383@DOWNSTREAM_IP:10533;transport=TLS</a> SIP/2.0 <br>
        Via: SIP/2.0/TLS
proxy.mydomain.com:5061;branch=z9hG4bK3cbb.4c6a526982fa1fb93ca1ba73afd8484f.0
        <br>
        Max-Forwards: 69<br>
        From: "some callerid" <<a
          href="mailto:sip%3A18001111111@mypbx.mydomain.com"
          moz-do-not-send="true">sip:18001111111@mypbx.mydomain.com</a>>;tag=as4d223616<br>
        To: <a class="moz-txt-link-rfc2396E" href="sip:2383@DOWNSTREAM_IP:10533;transport=TLS"><sip:2383@DOWNSTREAM_IP:10533;transport=TLS></a><br>
        Call-ID: <a
          href="mailto:1511475b69f6379b08f04d110f534da1@mypbx.mydomain.com"
          moz-do-not-send="true">1511475b69f6379b08f04d110f534da1@mypbx.mydomain.com</a><br>
        CSeq: 102 CANCEL<br>
        Content-Length: 0 <br>
        <br>
        U 2020/05/26 08:40:10.941935 KAMAILIO_IP:5060 -> PBXIP:5060<br>
        SIP/2.0 200 canceling <br>
        Via: SIP/2.0/UDP PBXIP:5060;branch=z9hG4bK450689d6<br>
        From: "some callerid" <<a
          href="mailto:sip%3A18001111111@mypbx.mydomain.com"
          moz-do-not-send="true">sip:18001111111@mypbx.mydomain.com</a>>;tag=as4d223616<br>
        To:
<a class="moz-txt-link-rfc2396E" href="sip:2383@DOWNSTREAM_IP:10533;transport=TLS"><sip:2383@DOWNSTREAM_IP:10533;transport=TLS></a>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-612a1516<br>
        Call-ID: <a
          href="mailto:1511475b69f6379b08f04d110f534da1@mypbx.mydomain.com"
          moz-do-not-send="true">1511475b69f6379b08f04d110f534da1@mypbx.mydomain.com</a><br>
        CSeq: 102 CANCEL<br>
        Server: Edge<br>
        <div>Content-Length: 0 </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>--Sergiu</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>