[SR-Users] usrloc - ka_mode timeout

Ilie Soltanici iliusha.md at gmail.com
Tue Sep 22 19:58:29 CEST 2020


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.

Regards,
Ilie.

On Tue 22 Sep 2020 at 18:44, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

>
>
>
>
>
>
>
>
>
>
> Hello,
>
>
> the usrloc keepalive are done on its timer interval:
>
>
>   -
>
>
> https://www.kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.timer_interval
>
>
> For the keepalive timeout I was misled by presence of the global
>
> variable in the usrloc, but was actually not exported by this
>
> module. I did it afterwards, just pushed to branch 5.4 as well.
>
>
> While is not recommended to run both at the same time, imo
>
> nothing really bad can happen, you may see more keepalives for
>
> natted udp contacts (not for tls, tcp, ...).
>
>
> As for an unorthodox and untested idea :-) : if you do not want
>
> to run from latest 5.4 branch yet, you can eventually set
>
> natping_interval to a very large value, like 20 years in seconds,
>
> so you are pretty sure you will do an upgrade before nathelper
>
> timer fires,
>
>
> Cheers,
>
>
> Daniel
>
>
>
>
> On 22.09.20 19:17, Ilie Soltanici
>
> wrote:
>
>
>
>
>
>
>
>
>
>
> Hello,
>
>
>
>
>
>
>
> Is there any way to add those functions from the nathelper
>
> module to the usrloc module?
>
>
>
>
>
>
>
>
>
>
> *keepalive_timeout natping_interval*
>
>
>
>
>
>
>
> I'm looking to use ka_mode feature from the usrloc module
>
> in order to have roundtrip time computed for each extension
>
> but because those functions are missing in the usrloc module
>
> and per documentation this functionality conflicts in some way
>
> with nathelper module it's not recommended to have both
>
> modules enabled.  Or maybe there is another way to have them
>
> "interconnected"?
>
>
>
>
>
>
>
>
>
> Thank you.
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
>
> Kamailio (SER) - Users Mailing List
>
> sr-users at lists.kamailio.org
>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
>
> --
>
> Daniel-Constantin Mierla -- www.asipto.com
>
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>
> Funding: https://www.paypal.me/dcmierla
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200922/2128266b/attachment.htm>


More information about the sr-users mailing list