[OpenSIPS-Users] CANCEL cross 200OK

Mickael Hubert mickael at winlux.fr
Tue Aug 13 13:55:45 UTC 2024


Hi Bogdan
thanks for your answer.
After many investigations, I found it's a network latency problem.
Indeed, when I send my 200OK from UAS, this 200OK arrives after 6 (or more)
seconds to UAC. So during this time slot, UAC reaches a timeout and sends a
CANCEL (because it never receives 200OK).
I have to find a way on my UAS to kill the call correctly.

have a good day


Le mar. 6 août 2024 à 14:20, Bogdan-Andrei Iancu <bogdan at opensips.org> a
écrit :

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240813/728a757e/attachment.html>


More information about the Users mailing list