<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>there is a rr modparam to turn of that warning, if you do not
      have many network interfaces/sockets that would require to select
      a specific one, then should be enough. Otherwise, see the archive
      in the past two weeks or so, there was a discussion about using
      socket names with record routes.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 25.02.21 10:51, Ilie Soltanici
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJQ6-U0EeFYYEHJ8XV2xg8mbxa22u5SKqgrnCxiNjuzdLbRpJg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>The loose_route function from the rr module is always
          getting an error in the logs that's not able to find the
          socket when the BYE request is coming from Kam to the Teams:</div>
        <div><br>
        </div>
        <div>Feb 24 18:20:58 kamailio kam[24681]: WARNING: {BYE (1) |
          Seq=102 | Source IP=192.1668.1.1 (udp) | Call
          ID=2e701c07f99c5cb89fc72db225a6e309} rr [loose.c:800]:
          rr_do_force_send_socket(): no socket found to match second RR
(<a class="moz-txt-link-freetext" href="sip:sbc-fqdn:5067;transport=tls;ftag=4ccd608c55e94f4aa094151dfd9e23a4;lr;r2=on">sip:sbc-fqdn:5067;transport=tls;ftag=4ccd608c55e94f4aa094151dfd9e23a4;lr;r2=on</a>)<br>
        </div>
        <div><br>
        </div>
        <div>This is the BYE message:</div>
        <div><br>
        </div>
        <div>||||||||||||||||||||<br>
          ====================<br>
          tag: rcv<br>
          pid: 24681<br>
          process: 3<br>
          time: 1614190858.750938<br>
          date: Wed Feb 24 18:20:58 2021<br>
          proto: udp ipv4<br>
          srcip: 192.168.1.2<br>
          srcport: 5060<br>
          dstip: 192.1668.1.1<br>
          dstport: 5060<br>
          ~~~~~~~~~~~~~~~~~~~~<br>
          BYE
<a class="moz-txt-link-freetext" href="sip:api-du-c-euno.pstnhub.microsoft.com:443;x-i=58a922ac-934d-49cb-93b0-a7b435a36ea5;x-c=2e701c07f99c5cb89fc72db225a6e309/d/8/7776d3cf84d340a79f0a433d743e7a1a">sip:api-du-c-euno.pstnhub.microsoft.com:443;x-i=58a922ac-934d-49cb-93b0-a7b435a36ea5;x-c=2e701c07f99c5cb89fc72db225a6e309/d/8/7776d3cf84d340a79f0a433d743e7a1a</a>
          SIP/2.0<br>
          Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK24411a29;rport<br>
          Route:
<a class="moz-txt-link-rfc2396E" href="sip:192.168.1.1:5060;ftag=4ccd608c55e94f4aa094151dfd9e23a4;lr;r2=on"><sip:192.168.1.1:5060;ftag=4ccd608c55e94f4aa094151dfd9e23a4;lr;r2=on></a>,<a class="moz-txt-link-rfc2396E" href="sip:sbc-fqdn:5067;transport=tls;ftag=4ccd608c55e94f4aa094151dfd9e23a4;lr;r2=on"><sip:sbc-fqdn:5067;transport=tls;ftag=4ccd608c55e94f4aa094151dfd9e23a4;lr;r2=on></a>,<a class="moz-txt-link-rfc2396E" href="sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr"><sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr></a><br>
          Max-Forwards: 70<br>
          From:
          <a class="moz-txt-link-rfc2396E" href="sip:+1234566789@sbc-fqdn:5067;user=phone"><sip:+1234566789@sbc-fqdn:5067;user=phone></a>;tag=as72ae570b<br>
          To:
user1<a class="moz-txt-link-rfc2396E" href="sip:+87654321@sip.pstnhub.microsoft.com:5061;user=phone"><sip:+87654321@sip.pstnhub.microsoft.com:5061;user=phone></a>;tag=4ccd608c55e94f4aa094151dfd9e23a4<br>
          Call-ID: 2e701c07f99c5cb89fc72db225a6e309<br>
          CSeq: 102 BYE<br>
          User-Agent: COMPANY<br>
          Content-Length: 0<br>
          <br>
          ||||||||||||||||||||<br>
          ====================<br>
        </div>
        <div><br>
        </div>
        <div>The domain from the second rr (sbc-fqdn:5067) it's
          perfectly valid and resolved from the kam server and from
          outside.</div>
        <div><br>
        </div>
        <div>version: kamailio 5.4.4 (x86_64/linux) bdf4e0</div>
        <div><br>
        </div>
        <div>Any thought here?</div>
        <div>Thanks<br clear="all">
          <div><br>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Wed, 24 Feb 2021 at 21:40,
          Ilie Soltanici <<a href="mailto:iliusha.md@gmail.com"
            target="_blank" moz-do-not-send="true">iliusha.md@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">Changing enable_full_lr parameter from the rr
            module fixed the issue. Now I'm getting ACK from MS to
            200OK.
            <div>Thank you</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">On Wed, 24 Feb 2021 at
              15:12, Juha Heinanen <<a href="mailto:jh@tutpro.com"
                target="_blank" moz-do-not-send="true">jh@tutpro.com</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex"><br>
              > SIP/2.0 200 OK<br>
              > Via: SIP/2.0/TLS
              52.114.75.24:5061;branch=z9hG4bK6b5ac083<br>
              > Record-Route:<br>
              >
<a class="moz-txt-link-rfc2396E" href="sip:fqdn:5067;transport=tls;r2=on;ftag=7a6409ee42ac48a897be110166a2bb0b;lr=on"><sip:fqdn:5067;transport=tls;r2=on;ftag=7a6409ee42ac48a897be110166a2bb0b;lr=on></a><br>
              > Record-Route:
              <a class="moz-txt-link-rfc2396E" href="sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr"><sip:sip-du-a-eu.pstnhub.microsoft.com:5061;transport=tls;lr></a><br>
              <br>
              I have ;r2=on in both R-R headers.  And also you have
              ;lr=on in one and<br>
              ;lr in the other.<br>
              <br>
              -- Juha<br>
              <br>
              _______________________________________________<br>
              Kamailio (SER) - Users Mailing List<br>
              <a href="mailto:sr-users@lists.kamailio.org"
                target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
              <a
                href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            </blockquote>
          </div>
        </blockquote>
      </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>