[OpenSIPS-Users] early dialog termination

Ryzhik Ivan ryzhik.ivan at gmail.com
Mon Oct 10 13:33:21 UTC 2022


Hello!
My opensips version is 3.1 with tm,dialog and rtpengine modules.
On incoming INVITE i'm creating an early dialog with 183 replies and i'm
playing audio to caller with rtpengine, no t_relay() on this step, OS is
acting as UAS endpoint.
If the caller cancels the invite with a CANCEL message - all works great.
But some users terminate dialog with BYE message.
1) on BYE with to-tag OS can't find dialog with match_dialog(), because
to-tag presents.
2) if i use load_dialog_ctx($ci) -  it is possible to handle BYE.
3) in early dialog termination with BYE we also need to send final response
to the INVITE transaction.

Maybe I did something wrong, but I can't handle the final response to
INVITE in this case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221010/fd178a33/attachment.html>


More information about the Users mailing list