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