<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Hello,</p>
    <p>maybe the R-URI (address in the first line) is coming with a
      local domain/ip, and then strict routing is done, meaning that
      next route header is moved to R-URI, from where it can be
      overwritten by other config actions.</p>
    <p>Anyhow, set debug=3 and what the messages printed by rr module
      and core when executing loose_route(), it shoud show if the URI in
      the route or R-URI is matching myself.</p>
    <p>Be also, you don't have any remove_hf("Route") executed by
      mistake (you can use debugger module with cfgtrace enabled to
      check what actions are executed).<br>
    </p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 27.07.20 12:12, Jonathan Hunter
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:VI1PR07MB39043AAB22C402A3D47E8F47BD720@VI1PR07MB3904.eurprd07.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal">Hi Daniel,</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks for the reply.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I don’t see the CARRIER_IP listed as an
          alias, and I have only 1 domain listed and that’s local. I
          also toggled the register_myself parameter and it is still
          removing the none local CARRIER_IP.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">The route header containing the CARRIER_IP
          doesn’t contain a from tag, apart from that it looks normal
          and I cant fine any reference to it locally.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I haven’t seen this before, however this is
          my first time implementing things in Azure and on centos 7.
          Its only on outbound calls as well, what other steps do you
          suggest if any?</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks for the reply.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Jon</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Sent from <a
            href="https://go.microsoft.com/fwlink/?LinkId=550986"
            moz-do-not-send="true">
            Mail</a> for Windows 10</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div
          style="mso-element:para-border-div;border:none;border-top:solid
          #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
          <p class="MsoNormal" style="border:none;padding:0cm"><b>From:
            </b><a href="mailto:miconda@gmail.com"
              moz-do-not-send="true">Daniel-Constantin Mierla</a><br>
            <b>Sent: </b>27 July 2020 09:04<br>
            <b>To: </b><a href="mailto:sr-users@lists.kamailio.org"
              moz-do-not-send="true">Kamailio (SER) - Users Mailing List</a>;
            <a href="mailto:hunterj91@hotmail.com"
              moz-do-not-send="true">Jonathan Hunter</a>; <a
              href="mailto:sr-users@lists.sip-router.org"
              moz-do-not-send="true">
              Kamailio (SER) - Users Mailing List</a><br>
            <b>Subject: </b>Re: [SR-Users] kamailio 5.3.5 - none local
            route header</p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p>Hello,</p>
        <p>that can happen if you have CARRIER_IP as value for alias
          global parameter or inside the domain module records with
          register_myself modparam enabled. Can you chack if any of
          those cases happens?</p>
        <p>Cheers,<br>
          Daniel</p>
        <div>
          <p class="MsoNormal">On 24.07.20 12:58, Jonathan Hunter wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal">Hi Guys,<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Sorry if this is too generic or silly a
            question but I am testing<o:p></o:p></p>
          <p class="MsoNormal">kamailio 5.3.5 within Azure and its
            behind NAT.<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">I am having an issue with passing an ACK
            from our internal side back out to<o:p></o:p></p>
          <p class="MsoNormal">the carrier side and it appears having
            run loose_route a none local route-header is
            <o:p></o:p></p>
          <p class="MsoNormal">consistently being removed by kamailio at
            this point.<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">ie Route: <a href="sip:CARRIER_IP;lr"
              moz-do-not-send="true"><sip:CARRIER_IP;lr></a><o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Is this normal or configuration related?<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">As I am unsure within what scenario I
            would remove a route header which doesnt contain the local<o:p></o:p></p>
          <p class="MsoNormal">Proxy IP.<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Please can someone advise?<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Many thanks<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Jon<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Sent from <a
href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657967884&sdata=VDmyqv%2BAtQjg9pfS1GfCxkH1Z1KtDcKyiAGcDzykrBk%3D&reserved=0"
              moz-do-not-send="true">
              Mail</a> for Windows 10<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><br>
            <br>
            <o:p></o:p></p>
          <pre>_______________________________________________</pre>
          <pre>Kamailio (SER) - Users Mailing List</pre>
          <pre><a href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a></pre>
          <pre><a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657977879&sdata=cJ0imbe44ne4H9qzwb61orfVg9Qbi0bVs9GPZXJ%2BX58%3D&reserved=0" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></pre>
        </blockquote>
        <pre>-- </pre>
        <pre>Daniel-Constantin Mierla -- <a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.asipto.com%2F&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657977879&sdata=Tcz4WnXWfZSau9kATS6O7mn2VgP9EfzI1R5wiXG9AvI%3D&reserved=0" moz-do-not-send="true">www.asipto.com</a></pre>
        <pre><a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fmiconda&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657977879&sdata=3TKqjKKsN2kPZPvrSgu8IpZ10vxKm9Ic5TkXcIhdNFM%3D&reserved=0" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fmiconda&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657987873&sdata=9qYTiFuMwyyYjku8lBTulY4sOWSQ4XXrqdVKXlCvmPo%3D&reserved=0" moz-do-not-send="true">www.linkedin.com/in/miconda</a></pre>
        <pre>Funding: <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.paypal.me%2Fdcmierla&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657987873&sdata=jV%2FMxPitAEk0BUV9ZlCXQPHiDAdM3a64HuW%2F%2B6H4rek%3D&reserved=0" moz-do-not-send="true">https://www.paypal.me/dcmierla</a></pre>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p> </o:p></span></p>
      </div>
    </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>