[Asterisk-Users] NAT/Routing problem

Julian J. M. julianjm at gmail.com
Sun Feb 27 05:33:01 MST 2005


Is your asterisk server behind nat with port forwarded ports? If
so, have you tried adding this to your sip.conf?

[general]
externip=xxx.xxx.xxx.xxx    ; your external IP, provided by your ISP
localnet=192.168.0.0/255.255.255.0   ; your LAN
...
...

[ext102]
canreinvite=no
host=dynamic
nat=yes
.....
.....

Julian J. M.


> SIP debug shows that phone registers with public IP address of the site,
> while calls somehow go to local address.



More information about the asterisk-users mailing list