<div dir="auto">Hey how are your Bogdan! Yes that was the issue, solved it already. Thanks!!! I appreciate your help!</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 6 Dec 2021 at 17:07, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div>
    <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 cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021 
  <a href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/" target="_blank">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre></div><div>
    <div>On 11/26/21 3:48 AM, David Villasmil
      wrote:<br>
    </div>
    </div><div><blockquote type="cite"></blockquote></div><div><blockquote type="cite">
      
      <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><sip:10.241.40.144;lr=on;did=277.5664></a>,<a><sip:OPENSIPS_PRIVATE_IP:4060;r2=on;lr;ftag=gK0467de76></a>,<a><sip:OPENSIPS_PUBLIC_IP:6070;r2=on;lr;ftag=gK0467de76></a>,<a><sip:OPENSIPS_PRIVATE_IP:4060;r2=on;lr;ftag=gK0467de76></a>,<a><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" 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">david.villasmil.work@gmail.com</a></div>
                <div>phone: +34669448337</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      </blockquote></div><div><blockquote type="cite"><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div></div>-- <br><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">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>