1. Ok I think I found the cause for the problem:
First of all I noticed that the dialog doesn't timeout if the ka_timer
module parameter is less or equal to 10 secs. If it is above 10 secs then
everything works.
I use the master branch and in the dialog module (
https://github.com/kamailio/kamail
Thanks Kelvin, but I already have tried this. This is exactly what I wrote
that the issue is: Despite having set those options, and the keep alives
are sent, the dialog does not timeout as it should when no reply is sent to
the keep-alive OPTIONS msg by the dst peer.
I am using the master branch a
try this
modparam("dialog", "ka_timer", 3)
modparam("dialog", "ka_interval", 10)
these 2 will make sure it will disconnect within 30 seconds
dlg_set_property("ka-src");
dlg_set_property("ka-dst");
thesse 2 will make sure that keep alive timers will apply to the c