[SR-Users] nathelper issues

Konstantin Polyakov piligrim_pk at mail.ru
Sun Apr 29 08:39:43 CEST 2018


Hello All,

Unfortunately we found two more bugs in the nathelper module in my favorite Kamailio! Oh my god!

1. nathelper doesn't send pings when db_mode=3 and db is mongodb. I will provide fix soon. The root cause is incorrect date format in get_all_db_ucontacts function in usrloc.
We need to use datatime type instead string.

2. nathelper doesn't send pings if ping_nated_only=0 (default value). It looks like incorrect condition in nh_timer in nathelper.

Definitely lack of testing. It is interesting how testing is organized in the Kamailio community?

Best regards.
Konstantin
ping_nated_only  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180429/84f81215/attachment.html>


More information about the sr-users mailing list