I am an Asterisk beginner. I have been using a Sipura
SPA-3000 as a voip-voip gateway using 2 Broadvoice lines. I wish to use Asterisk to replace it. I took the
SPA-3000 off-line. I have Asterisk version 1.0.9 installed and configured, but I can't get it to work. I would appreciate any assistance.
The two numbers register with no problem, but when I call the entry number I get a fast busy. I am sure I am missing something. Here are my config files:
sip.conf file:
[general]
pedantic=no
port=5060
context=incoming
bindaddr=0.0.0.0
srvlookup=yes
disallow=all
allow=ulaw
allow=alaw
allow=gsm
;-----------------------------------------------------------------------------------
register => 330XXXXX93@sip.broadvoice.com:secret...broadvoice.com/330XXXXX93
register => 330XXXXX77@sip.broadvoice.com:secret...broadvoice.com/330XXXXX77
;-----------------------------------------------------------------------------------
[330XXXXX93] ; Entry Number
type=peer
;user=phone
host=sip.broadvoice.com
fromuser=330XXXXX93
secret=secret
username=330XXXXX93
insecure=very
context=in-sip
authname=330XXXXX93
dtmfmode=inband
dtmf=inband
canreinvite=no
nat=yes
[330XXXXX77] ; Termination Number
type=peer
;user=phone
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
fromuser=330XXXXX77
secret=secret
username=330XXXXX77
insecure=very
context=outgoing
authname=330XXXXX77
dtmfmode=inband
dtmf=inband
canreinvite=no
nat=yes
extensions.conf file:
[general]
static=yes
writeprotect=no
;-----------------------------------------------------------------------------------
[outgoing]
exten=>_1NXXNXXXXXX,1,dial(SIP/${EXTEN}@330XXXXX77,30)
exten=>_1NXXNXXXXXX,2,congestion()
exten=>_1NXXNXXXXXX,102,busy()
[incoming]
exten=>s,1,Wait,1
exten=>s,2,Answer
exten=>s,3,responsetimeout(10)
exten=>s,4,DigitTimeout(3)
exten=>s,5,ResetCDR(w)
exten=>s,6,DISA(no-password|outgoing)
;exten=>s,6,DISA(/etc/asterisk/disa.conf)
exten=>s,7,Congestion
[in-sip]
exten=>330XXXXX93,1,goto(incoming,s,1)
exten=>330XXXXX77,1,goto(outgoing,s,1)
Thanks in advance your help.