C.25. GROUP_MATCH_COUNT()

GROUP_MATCH_COUNT(pattern[@category])
Returns the number of channels in groups matching the specified pattern.
; Query for the number of channels in groups group[1-4]:
exten => 123,1,Set(foo=${GROUP_MATCH_COUNT(group[1-4])})

Note

Internal help for this application in Asterisk 1.4:
  -= Info about function 'GROUP_MATCH_COUNT' =- 

[Syntax]
GROUP_MATCH_COUNT(groupmatch[@category])

[Synopsis]
Counts the number of channels in the groups matching the specified pattern

[Description]
Calculates the group count for all groups that match the specified pattern.
Uses standard regular expression matching (see regex(7)).
diff output to internal help in Asterisk 1.2:
- none -