[asterisk-dev] [Code Review]: Add a SIP nat=auto setting

Saúl Ibarra Corretgé saghul at gmail.com
Wed Feb 8 11:44:29 CST 2012


> If we continue to not do combinable options, then we would have:
>
> nat=no
> nat=force_rport
> nat=comedia
> nat=yes
> nat=auto_force_rport
> nat=auto_force_comedia
> nat=auto ; to be consistent with the nat=yes for combining the non-auto options
>
> This doesn't seem too bad to me, to be honest. It seems cleaner than trying to combine auto and non-auto flags. No matter what we do, people will really need to read the docs to know what each value means--but only if we choose a default that doesn't work for them. :-)
>

I like this proposal, it is consistent and it has a sense of symmetry, +1.


Regards,

-- 
/Saúl
http://saghul.net | http://sipdoc.net



More information about the asterisk-dev mailing list