<div dir="auto">Thank you Daniel for the latest update, I will try to test the latest 5.4 branch on the Dev environment and will come back here for any issues encountered.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Ilie.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue 22 Sep 2020 at 18:44, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><br><br>  <br><br>    <br><br>  <br><br>  <div><br><br>    <p>Hello,</p><br><br>    <p>the usrloc keepalive are done on its timer interval:</p><br><br>    <p>  -<br><br><a href="https://www.kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.timer_interval" target="_blank">https://www.kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.timer_interval</a></p><br><br>    <p>For the keepalive timeout I was misled by presence of the global<br><br>      variable in the usrloc, but was actually not exported by this<br><br>      module. I did it afterwards, just pushed to branch 5.4 as well.</p><br><br>    <p>While is not recommended to run both at the same time, imo<br><br>      nothing really bad can happen, you may see more keepalives for<br><br>      natted udp contacts (not for tls, tcp, ...).</p><br><br>    <p>As for an unorthodox and untested idea :-) : if you do not want<br><br>      to run from latest 5.4 branch yet, you can eventually set<br><br>      natping_interval to a very large value, like 20 years in seconds,<br><br>      so you are pretty sure you will do an upgrade before nathelper<br><br>      timer fires,</p><br><br>    <p>Cheers,<br><br><br>      Daniel<br><br><br>    </p></div><div><br><br>    <div>On 22.09.20 19:17, Ilie Soltanici<br><br>      wrote:<br><br><br>    </div><br><br>    </div><div><blockquote type="cite"></blockquote></div><div><blockquote type="cite"><br><br>      <br><br>      <div dir="ltr"><br><br>        <div>Hello,</div><br><br>        <div><br><br><br>        </div><br><br>        <div>Is there any way to add those functions from the nathelper<br><br>          module to the usrloc module?</div><br><br>        <div><br><br><br>        </div><br><br>        <div><b>keepalive_timeout<br><br><br>            natping_interval</b></div><br><br>        <div><br><br><br>        </div><br><br>        <div>I'm looking to use ka_mode feature from the usrloc module<br><br>          in order to have roundtrip time computed for each extension<br><br>          but because those functions are missing in the usrloc module<br><br>          and per documentation this functionality conflicts in some way<br><br>          with nathelper module it's not recommended to have both<br><br>          modules enabled.  Or maybe there is another way to have them<br><br>          "interconnected"?<br><br><br>        </div><br><br>        <div><br><br><br>        </div><br><br>        <div>Thank you.<br><br><br>        </div><br><br>      </div><br><br>      <br><br><br>      <fieldset></fieldset><br><br>      </blockquote></div><div><blockquote type="cite"><pre style="font-family:monospace">_______________________________________________<br><br>Kamailio (SER) - Users Mailing List<br><br><a href="mailto:sr-users@lists.kamailio.org" target="_blank" style="font-family:monospace">sr-users@lists.kamailio.org</a><br><br><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" style="font-family:monospace">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br><br></pre></blockquote></div><div><blockquote type="cite"><br><br>    </blockquote><br><br>    <pre cols="72" style="font-family:monospace">-- <br><br>Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank" style="font-family:monospace">www.asipto.com</a><br><br><a href="http://www.twitter.com/miconda" target="_blank" style="font-family:monospace">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank" style="font-family:monospace">www.linkedin.com/in/miconda</a><br><br>Funding: <a href="https://www.paypal.me/dcmierla" target="_blank" style="font-family:monospace">https://www.paypal.me/dcmierla</a></pre><br><br>  </div><br><br><br><br></blockquote></div></div>