[Asterisk-Users] Broadvoice Multiple "lines" {Scanned}

Marios Andreou marios at comand.net
Fri Mar 11 11:14:25 MST 2005


Use this for the register:
 register => XXXXXXXXXX at sip.broadvoice.com:password:XXXXXXXXXX at sip.broadvoice.com/<ext1>
 register => XXXXXXXXXX at sip.broadvoice.com:password:XXXXXXXXXX at sip.broadvoice.com/<ext2>

The <ext1> and <ext2> are the extension that you like to ring when a phone call comes in.
Actually is an extension in your extensions.conf so you can have it to do whatever you like.

To place outgoing calls for example  <ext1> use bv1 and <ext2> use bv2 account have the ext1 and ext2 on different context.
Like in sip.conf:
[<ext1>]
context=for-ext1
... So on ...

[<ext2>]
context=for-ext2
... So on ...

In extensions.conf:

[for-ext1]
..........
exten => _1NXXNXXXXXX,1, Dial(SIP/${EXTEN}@broadvoice1,30) ; Dial Broadvoice for 30 seconds
exten => _1NXXNXXXXXX,2, Congestion() ; No answer, nothing
exten => _1NXXNXXXXXX,102, Busy() ; Busy
...........
include => (common stuff so ext1 can call ext2 directly)

[for-ext2]
..........
exten => _1NXXNXXXXXX,1, Dial(SIP/${EXTEN}@broadvoice2,30) ; Dial Broadvoice for 30 seconds
exten => _1NXXNXXXXXX,2, Congestion() ; No answer, nothing
exten => _1NXXNXXXXXX,102, Busy() ; Busy
include => (common stuff so ext1 can call ext2 directly)

So when the SIP phones register are in a different context and when they try to place a call they will pick there own broadvoice
account.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of David Shaw
Sent: Friday, March 11, 2005 12:57 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Broadvoice Multiple "lines" {Scanned}

I also have multiple line with Broadvoice. I would like to have each
incoming line ring a different extension and configure an internal user
to use his or her own broadvoice line..

Here is my sip.conf

register =>
XXXXXXXXXX at sip.broadvoice.com:password:XXXXXXXXXX at sip.broadvoice.com


register =>
AAAAAAAAAA at sip.broadvoice.com:password:AAAAAAAAAA at sip.broadvoice.com

[broadvoice1]
type=peer
username=XXXXXXXXXX
fromuser=XXXXXXXXXX
authuser=XXXXXXXXXX
secret=password
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=yes
nat=no
allow=ulaw

[broadvoice2]
type=peer
username=AAAAAAAAAA
fromuser=AAAAAAAAAA
authuser=AAAAAAAAAA
secret=password
host=sip.broadvoice.com
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
context=from-broadvoice2
dtmfmode=inband
canreinvite=yes
nat=no
allow=ulaw

so on so on

But all incoming calls on Broadvoice uses extensions.conf [broadvoice4]
or what evers the last line for broadvoice.


On Wed, 2005-03-09 at 18:53 -0600, James Taylor wrote:
> I configured this once now I forgot what I did.
> 
> Two Broadvoice accounts.
> Incoming is simple - just use the phone numbers.
> 
> Outgoing:
> 
> Dial out on a specific line
> and/or
> set up the groups and select the other "line" if the first one is busy?
> 
> 
> -- 
> James Taylor
> MetroTel
> 3505 Summerihll Road
> Suite 11
> Texarkana, Texas  75503
> 903-793-1956
> _______________________________________________
> 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





More information about the asterisk-users mailing list