[Asterisk-Users] Help With Broadvoice {Scanned}

David Shaw asterisk at ke6upi.com
Wed Feb 16 13:47:34 MST 2005


I have two BV accounts. For host= I used sip.broadvoice.com at first.
Then I changed it to the faster proxy. My sip.conf looks just like this
without all the extensions.

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 => phone-number1:sip-passwd1 at sip.broadvoice.com
register => phone-number2:sip-passwd2 at sip.broadvoice.com

[broadvoice1]
type=friend
username=phone-number
fromuser=phone-number
secret=sip-passwd
host=sip.broadvoice.com		;you need to check BV proxy
fromdomain=sip.broadvoice.com
context=from-broadvoice1
dtmfmode=inband
disallow=all
allow=ulaw
canreinvite=no
nat=no

[bv-in-1]
type=friend
host=sip.broadvoice.com		;you need to check BV proxy
context=from-broadvoice1
dtmfmode=inband
canreinvite=no
nat=no
allow=ulaw

[broadvoice2]
type=friend
username=phone-number2
fromuser=phone-number2
secret=sip-passwd2
host=sip.broadvoice.com		;you need to check BV proxy
fromdomain=sip.broadvoice.com
context=from-broadvoice2
dtmfmode=inband
disallow=all
allow=ulaw
canreinvite=no
nat=no

[bv-in-2]
type=friend
host=sip.broadvoice.com		;you need to check BV proxy
context=from-broadvoice2
dtmfmode=inband
canreinvite=no
nat=no
allow=ulaw

:extensions

[100]
type=friend
username=100
secret=passwd
host=dynamic
mailbox=100
callerid="Kelli" <100>
nat=no

[101]
type=friend
username=101
secret=passwd
host=dynamic
callerid="David" <101>
mailbox=101
nat=no


On Wed, 2005-02-16 at 10:19 -0800, Max Clark wrote:
> David,
> 
> Thanks for the reply. Just to clarify, is the register and first 
> type=friend block all within the [general] section of sip.conf?
> 
> Thanks,
> Max
> 
>    Max Clark
>    max [at] clarksys.com
>    http://www.clarksys.com
> 
> 
> David Shaw wrote:
> > Here is my conf files.
> > 
> > sip.conf
> > 
> > register => phone#:sip/passwd at sip.broadvoice.com
> > 
> > type=friend
> > username=phone#
> > fromuser=phone#
> > secret=sip/passwd
> > host=sip.broadvoice.com
> > fromdomain=sip.broadvoice.com
> > context=from-broadvoice1
> > dtmfmode=inband
> > disallow=all
> > allow=ulaw
> > canreinvite=no
> > nat=no
> > 
> > [bv-in-1]
> > type=friend
> > host=sip.broadvoice.com
> > context=from-broadvoice1
> > dtmfmode=inband
> > canreinvite=no
> > nat=no
> > allow=ulaw
> > 
> > extensions.conf
> > exten => _NXXXXXX,1,Dial(SIP/${EXTEN}@broadvoice1)
> > exten => _011XXXXXXXXXXXX,1,Dial(SIP/${EXTEN}@broadvoice1)
> > 
> > 
> > 
> > On Wed, 2005-02-16 at 00:52 -0500, Randy Johnson wrote:
> > 
> >>Remember that the password is not your broadvoice website password but 
> >>the one you need to get from broadvoice support.
> >>
> >>Randy
> >>
> >>
> >>Greg Hill wrote:
> >>
> >>
> >>>On Tue, 15 Feb 2005, Max Clark wrote:
> >>>
> >>> 
> >>>
> >>>
> >>>>I have experimented with several configs based on different pages and
> >>>>threads but nothing is working. How do I properly configure my
> >>>>broadvoice account?
> >>>>
> >>>>[general]
> >>>>register => 310584XXXX at sip.broadvoice.com:<pass>:310584XXXX at sip.broadvoice.com
> >>>>   
> >>>>
> >>>
> >>>the register I'm using looks like this:
> >>>register => 310584XXXX:<pass>@sip.broadvoice.com
> >>>
> >>> 
> >>>
> >>>
> >>>>[broadvoice]
> >>>>type=peer
> >>>>host=sip.broadvoice.com
> >>>>secret=<pass>
> >>>>fromuser=310584XXXX
> >>>>fromdomain=sip.broadvoice.com
> >>>>context=incoming
> >>>>dtmfmode=inband
> >>>>canreinvite=no
> >>>>nat=yes
> >>>>qualify=yes
> >>>>   
> >>>>
> >>>
> >>>try:
> >>>
> >>>[broadvoice]
> >>>type=peer
> >>>username=310584XXXX
> >>>secret=<pass>
> >>>host=sip.broadvoice.com
> >>>port=5060
> >>>context=incoming
> >>>fromuser=310584XXXX
> >>>fromdomain=sip.broadvoice.com
> >>>dtmfmode=inband
> >>>canreinvite=no
> >>>insecure=very
> >>>permit=147.135.8.128/32
> >>>qualify=yes
> >>>
> >>>and adjust your permit= line to match the IP of the BV proxy you've set in
> >>>your /etc/hosts (proxy.[chi|lax|dca|one other I forgot].broadvoice.com).
> >>>
> >>>Try a blend of this stuff with whatever the most recent recommendation on
> >>>their support page says.
> >>>
> >>>Greg
> >>>
> >>>
> >>>_______________________________________________
> >>>Asterisk-Users mailing list
> >>>Asterisk-Users at 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
> >>>
> >>> 
> >>>
> >>
> >>_______________________________________________
> >>Asterisk-Users mailing list
> >>Asterisk-Users at 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
> >>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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 <asterisk at ke6upi.com>




More information about the asterisk-users mailing list