Hey all, I have a situation where I have 8 lines from the phone company in a hunt group coming in to my asterisk box. These are the same lines I'm using for outgoing calls ( named g0 ). The problem arises when someone dials our number at the same time asterisk tries to put a call out on one of the zap channels in the g0 group. This has happened twice that I know of so far, once to myself. Asterisk opens the line before it's answered, and tries to dial. This has the effect of connecting the outside caller to the dialing party, which is the problem. My rather messy solution would be to have a reverse 'group' command in my zapata.conf file. So if I try dialing out on g1 ( my reverse group, 24-17 ), it starts at the top and works it's way down. Meanwhile, my external hunt group would still ring normally ( 17-24 ), thus minimizing the potential for conflict to a level that I'm comfortable with. Is this possible? If it isn't, I plan to reverse the order in which the lines are connected to my * box, having the same effect ( with no configuration changes. :) ). Anybody have any advice why I shouldn't do this either? Any other suggestions? Thanks Sean Kennedy
I think what your asking is pretty easy, just change the lowercase g in your extensions.conf file to an uppercase G. If you have a TRUNK type variable declared, this will be cake. If not you will need to change the little g, as in Zap/g1 to Zap/G1 everywhere you have it used. Hope that helped........>> Gregory P. Scasny Golden Technologies, Inc. http://www.golden-tech.com gscasny@golden-tech.com 219-462-7200 - Ph. 574-233-1300 - Ph. (866) 806-7127 - Toll Free 219-462-7257 - Fax. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Sean Kennedy Sent: Tuesday, March 07, 2006 8:04 PM To: Asterisk - Users Subject: [Asterisk-Users] Reverse group in zapata.conf Hey all, I have a situation where I have 8 lines from the phone company in a hunt group coming in to my asterisk box. These are the same lines I'm using for outgoing calls ( named g0 ). The problem arises when someone dials our number at the same time asterisk tries to put a call out on one of the zap channels in the g0 group. This has happened twice that I know of so far, once to myself. Asterisk opens the line before it's answered, and tries to dial. This has the effect of connecting the outside caller to the dialing party, which is the problem. My rather messy solution would be to have a reverse 'group' command in my zapata.conf file. So if I try dialing out on g1 ( my reverse group, 24-17 ), it starts at the top and works it's way down. Meanwhile, my external hunt group would still ring normally ( 17-24 ), thus minimizing the potential for conflict to a level that I'm comfortable with. Is this possible? If it isn't, I plan to reverse the order in which the lines are connected to my * box, having the same effect ( with no configuration changes. :) ). Anybody have any advice why I shouldn't do this either? Any other suggestions? Thanks Sean Kennedy _______________________________________________ --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
> Hey all, > > I have a situation where I have 8 lines from the phone company in ahunt> group coming in to my asterisk box. These are the same lines I'musing> for outgoing calls ( named g0 ). > > The problem arises when someone dials our number at the same time > asterisk tries to put a call out on one of the zap channels in the g0 > group. This has happened twice that I know of so far, once to myself. > Asterisk opens the line before it's answered, and tries to dial. This > has the effect of connecting the outside caller to the dialing party, > which is the problem. > > My rather messy solution would be to have a reverse 'group' command in > my zapata.conf file. So if I try dialing out on g1 ( my reversegroup,> 24-17 ), it starts at the top and works it's way down. Meanwhile, my > external hunt group would still ring normally ( 17-24 ), thusminimizing> the potential for conflict to a level that I'm comfortable with. > > Is this possible? If it isn't, I plan to reverse the order in whichthe> lines are connected to my * box, having the same effect ( with no > configuration changes. :) ). Anybody have any advice why I shouldn't > do this either? Any other suggestions? > > Thanks > > Sean KennedySean, what is your dial command? I believe that if you use capital G0 instead of lowercase g0 then the dial out will start at the bottom of the hunt group and work it's way up, that is, it will start with line number 8, then 7, etc. while your inbound hunt will start with line 1, then line 2... I think it will look like this: exten => 123,n,Dial(ZAP/G0/2025551212) instead of "Dial(ZAP/g0/...)" Let us know if that works. -MC
> I have a situation where I have 8 lines from the phone company in a hunt > group coming in to my asterisk box. These are the same lines I'm using > for outgoing calls ( named g0 ).<sn?p>> Is this possible? If it isn't, I plan to reverse the order in which the > lines are connected to my * box, having the same effect ( with no > configuration changes. :) ). Anybody have any advice why I shouldn't > do this either? Any other suggestions?Reversing the order would do the job, but you can also use G0 instead of g0. from http://www.voip-info.org/wiki/view/Asterisk+ZAP+channels Dialing a Group * g: select the lowest-numbered non-busy Zap channel (aka. ascending sequential hunt group). * G: select the highest-numbered non-busy Zap channel (aka. descending sequential hunt group). * r: use a round-robin search, starting at the next highest channel than last time (aka. ascending rotary hunt group). * R: use a round-robin search, starting at the next lowest channel than last time (aka. descending rotary hunt group).> ThanksYou're welcome