[Asterisk-Users] Asterisk behind LinkSys NAT Routing

William Waites asterisk at lists.styx.org
Mon Nov 3 18:46:40 MST 2003


On Mon, 3 Nov 2003 17:10:10 -0600 (CST), Martin Pycko wrote
> It doesn't care about the phones. If you phones are behind nat use nat=yes
> for each defined account.

The fix is incorrect. Asterisk chan_sip.c must distinguish between
SIP peers that are behind the firewall (together with the *) and those
that are on the outside. Either the configuration flag use_extern_ip
must be specific to a peer, or it must be figured out in some other
way. A global variable won't do since it creates a situation where
either external or internal peers will work but not both.





More information about the asterisk-users mailing list