[SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?
Joel Serrano
joel at textplus.com
Wed Aug 29 17:47:09 CEST 2018
Hi Alex/Sergeu/Hamid,
This is super useful and I had no idea about it!
Would you mind sharing your modparam settings for dialog module relative to
keepalive?
I’d love to see what values you guys are using to have starting reference ;)
Thanks,
Joel.
On Wed, Aug 29, 2018 at 07:00 Sergiu Pojoga <pojogas at gmail.com> wrote:
> 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
>>
> _______________________________________________
> 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/699d96db/attachment.html>
More information about the sr-users
mailing list