I Cant Register on Asterisk server (10.1.1.3) from internet.
I get 403 Forbidden
Though i can register on local lan
i have forwarded ankycooper.com to my router (dynamic DNS It works well)
now on the router (10.1.1.1) i have fwd port 5060, 10000-20000 (TCP & UDP) to 10.1.1.3
My sip.conf is as follows
[general] context=default ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support. (Default is yes) bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) ; bindport is the local UDP port that Asterisk will ; listen on bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; Note: Asterisk only uses the first host ; in SRV records ; Disabling DNS SRV lookups disables the ; ability to place SIP calls based on domain ; names to some other SIP users on the Internet canreinvite=no dtmfmode = rfc2833 externip =ankycooper.com externhost=ankycooper.com fromdomain=ankycooper.com externrefresh = 5 localnet =10.1.1.0/255.255.255.0 qualify=yes
Also every user has nat=yes and qualify=yes