[asterisk-bugs] [JIRA] (ASTERISK-15439) [patch] Group Variables

Joshua Colp (JIRA) noreply at issues.asterisk.org
Wed Dec 20 07:22:07 CST 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-15439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=240910#comment-240910 ] 

Joshua Colp commented on ASTERISK-15439:
----------------------------------------

[~kobaz] Once you're actively working feel free to assign back to yourself. I'm just doing JIRA cleanup to try to make things better reflect reality.

> [patch] Group Variables
> -----------------------
>
>                 Key: ASTERISK-15439
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-15439
>             Project: Asterisk
>          Issue Type: New Feature
>          Components: Functions/func_groupcount
>            Reporter: Mark Murawski
>              Labels: patch
>         Attachments: groupvars.diff
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list