Try GROUP()=internal-...

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike
Sent: Friday, April 18, 2008 11:30 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] Question on groups

I believe I am close to fixing my problems with my 1.2 to 1.4.19 upgrade.  I 
have one question: to limit my customers to the number of channels they have 
paid for, I use the GROUP feature.  I also regularly check in the CLI what`s 
going on using "group show channels".

Basically, my system is designed so that an external call is set to group 
$ACCOUNTCODE and an internal call set to group internal-$ACCOUNTCODE.

i.e.: 5551234567 for an external call and internal-5551234567 for an internal 
call.  Internal calls are not limited, but I still keep track of them.

When I used "group show channels" in the 1.2 CLI, I`d get a healthy mix of 
5551234567 and internal-5551234567.  Ever since moving to 1.4.19, I only see 
the external calls when using "group show channels". Nothing about the internal 
calls.

The relevant line is in my extensions.conf is :
exten => _X!.,n,Set(GROUP=internal-${CDR(accountcode)})

And the CLI shows :
-- Executing [EMAIL PROTECTED]:2] Set("SIP/00041234432-1-b7d4b908", 
"GROUP=internal-5149070849") in new stack

Which seems right.  But it never shows up in the CLI when checking for group 
channels.

Any clue? Did something major change between 1.2 and 1.4?

Mike

________________________________
This e-mail, facsimile, or letter and any files or attachments transmitted with 
it contains information that is confidential and privileged. This information 
is intended only for the use of the individual(s) and entity(ies) to whom it is 
addressed. If you are the intended recipient, further disclosures are 
prohibited without proper authorization. If you are not the intended recipient, 
any disclosure, copying, printing, or use of this information is strictly 
prohibited and possibly a violation of federal or state law and regulations. If 
you have received this information in error, please notify Texas Health 
Management Group immediately at 1-817-310-4999. Texas Health Management Group, 
its subsidiaries, and affiliates hereby claim all applicable privileges related 
to this information.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to