[asterisk-users] Do I understand GROUPs correctly?

Doug Lytle support at drdos.info
Tue Feb 27 09:05:54 MST 2007


Mike wrote:
> Actually it wasn’t a straight paste.  The straight cut and paste is:
>
> exten => s,1,Set(GROUP()=${VAR})
> exten => s,n,Set(GROUP()=${VAR})
> exten => s,n,Noop(Used channels: ${GROUP_COUNT(${VAR})}) 
>   

I've never tried using variables with GROUP(), but am guessing it's 
permitted.

Try adding another Set and see if the count moves to 2. It may be 
starting at 0?

Doug

-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list