[asterisk-users] nat=yes

bilal ghayyad bilmar_gh at yahoo.com
Tue Sep 11 08:58:34 CDT 2007


Dear Benjamin;

So in that case, when we set nat = yes? For what we do
this?

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



       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting 



More information about the asterisk-users mailing list