Page 530 - Asterisk™: The Future of Telephony
P. 530

See Also
               QUOTE()


               GLOBAL                                                 References global namespace
               GLOBAL(varname)

               Gets or sets the global variable specified.


               GROUP                                            Associates the channel into a set group
               GROUP([category])


               Gets or sets the channel group.
                   ; Permit only one user to access the paging system at once.
                   exten => 8000,1,Set(GROUP()=pager)
                   exten => 8000,n,GotoIf($[${GROUP_COUNT(pager)} > 1]?hangup)
                   exten => 8000,n,Page(SIP/101&SIP/102&SIP/103&SIP/104)
                   exten => 8000,n(hangup),Hangup
               See Also
               GROUP_COUNT(), GROUP_LIST(), GROUP_MATCH_COUNT()


               GROUP_COUNT                              Counts the number of channels in the specified group.
               GROUP_COUNT([groupname][@category])

               Counts the number of channels in the specified group. Will return the count of the
               current channel if the groupname is not specified.

               See Also
               GROUP(), GROUP_LIST(), GROUP_MATCH_COUNT()


               GROUP_LIST                                                  Lists channel groups
               GROUP_LIST()([groupname][@category])

               Gets a list of the groups set on a channel.

               See Also
               GROUP(), GROUP_COUNT(), GROUP_MATCH_COUNT()





               502 | Appendix E: Asterisk Dialplan Functions
   525   526   527   528   529   530   531   532   533   534   535