Ok folks, having a bit of trouble getting softphones to work on my asterisk configuration.
Here’s how everything is set up:
[ul]192.168.254.254 - Modem/Router (internal IP address)
192.168.254.5 - Web Server
192.168.254.6 - Asterisk Server
192.168.254.7 - Linksys PAPT2 (extensions 501 and 502)
[/ul]
/etc/asterisk/sip.conf:
[code][general]
context=general
useragent=Asterisk PBX
bindport=5060
nindaddr=0.0.0.0
language=en
disallow=all
disable=all
allow=alaw
allow=ulaw
allow=g729
allow=gsm
allow=slinear
srvlookup=yes
nat=yes
[501]
type=friend
context=phones
host=dynamic
[502]
type=friend
context=phones
host=dynamic
[/code]
On the modem/router I have TCP ports 5060, and 10000 through 20000 open, along with UDP port 5060. What I’d like to do is set up extensions 503 - 509 on softphones (like X-Lite) from external locations (i.e. non-192.168.254.x IP addresses). However, every time I try with these settings, I get an error 408, “Registration Timeout” on the softphone side, and on the asterisk side (verbosity set to 10), I get nothing. The attempted registration doesn’t even show up.
Are the wrong ports open, or do I need to change my configuration somehow?
Thanks!