[asterisk-bugs] [Asterisk 0016614]: [patch] Group Variables

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 28 11:37:20 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16614 
====================================================================== 
Reported By:                kobaz
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16614
Category:                   Functions/func_groupcount
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-730 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/464 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-15 10:04 CST
Last Modified:              2010-01-28 11:37 CST
====================================================================== 
Summary:                    [patch] Group Variables
Description: 
This patch allows for setting variables on a group of channels.
First a channel is assigned a group via dialplan GROUP() or GroupSet via
the ami (new command)
Then, variables can be set on that group with the GROUP_VAR() dialplan
function, or GroupVarSet in the manager

This patch also adds manager events for channel group changes, and
variable updates

When a group is no longer used (all channels referencing the group are
hung up, or all channels referencing the group have their group
changed/unset), variables are destroyed

new manager commands:
GroupSet - adds functionality to the manager to be able to set a GROUP()
on a channel.
GroupsShowChannels - show each channel and it's associated groups (a
channel will be repeated for each group at category it's a member of)
GroupsShowVariables - show variables in each group at category, one event per
group, all variables are contained in each group at category event
GroupVarSet - set a group variable (the group has to exist)
GroupVarGet - get a group variable

new manager events:
GroupCreate
GroupChannelAdd
GroupChannelRemove
GroupDestroy
GroupVarSet

====================================================================== 

---------------------------------------------------------------------- 
 (0117325) russell (administrator) - 2010-01-28 11:37
 https://issues.asterisk.org/view.php?id=16614#c117325 
---------------------------------------------------------------------- 
Thank you very much for the patch!  I'm going to temporarily suspend the
review request until we have someone assigned to this issue to take care of
it.  At that point, we can open it back up. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-28 11:37 russell        Note Added: 0117325                          
======================================================================




More information about the asterisk-bugs mailing list