[Asterisk-Users] Help with broadvoice outbound plz... ;)

kevin at imagereturn.com kevin at imagereturn.com
Fri Nov 26 21:25:56 MST 2004


*sigh*

Ok, I have fought and fought with this.  I have read all the FAQ's, I have
scanned the list archives.  I can receive calls on * from my Broadvoice
acct, but I cannot place calls...

I have the 'World Unlimited' plan, and like 5 area codes that are local to
me in Dallas.

Can anyone help me?

here are my config files...

- sip.conf -
[general]
context=default                 ; Default context for incoming calls
port=5060                       ; UDP Port to bind to (SIP
bindaddr=10.1.1.200     ; IP address to bind to (0.0.0.0 srvlookup=yes
    ; Enable DNS SRV lookups on
register => xxxxxxxxxx:secret at sip.broadvoice.com


externip = 209.30.232.185       ; Address that we're going to put in
outbound SIP messages
localnet=10.0.0.0/255.0.0.0     ; Also RFC1918

[broadvoice]
type=peer
nat=yes
username=xxxxxxxx (phone number)
secret=secret
disallow=all
allow=ulaw
dtmfmode=inband
fromuser=xxxxxxxxxx
fromdomain=sip.broadvoice.com
;host=147.135.0.128
canreinvite=no
insecure=very
srvlookup=yes
context=broadvoice

[broadvoice-in1]
type=peer
host=147.135.8.128
context=broadvoice
nat=yes

[broadvoice-in2]
type=peer
host=147.135.0.128
context=broadvoice
nat=yes

[kevin]
type=friend
regexten=1001
username=kevin
fromuser=[username]
secret=secret
host=dynamic
canreinvite=no
defaultip=10.1.1.16
amaflags=default



- extensions.conf -

[general]
static=yes
writeprotect=no

[globals]

[default]


exten => s,1,Wait,1
exten => s,2,answer()
exten => s,3,playback('pls-wait-connect-call')
exten => s,4,Goto(1001,1)
exten => s,5,hangup()

exten => 1001,1,Dial(SIP/kevin,15,r)
exten => 1001,2,Playback('why-no-answer-mystery')
exten => 1001,3,hangup()


exten => _9NXXNXXNXXX,1,Dial(SIP/${EXTEN:1}@broadvoice)
exten => _9NXXNXXNXXX,2,congestion()


I imagine that I should have different Dial commands for different call
types (local, ld) but since all are going through Broadvoice, it seems
that it should be all sent to the same place in the same format.

I am CoNfUsEd.


TIA!

- Kevin








More information about the asterisk-users mailing list