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

Mark Murawski (JIRA) noreply at issues.asterisk.org
Wed Dec 20 07:24:07 CST 2017


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

Mark Murawski commented on ASTERISK-15439:
------------------------------------------

Sounds good.  Cleanups are always nice.

> [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