Asterisk func group_match_count


Counts the number of channels in the groups matching the specified pattern



Calculates the group count for all groups that match the specified pattern.
Uses standard regular expression matching (see regex(7)).

New in Asterisk 1.8: GROUP_MATCH_COUNT has been improved to allow regex matching on category


  • *CLI> show function GROUP_MATCH_COUNT

Return value

Returns the resulting string.


exten => s,1,Set(foo=${GROUP_MATCH_COUNT(g[0-3])})

See also

Created by: murf, Last modification: Mon 25 of Jun, 2012 (20:54 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+