[asterisk-dev] [Code Review]: Change the default nat setting to "yes"

Terry Wilson reviewboard at asterisk.org
Fri Nov 18 11:12:51 CST 2011



> On Nov. 18, 2011, 10:55 a.m., Leif Madsen wrote:
> > /branches/1.4/configs/sip.conf.sample, line 365
> > <https://reviewboard.asterisk.org/r/1591/diff/1/?file=21809#file21809line365>
> >
> >     Same issue here; you're not really being specific that the recommended setting is nat=yes. The note just says that if things are different, they are bad :)

I'll answer both questions here. I'm not being specific that the recommended settings is nat=yes because it isn't. :-) It is just that nat is not different between "general" and "per-peer".


- Terry


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1591/#review4820
-----------------------------------------------------------


On Nov. 18, 2011, 10:50 a.m., Terry Wilson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1591/
> -----------------------------------------------------------
> 
> (Updated Nov. 18, 2011, 10:50 a.m.)
> 
> 
> Review request for Asterisk Developers and Kevin Fleming.
> 
> 
> Summary
> -------
> 
> Change the default to nat=yes, update CHANGES explaining the change, remove nat= from example peers, and add a big warning about having different nat= settings in [general] and peer configs.
> 
> 
> This addresses bug ASTERISK-18862.
>     https://issues.asterisk.org/jira/browse/ASTERISK-18862
> 
> 
> Diffs
> -----
> 
>   /branches/1.4/configs/sip.conf.sample 345544 
>   /branches/1.4/channels/chan_sip.c 345544 
>   /branches/1.4/CHANGES 345544 
> 
> Diff: https://reviewboard.asterisk.org/r/1591/diff
> 
> 
> Testing
> -------
> 
> Created users of various nat flavors and verified that the default was changed and that 'sip show peer' reported that nat was set as it should be.
> 
> 
> Thanks,
> 
> Terry
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20111118/2e4c9ff9/attachment.htm>


More information about the asterisk-dev mailing list