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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jan 15 13:16:07 CST 2010


The following issue has been UPDATED. 
====================================================================== 
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:                        
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-15 13:16 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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-15 13:16 lmadsen        Description Updated                          
======================================================================




More information about the asterisk-bugs mailing list