I had my asterisk@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
10000 ? 2000 UDP is wrong try 10000-20000UDP and try port forwarding rather than opening ports . It probably has to do with the ip of the server. mohammed Jeff R Glassman wrote:> I had my asterisk@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 > >------------------------------------------------------------------------ > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >