Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

func_groupcount.c: Adding Group Variables + additional Group functions #292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 18, 2024

  1. func_groupcount.c: Adding Group Variables + additional Group functions

    DumpGroups
    -------------------
    * New application.  This will dump all channel group membership and associated
      variables
    
    Groups and Group Variables
    ------------------
     * Group variables can be set on a group once the group is created
       When a group is destroyed, all variables on that group are also destroyed
    
       A group variable is somewhat like a global variable, but it's on a per-group
       basis.
    
       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@category
                             it's a member of)
       GroupsShowVariables - Show variables in each group@category, one event per
                             group, all variables are contained in each
                             group@category event
       GroupVarSet - Set a group variable (the group must already exist)
       GroupVarGet - Get a group variable
    
     * New Manager events:
       ------------------
       GroupCreate - Event is fired any time a group is made,
                     ie: Set(GROUP=x) or Set(GROUP()=x@y).
                     This event is only sent on when a channel is added to a group
                     that did not exist previously.
       GroupChannelAdd - Event is fired any time a channel is added to a group
       GroupChannelRemove - Event is fired any time a channel is removed from a
                            group
       GroupDestroy - Event is fired when there are no longer any channels assigned
                      to the group
       GroupVarSet - Event is fired when any group variable is changed
    
     * New CLI Command
       ---------------
       group show variables
    
     * New Application
       ---------------
       DumpGroups() - Show groups and group assigments (similar to DumpChan)
    
    Resolves: asterisk#291
    intellasoft committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    6da9f03 View commit details
    Browse the repository at this point in the history