Also consider the setting localnet in sip.conf -----Original Message----- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Alex Balashov Sent: Tuesday, July 26, 2011 9:24 AM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] NAT yes
On 07/26/2011 09:19 AM, Flavio Miranda wrote: > In a no natted environment if I letnat=yes on sip.conf it would > cause some thing bad or it is irrelevant ? Anybody know ? There is no harm unless the endpoint you are dealing with does not do symmetric RTP. The nat=yes option assumes that it is okay to send RTP back to the source port from which it originated, irrespectively of what's in the SDP. This will cause one-way audio if the endpoint happens to want to receive RTP on a different port than the one it is sending it from. Almost all endpoints these days do symmetric RTP, though, so it's not a huge concern. That said, from a methodological and aesthetic perspective, it is better not to break standard RFC-compliant behaviour unnecessarily. Thus, I would not enable nat=yes unless there really is no direct network and transport-layer reachability to the endpoint. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users