September 2005
Intermediate to advanced
408 pages
16h 20m
English
GetGroupCount() — Counts the number of members in a particular group
GetGroupCount([group][@category])
Counts the members in the given group
(and optional category) and sets the
${GROUPCOUNT} variable to the
corresponding value. If no group is
specified, the current channel’s group is used.
Use SetGroup() to assign a
call as a member of a particular group.
Always returns 0.
; say the number of callers in the tech-support group
exten => 123,1,GetGroupCount(tech-support)
exten => 123,2,SayNumber(${GROUPCOUNT})