Hi
Im a VERY newbie on Asterisk. Have a problem with my newly setup asterisk server.
Dialing between extensions work fine, dialing out via my sip provider works fine. Dialing from public phone net to my SIP number always get’s a busy tone.
I have made a sip debug and can see that the call hits my server.
Can you gurus take a look at my sip.conf and extension.conf (the only two that i have edited) and point me in the correct direction?
----- SIP.CONF -----
[general]
bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
disallow=all
allow=ulaw
allow=alaw
context=default
callerid=Unknown
;useragent=Asterisk Cellip
deny=0.0.0.0/0.0.0.0
permit=192.168.200.0/255.255.252.0
register => USERNAME:SECRET@sip.provider.com/1000
[mysecretary]
type=peer
username=USERNAME
fromuser=USERNAME
secret=SECRET
host=sip.provider.com
fromdomain=sip.provider.com
;context=cellip-in
context=from-trunk
insecure=port,invite
canreinvite=no
[gert]
type=friend
context=phones
host=dynamic
[nisse]
type=friend
context=phones
host=dynamic
----- EXTENSIONS.CONF -----
[general]
static=yes
writeprotect=no
autofallthrough=yes
include => from-trunk
[globals]
[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,2,Answer()
exten => s,3,Wait(1)
exten => s,4,Playback(tt-weasels)
exten => s,5,Hangup()
exten => _.,1,Dial(SIP/${EXTEN}@mysecretary)
exten => _.,2,Hangup()
[from-trunk]
exten => 1000,1,Dial(SIP/gert)
exten => 1000,2,Hangup()
[internal]
exten => s,1,Verbose(1|Echo test application)
exten => s,n,Echo()
exten => s,n,Hangup()
exten => 2000,1,Verbose(1|Extension 2000)
exten => 2000,n,Dial(SIP/gert,30)
exten => 2000,n,Hangup()
exten => 2002,1,Verbose(1|Extension 2002)
exten => 2002,n,Dial(SIP/nisse,30)
exten => 2002,n,Hangup()
[phones]
include => internal
include => default