[SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?
Sergiu Pojoga
pojogas at gmail.com
Wed Aug 29 15:58:48 CEST 2018
Alex's suggestion works fine for me as well.
Have you tried using dialog functions, like so:
dlg_manage();
dlg_set_property("timeout-noreset"); # don't reset timeout on in-dialog
messages reception
#set dialog properties. If any party disappears from the network - issue a
BYE after timeout on OPTIONS
dlg_set_property("ka-src"); # send keep alive OPTION requests to caller
dlg_set_property("ka-dst"); # send keep alive OPTION requests to callee
On Wed, Aug 29, 2018 at 9:46 AM Alex Balashov <abalashov at evaristesys.com>
wrote:
> On Wed, Aug 29, 2018 at 01:43:52PM +0000, Hamid Hashmi wrote:
>
> > I already tried this but it didn't work. There are no OPTIONS packet
> > to caller or callee.
>
> I use it; it works. I would troubleshoot that angle further.
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180829/5c43806a/attachment.html>
More information about the sr-users
mailing list