[asterisk-users] nat=yes

Benjamin Jacob benjamin.jacob at mgl.com
Sun Sep 9 23:06:51 CDT 2007


C F, I have nat=yes set by default for all my extensions(with 
canreinvite=no). And things work fine.

Bilal, about Asterisk sending packets to public/private :
Asterisk will send packets to the public IP advertised by the msg/recv 
from address. It is the NAT's headache on the endpoints network 
periphery to send the response from Asterisk to the endpoint.


C F wrote:

>If you set yes then asterisk assumes that the address its coming from
>is not the same as the UA thinks it is. most devices will not operate
>properly if set to yes when they are in fact local.
>
>On 9/9/07, bilal ghayyad <bilmar_gh at yahoo.com> wrote:
>  
>
>>Hi List;
>>
>>If I set nat=yes, then asterisk will send the packets
>>to the public IP address or to the private IP address
>>(which will be for the endpoint that is behind the
>>nating)?
>>
>>And by setting the nat=yes, then what exactly will be
>>ignored at asterisk side when reading the
>>registeration messages from the endpoint?
>>
>>Any help.
>>
>>Regards
>>Bilal
>>
>>
>>
>>____________________________________________________________________________________
>>Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated
>>for today's economy) at Yahoo! Games.
>>http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
>>
>>_______________________________________________
>>
>>Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/
>>
>>--Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>>asterisk-users mailing list
>>To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>    
>>
>
>_______________________________________________
>
>Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 
>
>--Bandwidth and Colocation Provided by http://www.api-digital.com--
>
>asterisk-users mailing list
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>  
>


EMAIL DISCLAIMER : This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. If you receive this transmission in error, please notify the sender by reply email and then destroy the message. Opinions, conclusions and other information in this message that do not relate to official business of Mascon shall be understood to be neither given nor endorsed by Mascon. Any information contained in this email, when addressed to Mascon clients is subject to the terms and conditions in governing client contract.

Whilst Mascon takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Mascon grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. 





More information about the asterisk-users mailing list