[asterisk-users] INVITE Sending Local IP

Scott L. Lykens slykens at verimedservices.com
Thu Oct 1 09:56:35 CDT 2009


Mike -

If your router/firewall does not have any kind of SIP protocol-specific support then you need to set up port forwarding on your router.

Forward udp/5060 for signaling, and the matching udp ports as listed in your rtp.conf, to your Asterisk box. Keep the externip and localnet settings in place.

Depending on how many ports are listed in rtp.conf you may choose to reduce this range but make sure the forwarding in your router matches the ports in rtp.conf. Read the below links to help determine an appropriate number of ports if you choose to change it.

Some more information for you: 

http://www.voip-info.org/wiki/view/NAT+and+VOIP
http://www.voip-info.org/wiki/view/Asterisk+config+rtp.conf

PIX and ASA are specific models of firewalls from Cisco. They include a SIP protocol-specific "fixup" or "inspect" function that takes care of passing media through the firewall for you as long as you don't try to "fix" it yourself first.

sl


More information about the asterisk-users mailing list