[sr-dev] solving nat pinging hassle

Richard Fuchs rfuchs at sipwise.com
Tue Mar 12 22:00:50 CET 2013


On 03/12/13 16:32, Juha Heinanen wrote:

> i would have liked to solve this problem by introducing a new nathelper
> var "nat ping this contact bflag" that tells which bflag to check when
> deciding if a contact should be nat pinged.  that bflag would then be
> set before registrar save() is called in addition to setting the "behind
> nat" bflag.

Personally I don't really care either way, but my gut feeling tells me
that the nathelper module should ping NAT'd contacts by defaults without
requiring an additional flag. Otherwise it wouldn't be much of a
nathelper module, but more of a kind of generic contact-pinger module.
Plus, requiring an additional flag to be set to get old behaviour back
would break backwards compatibility. Anyway, those were the reasons to
create a flag to explicitly and selectively disable NAT pings instead.

BR

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20130312/090befbd/attachment.pgp>


More information about the sr-dev mailing list