Displaying 1 result from an estimated 1 matches for "grouppcount".
Did you mean:
group_count
2010 Jun 05
1
Problem with GROUP()
Hello list,
using asterisk 1.4.30 and trying GROUP() and GROUP_COUNT() for the first
time... Having some troubles.
This the dialplan (using a sub) :
exten => s,n,Set(_custID=${custID})
exten => s,n,GROUP(${custID})
exten => s,n,NoOp(grouppcount = GROUP_COUNT(${custID}))
exten => s,n,GoToIf($[ ${GROUP_COUNT(${custID})} > 2 ]?maxreached)
The CLI shows :
[Jun 5 16:06:26] -- Executing [s at sub-settings:4]
Set("IAX2/testlocal-2669", "_custID=40") in new stack
[Jun 5 16:06:26] WARNING[10491]: pbx.c:1849 pbx_e...