I had problems as well. It was do to my sip.conf and extension.conf

Here are my conf files.

sip.conf


[general]
port=5060                     ; Port to bind to
bindaddr=0.0.0.0              ; Address to bind SIP channel to
context=default               ; Default context for incoming calls


register => number:[EMAIL PROTECTED]/102
register => XXXXXXXXXX:[EMAIL PROTECTED]

[broadvoice]   ;----------------------> This is what messed me up. This
type=friend                           ; is up you will use in your exten
username=XXXXXXXXXX                   ; line @broadvoice.
fromuser=XXXXXXXXXX
secret=sip-passwd
host=sip.broadvoice.com
fromdomain=sip.broadvoice.com
context=from-broadvoice
dtmfmode=inband
disallow=all
allow=ulaw
canreinvite=no
nat=yes

[bv-in]
type=friend
host=sip.broadvoice.com
context=from-broadvoice
dtmfmode=inband
canreinvite=no
nat=yes
allow=ulaw

extension.conf

[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp                             ; Console interface for
demo
IAXINFO=guest                                   ; IAXtel
username/password
TRUNKMSD=1                                      ; MSD digits to strip
(usually 1 or 0)


[default]
include => DISA

exten => _0[1-9],1,Background,pls-hold-while-try
exten => _0[1-9],2,Dial(SIP/[EMAIL PROTECTED])
exten => _1XX,1,Dial(SIP/[EMAIL PROTECTED])
exten => _911,1,Goto(911,911,1)
exten => _NXXXXXX,1,Dial(SIP/[EMAIL PROTECTED])
exten => _NXXXXXX,2,Dial(SIP/[EMAIL PROTECTED])
exten => _1NXXNXXXXXX,1,Dial(SIP/[EMAIL PROTECTED])
exten => _8500,1,Goto(VoiceMail,8500,1)

[from-broadvoice]
exten => s,1,Wait(2)
exten => s,2,Answer
exten => s,3,DigitTimeout,5
exten => s,4,ResponseTimeout,5
exten => s,5,Background,welcome
exten => s,6,Background,if-u-know-ext-dial
exten => 8501,1,Goto(DISA,8501,1)
exten => 8510,1,Goto(8510,8510,1)
exten => i,1,Playback,pbx-invalid
exten => i,2,Goto,s|6
exten => t,1,Goto,0|1
exten => _##,1,Hangup

[from-pbx1]
exten => 8510,1,Dial(SIP/8510,10)
exten => 8510,2,Voicemail,u8510

[8510]
exten => 8510,1,Wait(2)
exten => 8510,2,Answer
exten => 8510,3,Background,pls-hold-while-try
exten => 8510,4,Dial(SIP/8510,10)
exten => 8510,5,Background,pls-hold-while-try
exten => 8510,6,Dial(SIP/[EMAIL PROTECTED],15)
exten => 8510,7,Background,tt-somethingwrong
exten => 8510,8,Voicemail,u8510

[VoiceMail]
exten => 8500,1,VoicemailMain

[DISA]
exten => 8501,1,Answer
exten => 8501,2,Wait,1
exten => 8501,3,DigitTimeout,5
exten => 8501,4,ResponseTimeout,10
exten => 8501,5,Authenticate(XXXXXXXXXXX)
exten => 8501,6,DISA,no-password|default
exten => i,7,Hangup

[911]
exten => _911,1,Background,no-911-1
exten => _911,2,Dial(SIP/8510,20)
exten => _911,3,Goto(default,911,1)


I hope this helps.

David


On Mon, 2005-02-07 at 14:36 -0800, Luki wrote:
> > You are probably using your website password
> The password used for registering is the same you use for outgoing
> calls -- yes, it's different from your "portal" password. So if you
> can register and receive calls, you have the password you need.
> 
> Double check that you use the section name from sip.conf in your dial
> plan, and that you have the correct password as well as the fromuser
> and username set in the broadvoice section in sip.conf.
> 
> As Rich said before, post your relevant sip.conf (register statement
> and BV section) and your dialplan entry.
> 
> --Luki
> _______________________________________________
> 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
> 
-- 
David Shaw <[EMAIL PROTECTED]>

_______________________________________________
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

Reply via email to