<div dir="ltr">Joel,<div><br></div><div>I'm not all too sure about the <i>ka_timer</i>, but it must be more or less how you described it. In my observation below, when caller disappears from the network, Kamailio sends 10 OPTIONS requests followed by 10 BYE if no reply received, which is probably the value of <i>ka_timer</i>.</div><div><br></div><div><div><img src="cid:ii_jlglvnxq0" alt="image.png" width="562" height="277"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 29, 2018 at 2:58 PM Joel Serrano <<a href="mailto:joel@textplus.com">joel@textplus.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm confused with these:<br><br>modparam("dialog", "ka_timer", 10)<br>modparam("dialog", "ka_interval", 300)<div><br></div><div>Would this be more or less correct:</div><div><br></div><div>ka_timer = "run the keep-alive timer every Xs"</div><div>ka_interval = "send options keep-alive packets every Xs"</div><div><br></div><div>But.. how are they related?</div><div><br></div><div>I think it's:</div><div><br></div><div>- The <i>ka_timer</i> is what sends the OPTIONS but they will only be sent every <i>ka_interval</i> to endpoints? So in the 10s example, the timer is run every 10s, it checks if <i>ka_interval </i>has passed since last OPTIONS was sent to endpoint, and acts accordingly... This means that the combinations of ka_timer=10 with ka_interval=300 would send OPTIONS ever 300-309s right?</div><div><br></div><div>Does this make sense?</div><div><br></div><div>Thanks, </div><div>Joel.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 29, 2018 at 10:20 AM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Wed, Aug 29, 2018 at 01:18:24PM -0400, Sergiu Pojoga wrote:<br>
<br>
> Hi Joel,<br>
> <br>
> I personally use the values from examples:<br>
> <br>
> modparam("dialog", "ka_timer", 10)<br>
> modparam("dialog", "ka_interval", 300)<br>
> modparam("dialog", "send_bye", 1)<br>
<br>
</span>That's more or less how I roll, too.<br>
<div class="m_4514408790459213236HOEnZb"><div class="m_4514408790459213236h5"><br>
-- <br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) <br>
Web: <a href="http://www.evaristesys.com/" rel="noreferrer" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" rel="noreferrer" target="_blank">http://www.csrpswitch.com/</a><br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>