GetGroupMatchCount( )


GetGroupMatchCount( ) Counts the number of members in all groups matching the specified pattern

 GetGroupMatchCount(   groupmatch   [@   category   ]) 

Counts the number of members in all groups matching the regular expression specified by groupmatch . The result is stored in the ${GROUPCOUNT} variable.

Note that standard regular expressions are used in the groupmatch argument.

Always returns .

 ; get the count of members in any group that starts with tech  exten => 123,1,GetGroupMatchCount(tech.*)  exten => 123,2,SayNumber($GROUPMATCH) 

See Also

CheckGroup( ) , GetGroupCount( ) , SetGroup( )



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

Similar book on Amazon

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