Kamailio takes care of sending in-dialog keep-alives using OPTIONS when
dlg_set_attribute ka-src and ka-dst is used. It also sends OPTIONS to correct
address if a client sends Re-Invite indicating a network change, which is a
common case with mobile clients (switching between mobile-data and Wifi) fixed
in #273
The problem is that it ends the dialog on missing even one keep-alive response.
Missing a response is possible when the client is handling the network change
and keep-alive is sent around that time.
Thus, having a configurable counter after which you expect to end the dialog
might be helpful. For eg. you decide to end the dialog after we miss 3
responses for keep-alives in a row.
Something like dlg_set_attribute(ka-src, 3) where 3 indicates the number of
responses that can be missed before ending the dialog.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/438
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev