[Asterisk-Users] Reverse group in zapata.conf

Greg Scasny gscasny at golden-tech.com
Wed Mar 8 16:48:02 MST 2006


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 at 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 at lists.digium.com
[mailto:asterisk-users-bounces at 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



More information about the asterisk-users mailing list