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

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Dec 6 17:07:34 EST 2021


Hi David,

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?

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.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS eBootcamp 2021
   https://opensips.org/training/OpenSIPS_eBootcamp_2021/

On 11/26/21 3:48 AM, David Villasmil 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 
> <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211206/da3e36cd/attachment-0001.html>


More information about the Users mailing list