[OpenSIPS-Users] CANCEL cross 200OK

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Aug 6 12:20:46 UTC 2024


Hi Mickael,

Once the UAS generated a 200 OK reply, there is not much you can do - 
you have to send this 200 to UAC. And the UAC will have to ACK it and 
after that to decide if to keep the call or not - if not, it will send a 
BYE on the spot.

A proxy is not the place to deal with the typical CANCEL/200ok race in 
SIP, but to let the UAC to deal with it.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 17.07.2024 12:30, Mickael Hubert wrote:
> Hi all,
> I have an issue in my OpenSIPS proxy (version: opensips 3.3.4 
> (x86_64/linux)).
> Proxy receives 200OK from UAS, but in the same time, receives CANCEL 
> from UAC.
> Ex:
> ......
> UAS --> 200OK (SDP) --> proxy
>                         proxy <--  CANCEL <-- UAC
>                         proxy --> 200 CANCELING --> UAC
>                         proxy --> 200OK  (SDP) --> UAC
>                         proxy <-- ACK <-- UAC
> UAS <-- ACK <--         proxy
> .....
>
> I want to find a solution that proxy sends 487 to UAC, and BYE to UAS.
> How can I do that please ? There is a function or I have to code all 
> this scenario ?
>
> thanks in advance
> Have a good day
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list