<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi David,<br>
      <br>
      IMHO, you do record_route() in request route (before sending to
      SS) and once again later, in failure route, after SS, before the
      Termination. Could you check this?<br>
      <br>
      Normally doing it in request route is more then enough, covering
      the whole call processing; there is no need to do it per branch or
      so.<br>
      <br>
      Regards,<br>
    </font>
    <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 eBootcamp 2021 
  <a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
    <div class="moz-cite-prefix">On 11/26/21 3:48 AM, David Villasmil
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFGRPVoNJNj_8SCT5yqX4S1p9upYqOCRQ+P+5Vq4B_OGNZXa5g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hello folks,
        <div><br>
        </div>
        <div>I'm facing this issue on this scenario:</div>
        <div><br>
        </div>
        <div>
          <div><span style="font-family:monospace">[ 1]</span><span
              style="font-family:monospace"> </span><font
              face="monospace">USER---INVITE--->OPENSIPS<br>
            </font><span style="font-family:monospace">[ 2] </span><font
              face="monospace">               
               OPENSIPS---INVITE-->STIR/SHAKEN (OPENSIPS)<br>
            </font><span style="font-family:monospace">[ 3] </span><font
              face="monospace">                 OPENSIPS<--- 302
              ---STIR/SHAKEN<br>
            </font><span style="font-family:monospace">[ 4] </span><font
              face="monospace">                 OPENSIPS<--- ACK
              ---STIR/SHAKEN<br>
            </font><span style="font-family:monospace">[ 5] </span><font
              face="monospace">               
               OPENSIPS-----------INVITE--------->TERMINATION<br>
            </font><span style="font-family:monospace">[ 6] </span><font
              face="monospace">                 OPENSIPS<----------
               180 ----------TERMINATION<br>
            </font><span style="font-family:monospace">[ 7] </span><font
              face="monospace">                 OPENSIPS<----------
               183 ----------TERMINATION<br>
            </font><span style="font-family:monospace">[ 8] </span><font
              face="monospace">                 OPENSIPS<----------
               200 ----------TERMINATION<br>
            </font><span style="font-family:monospace">[ 9] </span><font
              face="monospace">USER<-- 200 -----OPENSIPS<br>
            </font><span style="font-family:monospace">[10] </span><font
              face="monospace">USER--- ACK ---->OPENSIPS<br>
            </font><span style="font-family:monospace">[11] </span><font
              face="monospace">                 OPENSIPS--- ACK <br>
            </font><span style="font-family:monospace">[12] </span><font
              face="monospace">                 OPENSIPS<-- ACK <br>
            </font><span style="font-family:monospace">[13] </span><font
              face="monospace">                 OPENSIPS<----------
               200 ----------TERMINATION<br>
            </font><span style="font-family:monospace">[14] </span><font
              face="monospace">USER<-- 200 -----OPENSIPS<br>
            </font><span style="font-family:monospace">[15] </span><font
              face="monospace">USER--- ACK ---->OPENSIPS<br>
            </font><span style="font-family:monospace">[16] </span><font
              face="monospace">                 OPENSIPS--- ACK <br>
            </font><span style="font-family:monospace">[17] </span><font
              face="monospace">                 OPENSIPS<-- ACK <br>
                                                  </font><br>
          </div>
        </div>
        <div><br>
        </div>
        <div>This only happens when I enable that STIR/SHAKEN
          functionality and use the 302, when OpenSIPS sends out the
          INVITE [</div>
        <div><br>
        </div>
        <div>The 200 OK has this as a record route:</div>
        <div>Record-Route:<a class="moz-txt-link-rfc2396E" href="sip:10.241.40.144;lr=on;did=277.5664"><sip:10.241.40.144;lr=on;did=277.5664></a>,<a class="moz-txt-link-rfc2396E" href="sip:OPENSIPS_PRIVATE_IP:4060;r2=on;lr;ftag=gK0467de76"><sip:OPENSIPS_PRIVATE_IP:4060;r2=on;lr;ftag=gK0467de76></a>,<a class="moz-txt-link-rfc2396E" href="sip:OPENSIPS_PUBLIC_IP:6070;r2=on;lr;ftag=gK0467de76"><sip:OPENSIPS_PUBLIC_IP:6070;r2=on;lr;ftag=gK0467de76></a>,<a class="moz-txt-link-rfc2396E" href="sip:OPENSIPS_PRIVATE_IP:4060;r2=on;lr;ftag=gK0467de76"><sip:OPENSIPS_PRIVATE_IP:4060;r2=on;lr;ftag=gK0467de76></a>,<a class="moz-txt-link-rfc2396E" href="sip:OPENSIPS_PUBLIC_IP:6070;r2=on;lr;ftag=gK0467de76"><sip:OPENSIPS_PUBLIC_IP:6070;r2=on;lr;ftag=gK0467de76></a><br>
        </div>
        <div><br>
        </div>
        <div>what do i need to do to remove those duplicated
          record-routes after receiving the 302?</div>
        <div><br>
        </div>
        <div>Thanks alot for your help!</div>
        <div><br>
        </div>
        <div>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>Regards,</div>
                <div><br>
                </div>
                David Villasmil
                <div>email: <a
                    href="mailto:david.villasmil.work@gmail.com"
                    target="_blank" moz-do-not-send="true">david.villasmil.work@gmail.com</a></div>
                <div>phone: +34669448337</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-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>