[Asterisk-Users] Asterisk problems behind firewall

M.N.A.Smadi smadim2 at grads.ece.mcmaster.ca
Wed Feb 9 15:35:36 MST 2005



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 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
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at 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
>




More information about the asterisk-users mailing list