<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Typically received parameter to Via is added when the IP address
      in that header is different than the source IP of the request.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 29.09.20 12:06, Duarte Rocha wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAJJHZhTvJ1cXcGbeCnqC3qqx5y3HPSm2vCPy6m0=JFraPxeHQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Thank you for your answers.
        <div dir="auto"><br>
        </div>
        <div dir="auto">I have a old SBC with opensips and it always
          adds received to Via. However, in my Kamailio it only adds in
          NAT scenarios. I would like to understand why that happens. </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">A segunda, 28/09/2020, 17:35,
          Duarte Rocha <<a href="mailto:duarterocha91@gmail.com"
            moz-do-not-send="true">duarterocha91@gmail.com</a>>
          escreveu:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="auto">
            <div dir="auto">Greetings, </div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">When NAT is detected in my Kamailio, the
              proxy add the parameter "received" to the Via header which
              includes the source IP.</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">What is the mechanic or function responsible
              for this behaviour? Does it come from the NATHELPER
              module?</div>
            <div dir="auto"><br>
            </div>
            <div dir="auto">Best Regards,</div>
          </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>