[Asterisk-Users] Asterisk problems behind firewall
Jeff R Glassman
jrglass at columbus.rr.com
Wed Feb 2 21:58:47 MST 2005
I had my asterisk at home server working fine SPA-8841 SPA-2100. It was on an
open IP no fire wall. I moved the server behind the firewall. Now the
phones will not dial out. The phones can be called from a DID or calling to
the main POTS number and dialing the extension. However neither side can
hear each other
I opened the following ports in my router
22 TCP
5060 UDP*
5080 UDP*
10000 - 2000 UDP
80 TCP
* I have each SPA on different Sip port since they are on the same
network.
Any ideas what else I should do to get it working?
SIP.CONF
[general]
port = 5060 ; Port to bind to (SIP is 5060)
bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)
disallow=all
allow=ulaw
allow=alaw
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
#include sip_nat.conf
#include sip_additional.conf
sip_additional.conf
205]
username=205
type=friend
secret=[PASSWORD]
qualify=no
port=5060
nat=yes
mailbox=205
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid="Spa-2100 L1" <205
[210]
username=210
type=friend
secret={PASSWORD}
qualify=no
port=5080
nat=yes
mailbox=210
host=dynamic
dtmfmode=rfc2833
context=from-internal
canreinvite=no
callerid="SPA-841" <210
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050202/b8dc3ca6/attachment.htm
More information about the asterisk-users
mailing list