[OpenSIPS-Users] Forwarding ACK to 200 OK to itself.

David Villasmil david.villasmil.work at gmail.com
Fri Nov 26 13:38:08 EST 2021


Hello folks,

So, the way the script is, it's adding a record_route() before doing the
STSH stuff, and that's adding that route for the rest of the flow...
I wonder if there's any way of removing it.

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Fri, Nov 26, 2021 at 1:48 AM David Villasmil <
david.villasmil.work at gmail.com> wrote:

> Hello folks,
>
> I'm facing this issue on this scenario:
>
> [ 1] USER---INVITE--->OPENSIPS
> [ 2]                  OPENSIPS---INVITE-->STIR/SHAKEN (OPENSIPS)
> [ 3]                  OPENSIPS<--- 302 ---STIR/SHAKEN
> [ 4]                  OPENSIPS<--- ACK ---STIR/SHAKEN
> [ 5]                  OPENSIPS-----------INVITE--------->TERMINATION
> [ 6]                  OPENSIPS<----------  180 ----------TERMINATION
> [ 7]                  OPENSIPS<----------  183 ----------TERMINATION
> [ 8]                  OPENSIPS<----------  200 ----------TERMINATION
> [ 9] USER<-- 200 -----OPENSIPS
> [10] USER--- ACK ---->OPENSIPS
> [11]                  OPENSIPS--- ACK
> [12]                  OPENSIPS<-- ACK
> [13]                  OPENSIPS<----------  200 ----------TERMINATION
> [14] USER<-- 200 -----OPENSIPS
> [15] USER--- ACK ---->OPENSIPS
> [16]                  OPENSIPS--- ACK
> [17]                  OPENSIPS<-- ACK
>
>
> This only happens when I enable that STIR/SHAKEN functionality and use the
> 302, when OpenSIPS sends out the INVITE [
>
> The 200 OK has this as a record route:
>
> Record-Route:<sip:10.241.40.144;lr=on;did=277.5664>,<sip:OPENSIPS_PRIVATE_IP:4060;r2=on;lr;ftag=gK0467de76>,<sip:OPENSIPS_PUBLIC_IP:6070;r2=on;lr;ftag=gK0467de76>,<sip:OPENSIPS_PRIVATE_IP:4060;r2=on;lr;ftag=gK0467de76>,<sip:OPENSIPS_PUBLIC_IP:6070;r2=on;lr;ftag=gK0467de76>
>
> what do i need to do to remove those duplicated record-routes after
> receiving the 302?
>
> Thanks alot for your help!
>
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211126/f50201f2/attachment-0001.html>


More information about the Users mailing list