Synopsis:
Counts the number of channels in the groups matching the specified pattern
Description:
GROUP_MATCH_COUNT(groupmatch[@category])
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
Notes
- *CLI> show function GROUP_MATCH_COUNT
Return value
Returns the resulting string.
Example
exten => s,1,Set(foo=${GROUP_MATCH_COUNT(g[0-3])})