<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>OK, the issue was introduced with this commit:<br>
         
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/commit/045eea09bfb294f5a615d508bd3fc70317389563#diff-077e335c49f591dee316bb34fbddcd98">https://github.com/OpenSIPS/opensips/commit/045eea09bfb294f5a615d508bd3fc70317389563#diff-077e335c49f591dee316bb34fbddcd98</a><br>
      <br>
      This commit moved the "received" param to the second Path header
      (when doing interface switching), but this second hdr is optional,
      it is added only if different (as interface) from the first one.<br>
      So, if you have a single Path hdr to be added, the "received" will
      be missed, as it is added to a hdr what will be discarded at the
      end (not included in the SIP message).<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
    <div class="moz-cite-prefix">On 08/13/2019 12:54 PM, Bogdan-Andrei
      Iancu wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:a991d06d-b6d0-0966-93a0-671c55318fb2@opensips.org">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <tt>And in your case, it is a double Path scenario, or you get
        only one added ?<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
      <div class="moz-cite-prefix">On 08/13/2019 11:17 AM, Pete Kelly
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAEWH9M_b3bnaWPJyeVMQASG54BTJQ=-SwWx87GqtcPTm8zPurQ@mail.gmail.com">
        <div dir="ltr">Hi Bogdan
          <div><br>
          </div>
          <div>It's set to 1 (as is use_received)</div>
          <div><br>
          </div>
          <div>Pete</div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Tue, 13 Aug 2019 at
            07:53, Bogdan-Andrei Iancu <<a
              href="mailto:bogdan@opensips.org" moz-do-not-send="true">bogdan@opensips.org</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 bgcolor="#FFFFFF"> <tt>Hi Pete,<br>
                <br>
                What is the setting for the `enable_double_path`
                modparam ?<br>
                <br>
                Regards,<br>
              </tt>
              <pre class="gmail-m_1274885756521063392moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="gmail-m_1274885756521063392moz-txt-link-freetext" href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
  <a class="gmail-m_1274885756521063392moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/" target="_blank" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
              <div class="gmail-m_1274885756521063392moz-cite-prefix">On
                08/12/2019 04:34 PM, Pete Kelly wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Hello!
                  <div><br>
                  </div>
                  <div>I am using add_path_received() when "proxying"
                    REGISTERs through an edge proxy, and have been
                    successfully using it with earlier versions of
                    OpenSIPS (1.x, 2.1, 2.2, 2.3) with the same script.</div>
                  <div><br>
                  </div>
                  <div>However I have noticed that since at least 2.4.5
                    it does not seem to be behaving, the
                    add_path_received() function is *not* adding the
                    received param - it's behaving exactly as add_path()
                    would behave.</div>
                  <div><br>
                  </div>
                  <div>I've tried checking the return code and also
                    increasing debugging, but there is no output to
                    suggest that the function call itself is failing.</div>
                  <div><br>
                  </div>
                  <div>I also noticed this ticket, but it shouldn't
                    affect 2.4 <a
                      href="https://github.com/OpenSIPS/opensips/issues/1739"
                      target="_blank" moz-do-not-send="true">https://github.com/OpenSIPS/opensips/issues/1739</a></div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>Are there any suggestions?</div>
                  <div><br>
                  </div>
                  <div>Pete</div>
                </div>
                <br>
                <fieldset
                  class="gmail-m_1274885756521063392mimeAttachmentHeader"></fieldset>
                <br>
                <pre>_______________________________________________
Users mailing list
<a class="gmail-m_1274885756521063392moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="gmail-m_1274885756521063392moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>