Doug Lytle wrote: > Mike wrote: >> Hi, >> >> I was under the impression that Set(GROUP()=1234) incremented some >> value associated with 1234. >> >> So if I did the same thing twice, I'd get a group count of 2. >> >> Ex: >> exten => s,1,Set(GROUP()=1234) >> exten => s,n,Set(GROUP()=1234) >> exten => s,n,Noop(Used channels: ${GROUP_COUNT(1234}) > > If this is a direct copy/paste then your error is in line 3. You have a > } positioned incorrectly. My example below: > > exten => _35XX,1,Set(GROUP()=Max_Calls) > exten => _35XX,n,NoOP(Active Calls: ${GROUP_COUNT(Max_Calls)})
Apart from that you assign the group 1234 twice to the *same* channel. So GROUP_COUNT(1234) correctly reports only *1* channel to be in that group. Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk -> http://www.das-asterisk-buch.de Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users