Hello,
On 10/12/15 08:25, Jayesh Nambiar wrote:
Hi,
I'm using dlg_set_property(ka-src) and dlg_set_property(ka-dst) to
keep alive my clients. In case of a network change the client does a
Re-Invite with the new contact address and kamailio does keep-alives
to the new address properly as the fix reported here:
https://github.com/kamailio/kamailio/issues/273
The problem happens when the Re-Invite transaction on the client side
is not complete and kamailio happens to send an OPTIONS keep-alive at
that same time, the client fails to send back a 200 OK, because the
client itself is trying to gain access on the new network.
So as a work-around I thought would it be possible to end the dialog
on missing at least 3 responses and not killing the dialog if one
response is missed. Can it be a configurable parameter in the dialog
module or something on those lines. Just a suggestion !!
at this moment it is not such counter. But I think it is enough to
keeping it in memory only (no database backup for failed keep alives),
which means should be easier to add. You can open an item on the tracker
with a feature request for this.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio -
http://www.asipto.com
http://miconda.eu