GetGroupCount( )


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 .

 ; say the number of callers in the tech-support group  exten => 123,1,GetGroupCount(tech-support)  exten => 123,2,SayNumber(${GROUPCOUNT}) 

See Also

CheckGroup( ) , GetGroupMatchCount( ) , SetGroup( )



Asterisk. The Future of Telephony
Asterisk: The Future of Telephony: The Future of Telephony
ISBN: B0026OR3OO
EAN: N/A
Year: 2001
Pages: 380

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net