login | register
Wed 03 of Dec, 2008 [23:48 UTC]

voip-info.org

Discuss [0] History

Asterisk func group_match_count

Created by: murf,Last modification on Fri 28 of Jul, 2006 [19:18 UTC] by waba

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)).

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])})


See also




Comments