[OpenSIPS-Users] How to make OpenSIPS send SIP BYE, by configuration, , before dialog timout?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Tue Nov 8 21:07:54 CET 2016


Dialogs in my OpenSIPS is programmed to finish after 60 seconds. (timeout = 1 minute).

So, when 2 peers are in a dialog, OpenSIPS sends SIP BYE to both peers, automatically after 60 seconds.

Is it possible to make OpenSIPS send this exact kind of SIP BYE to both peers, before the dialog timeout? I mean, in a configured way (opensips.cfg)?

When OpenSISP sends SIP BYE automatically, both peers receive the SIP BYE correctly.

However, when a peer sends SIP BYE, it reaches the OpenSIPS, but OpenSIPS is unable to forward this SIP BYE. Due to some unknown reason, in this moment there is no open socket to communicate with such peer. That is why I would like to make OpenSIPS send 'its own' SIP BYE, and see if such idea will simulate a normal situation, until I discover why there is a socket problem.

Any hint will be very helpful!

Best regards.

Inatel Competence Center
Ph: +55 35 3471 9200 RAMAL 979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161108/3f2ce23f/attachment-0001.htm>

More information about the Users mailing list