[SR-Users] NAT pinging after service restart

Jacob Greene jacobgreene1991 at gmail.com
Tue Apr 21 04:04:53 CEST 2020


Hello again,

My original post was incorrect. The nat pinging actually works perfectly on
restart. It turns my issue was with the "keepalive_timeout" module param in
the nathelper module.

For some reason whenever keepalive_timeout is set, when Kamailio is
restarted after a few seconds "Expires" is reset to 10 for all contacts.
They will get loaded into memory from the db with correct expires and then
get reset to 10, and expire after those 10 seconds.. Disabling
"keepalive_timeout" fixes the issue, also enabling a second pinger process
seems to fix the issue as well.

Figured I post this here in case someone is having a similar issue on 5.3.
Not sure if this is a bug or if I'm not understanding something correctly.





On Fri, Apr 17, 2020 at 1:51 PM Jacob Greene <jacobgreene1991 at gmail.com>
wrote:

> Hello everyone!
>
> When I restart the Kamailio service, NAT pinging for all existing
> location records stops and does not start until the UA registers again. I'm
> using db_mode 2, and all of the registrations will be there, but for some
> reason Kamailio wont restart the pinging cycle. Is it possible to configure
> Kamailio to restart NAT pinging in the event of a service restart?
>
> Thanks for reading!
>
> Jake Greene
> Voice Engineer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200420/312994b0/attachment.html>


More information about the sr-users mailing list