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
James Pooton
2005-Mar-09 18:07 UTC
[Asterisk-Users] Single FXS port with multiple phones ?
Hello all.. I have what I think is a rather simple question here. We're using * for home and business lines with great success so far. (inbound, outbound, several hard phones, voicemail, IVR, etc) My next project is to get some of my traditional POTS phones at home on the system. I understand this requires an FXS interface(s), which really is my question. If I don't care about having individual extensions for every line (as most "homes" don't) then I'm thinking it should be possible to just have a single FXS interface that would replace the telco's normal line connection to my home wiring after the demarc (assuming it could provide the juice required by my phones). Stop me here if I'm wrong. :) In trying to research this further, I'm looking at getting an SPA-3000 to do the FXS duties (as I could also use the FXO interface for something else), and it gives a variety of FXS specs. After a bunch of Googling it would seem that REN (ringer equivalence number) is one I need to pay attention to. The SPA-3000 says it can provide 3 REN. So as long as I stay under that total for my phones am I pretty much safe or are there other specs that I'm overlooking? Like possibly if more then one phone is off hook to talk on the line at the same time? In a semi-related question, I have a bunch of 2.4 Ghz cordless sets here and the base stations say "Ring Equivalence: 0.0B". Could this truly be the case? Like the phones just monitor the line for a ring signal but don't draw current from it when it's ringing. I can see how it's possible as they have their own AC, but I just wanted to confirm. Sorry for the long post, I thought it would be shorter. -James
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@sip.broadvoice.com:password:XXXXXXXXXX@sip.broadvoice.com register => AAAAAAAAAA@sip.broadvoice.com:password:AAAAAAAAAA@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@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 >
On Fri, 11 Mar 2005, David Shaw wrote:> 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..For dialing out, Dial(SIP/${EXTEN}@broadvoiceX) should send it through account X. For incoming, try setting each account to use the same context (sip.conf). Then append /exten-no to the register strings ( /111, /112, whatever). When a call comes in, it should start in extensions.conf in the context you specified at the extension after the /, rather than at the default s extension. That should make it easy enough to craft a dialplan which routes calls based on which account/number they arrived through. Greg
Marios Andreou
2005-Mar-11 11:14 UTC
[Asterisk-Users] Broadvoice Multiple "lines" {Scanned}
Use this for the register: register => XXXXXXXXXX@sip.broadvoice.com:password:XXXXXXXXXX@sip.broadvoice.com/<ext1> register => XXXXXXXXXX@sip.broadvoice.com:password:XXXXXXXXXX@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@lists.digium.com [mailto:asterisk-users-bounces@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@sip.broadvoice.com:password:XXXXXXXXXX@sip.broadvoice.com register => AAAAAAAAAA@sip.broadvoice.com:password:AAAAAAAAAA@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@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@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