Hello everyone, I'm sure someone had an experience arranging hunt-group setup for incoming calls on T1 PRI channels of Digium TE110P card. For instance, I have main DID channel associated with number (555) 222 0001. And I have whole bunch of other DID channels on same T1 card like (555) 222 0090, (555) 222 0091, (555) 222 0093. My goal is when a call comes to the main number which is (555) 222 0001, to have it roll over to the next available T1 channel. Or give busy signal to the caller if all channels are busy. To have one main number for all calls. I thought this had to be done in Central Office for our T1 connection (like DID setup), and T1 provider keeps telling me that this will be function of our phone system (Asterisk). So, do I literally have to implement some sort of logic in extensions.conf, that would allow receive call on main channel and roll it over to a next available DID? And keep main DID number free all the time? Please help!! Andrei (MPI)
If you have a PRI to a telco, they probably only have a single trunk group with 23 channels in it for your connection. Any calls to any of your numbers may come to you on any channel. Channels are not dedicated to individual numbers. In other words the first call may come in on channel 1, the second on channel 2. They may or may not have dialed the same number. Or perhaps I am misunderstanding something in your setup.... On Jun 1, 2006, at 10:47 AM, Andrei (MPI) wrote:> Hello everyone, > > I'm sure someone had an experience arranging hunt-group setup for > incoming calls on T1 PRI channels of Digium TE110P card. > > For instance, I have main DID channel associated with number (555) > 222 0001. > And I have whole bunch of other DID channels on same T1 card like > (555) 222 0090, (555) 222 0091, (555) 222 0093. > > My goal is when a call comes to the main number which is (555) 222 > 0001, to have it roll over to the next available T1 channel. > Or give busy signal to the caller if all channels are busy. To have > one main number for all calls. > > I thought this had to be done in Central Office for our T1 > connection (like DID setup), and T1 provider keeps telling me that > this will be function of our phone system (Asterisk). > > So, do I literally have to implement some sort of logic in > extensions.conf, that would allow receive call on main channel and > roll it over to a next available DID? And keep main DID number free > all the time? > > Please help!! > > Andrei (MPI) > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
If I understand this correctly, you want to be able to accept simultaneous calls to the single DID (555) 222 0001. There is no reason to "roll over" to another DID if there is already a call on that DID. You can receive as many calls to a single DID for as many channels you have on your T1. -John Andrei (MPI) wrote:> Hello everyone, > > I'm sure someone had an experience arranging hunt-group setup for > incoming calls on T1 PRI channels of Digium TE110P card. > > For instance, I have main DID channel associated with number (555) 222 > 0001. > And I have whole bunch of other DID channels on same T1 card like > (555) 222 0090, (555) 222 0091, (555) 222 0093. > > My goal is when a call comes to the main number which is (555) 222 > 0001, to have it roll over to the next available T1 channel. > Or give busy signal to the caller if all channels are busy. To have > one main number for all calls. > > I thought this had to be done in Central Office for our T1 connection > (like DID setup), and T1 provider keeps telling me that > this will be function of our phone system (Asterisk). > > So, do I literally have to implement some sort of logic in > extensions.conf, that would allow receive call on main channel and > roll it over to a next available DID? And keep main DID number free > all the time? > > Please help!! > > Andrei (MPI) > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
>My goal is when a call comes to the main number which is (555) 222 0001, >to have it roll over to the next available T1 channel. >Or give busy signal to the caller if all channels are busy. To have one >main number for all calls.I believe the dialstring: exten => _XXXXXXX,1,Dial(Zap/G0/5551212) will do a top-down hunt (starting from channel 23) whereas exten => _XXXXXXX,1,Dial(Zap/g0/5551212) will do a bottom-up hunt (starting from channel 1) The difference is g0 vs G0 (Group Zero, assuming you have a group zero. You would change this if you had more than 1 group. For example, you could split your PRI into two groups,0 and 1, leave a few channels for your pilot number and allocate the rest for your DID's. In this case you would use: exten => _XXXXXXX,1,Dial(Zap/g1/5551212) or exten => _XXXXXXX,1,Dial(Zap/G1/5551212) depending on how you want to do the hunt. hth
Looks like you need someone else to do the setup for you. Anyhow, if you have 23 channels, then it rolls over to the next channel without any configuration. The only thing that could prevent your dialplan from handling this nicely is if you have a different context for each channel in zapata.conf. If you do you should change it to the same context, and use DP logic to route the calls. On 6/1/06, Andrei (MPI) <asterisk@markovprocesses.com> wrote:> Hello everyone, > > I'm sure someone had an experience arranging hunt-group setup for > incoming calls on T1 PRI channels of Digium TE110P card. > > For instance, I have main DID channel associated with number (555) 222 0001. > And I have whole bunch of other DID channels on same T1 card like (555) > 222 0090, (555) 222 0091, (555) 222 0093. > > My goal is when a call comes to the main number which is (555) 222 0001, > to have it roll over to the next available T1 channel. > Or give busy signal to the caller if all channels are busy. To have one > main number for all calls. > > I thought this had to be done in Central Office for our T1 connection > (like DID setup), and T1 provider keeps telling me that > this will be function of our phone system (Asterisk). > > So, do I literally have to implement some sort of logic in > extensions.conf, that would allow receive call on main channel and roll > it over to a next available DID? And keep main DID number free all the time? > > Please help!! > > Andrei (MPI) > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Andrei (MPI) wrote:> Hello everyone, > > I'm sure someone had an experience arranging hunt-group setup for > incoming calls on T1 PRI channels of Digium TE110P card. > > For instance, I have main DID channel associated with number (555) 222 > 0001. > And I have whole bunch of other DID channels on same T1 card like (555) > 222 0090, (555) 222 0091, (555) 222 0093. > > My goal is when a call comes to the main number which is (555) 222 0001, > to have it roll over to the next available T1 channel. > Or give busy signal to the caller if all channels are busy. To have one > main number for all calls. > > I thought this had to be done in Central Office for our T1 connection > (like DID setup), and T1 provider keeps telling me that > this will be function of our phone system (Asterisk). > > So, do I literally have to implement some sort of logic in > extensions.conf, that would allow receive call on main channel and roll > it over to a next available DID? And keep main DID number free all the > time?Your service provider has some options while you have some asterisk options. Can't tell from what you posted what your service provider already has configured. Do you know for sure exactly how your service provide treats "all" incoming numbers? If three people dial (555) 222 0001, do the three calls arrive on three different channels? (In other words, has your service provider configured their equipment to "trunk" any incoming calls (regardless of whether its (555) 222 0001 or (555) 222 0091) into your system on any of the T1 channels? If so, then all 24 zap channels should be associated with a single context in zapata.conf, and your extensions.conf definitions configured to handle each incoming call. Something like this... [incoming-zap] exten => 5552220001,1,Dial(SIP/3002,15) exten => 5552220091,1,Dial(SIP/3003,15) There are lots of other variations on the above available to you, but if you understand the above, you can probably come up with the variations. R.
> If PRI channels are not dedicated to DID number - that's all I need. I > hope it will work as you describe and there will be new call on new > channel each time they dial same number. That's VERY cool. > > Sorry, I am a newbie to T1 world, though have been using Asterisk with > TDM400P PSTN lines / as well as Voip provider for 2 years now. > > Andrei >Andrei, Don't sweat it! PRI is VERY cool when it works. In theory, your PRI should be able to accept up to 23 simultaneous calls from any of your DIDs. The only time you need to worry about "rollover" is if you have a scenario where all 23 channels are busy and a 24th call comes in - that's when you need your telco's help to handle the call. In any case, if your experience with the DIDs isn't what you expect, definitely post your symptoms here and we'll see what we can do. -MC