nathelper module has this variable:
4.3. ping_nated_only (integer)
If this variable is set then only contacts that have "behind_NAT" flag in user location database set will get ping.
i.e. nat pinging is bound to contact being behind nat.
in case of outbound, even if contact is behind nat, it should be excluding from nat pinging. this seems to be currently impossible.
looks like there should be two separate usrloc flags: the current "behind_NAT" flag and a new "NAT_ping_this_contact" flag.
comments?
-- juha
On 03/09/2013 08:37 PM, Juha Heinanen wrote:
looks like there should be two separate usrloc flags: the current "behind_NAT" flag and a new "NAT_ping_this_contact" flag.
comments?
There is in fact a separate flag in the devel version, introduced by Richard Fuchs: http://kamailio.org/docs/modules/devel/modules/nathelper.html#id2546274
Andrew Pogrebennyk writes:
There is in fact a separate flag in the devel version, introduced by Richard Fuchs: http://kamailio.org/docs/modules/devel/modules/nathelper.html#id2546274
i commented that in another email. the name of the flag does not match its description. does it work also when usrloc in in db only mode?
regarding db only mode, the nat ping flag should be its own column in location table, because the current query includes bitmap operation and thus cannot be optimized.
-- juha