<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>I think that handle_ruri_alias() is consuming from the end of the
      parameters, so you can execute the function couple of times.</p>
    <p>Ideally, the alias parameter should be only once there, the
      second one should be useless, at that point record-route/route
      headers should be enough.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 28.06.18 13:25, Borislav Gergov
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABipgG-wQpK=YG7pRyZOPN-=4SD9TgE__7CftmO8TBwTvsmSkQ@mail.gmail.com">
      <div dir="ltr">Hello, what is the proper way <span
style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">for
          kamailio nathelper module</span> to handle multiple aliases in
        the request . For example We have ACK message that looped in the
        kamailio because is not forward to user phone:
        <div><br>
        </div>
        <div>
          <div>ACK
<a class="moz-txt-link-freetext" href="sip:xxxxxx@10.10.10.32:38416;alias=192.168.129.135~5060~1;alias=192.168.205.32~38416~1">sip:xxxxxx@10.10.10.32:38416;alias=192.168.129.135~5060~1;alias=192.168.205.32~38416~1</a>
            SIP/2.0</div>
          <div>Via: SIP/2.0/UDP
            192.168.146.174:46248;branch=z9hG4bK-524287-1---5b14eec905adf6ce</div>
          <div>Max-Forwards: 70</div>
          <div>Route: <<a href="mailto:sip%3Amo@192.168.129.133"
              moz-do-not-send="true">sip:mo@192.168.129.133</a>;lr=on;ftag=c7d62d68;did=8a1.bcf2;rm=8></div>
          <div>Route: <<a href="mailto:sip%3Amo@192.168.129.135"
              moz-do-not-send="true">sip:mo@192.168.129.135</a>;lr=on;ftag=c7d62d68;did=8a1.121></div>
          <div>Route: <<a href="mailto:sip%3Amt@192.168.129.135"
              moz-do-not-send="true">sip:mt@192.168.129.135</a>;lr=on;ftag=c7d62d68;did=8a1.221></div>
          <div>Route: <<a href="mailto:sip%3Amt@192.168.129.133"
              moz-do-not-send="true">sip:mt@192.168.129.133</a>;lr=on;ftag=c7d62d68;did=8a1.ccf2;rm=7></div>
          <div>Contact:
            <a class="moz-txt-link-rfc2396E" href="sip:yyyyy@10.153.146.174:46248;transport=UDP"><sip:yyyyy@10.153.146.174:46248;transport=UDP></a></div>
          <div>To: <<a href="mailto:sip%3Axxxxxx@domain.net"
              moz-do-not-send="true">sip:xxxxxx@domain.net</a>;transport=UDP>;tag=dd9aaf1c</div>
          <div>From: <<a href="mailto:sip%3Ayyyyy@domain.net"
              moz-do-not-send="true">sip:yyyyy@domain.net</a>;transport=UDP>;tag=c7d62d68</div>
          <div>Call-ID: 5Zogf8chhpYlQRdpaZM4CA..</div>
          <div>CSeq: 2 ACK</div>
          <div>User-Agent: Softphone</div>
          <div>Content-Length: 0</div>
        </div>
        <div><br>
        </div>
      </div>
      <!--'"--><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <br>
    <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>
Kamailio World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>