[Asterisk-Users] Group funcations not functioning

Thomas Winter thowinter at googlemail.com
Mon Apr 10 13:45:46 MST 2006


On Monday 10 April 2006 22:04, Raymond Chen wrote:
> Dear all,
>
> we have try to limit the outgoing channel by using GROUP() and
> GROUP_COUNT() to limit number of calls to a channel/trunk.  but lately
> we upgraded to 1.2.5, 1.2.6 or SVN 1.2 ,  both functions not work at
> all.   Is this a bug or just a misconfiguration on our part?
>
> exten => s,1,Set(GROUP()=${count})
> exten => s,n,GotoIf($[${GROUP_COUNT(${count})} > 1]?IncCount)

It works.

May be this helps:

	exten => _9501,n,Set(GROUP(BlueSip9501)=add)
	exten => _9501,n,GotoIf($[${GROUP_COUNT(add at BlueSip9501)} > 1]?Block:Call)

best regards

Thomas




More information about the asterisk-users mailing list