[sr-dev] [kamailio/kamailio] nathelper always sends SIP pings when ping_nated_only is set to 0 (#1587)

Daniel-Constantin Mierla notifications at github.com
Wed Jul 11 18:35:59 CEST 2018


I ended up by using the combination of ping_nated_only being 0 and setting sipping_flag, assuming that if one wants to ping all contacts with 4-bytes, it doesn't need to set sipping_flag parameter at all.

If anyone has another suggestion, just write here.

An option that I am somehow considering is to add a new one or rename this parameter for controlling the ping mode, like `ping_mode`: 0 - use message/branch flags to decide, 1 - all contacts with 4 bytes, 2 - all contacts with sip requests

Testing and reporting the behaviour with the above patch is appreciated. If all ok, then I will backport.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1587#issuecomment-404233767
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180711/01214b7f/attachment.html>


More information about the sr-dev mailing list