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@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@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users