[asterisk-users] Problem with GROUP()

Jonas Kellens jonas.kellens at telenet.be
Sat Jun 5 10:37:47 CDT 2010


I made your adjustments, but still the same result .

dialplan :

exten => s,n,Set(GROUP()=${custID})
exten => s,n,NoOp(This channel is member of group: ${GROUP()})
exten => s,n,GROUP()
exten => s,n,NoOp(groepcount = GROUP_COUNT(${custID}))

The CLI shows :

[Jun  5 16:50:04]     -- Executing [s at sub-settings:5] 
Set("IAX2/testlocal-128", "GROUP()=40") in new stack
[Jun  5 16:50:04]     -- Executing [s at sub-settings:6] 
NoOp("IAX2/testlocal-128", "This channel is member of group: 40") in new 
stack
[Jun  5 16:50:04] WARNING[10555]: pbx.c:1849 pbx_extension_helper: No 
application 'GROUP' for extension (sub-settings, s, 7)
[Jun  5 16:50:04]   == Spawn extension (sub-settings, s, 7) exited 
non-zero on 'IAX2/testlocal-128'
[Jun  5 16:50:04]     -- Hungup 'IAX2/testlocal-128'


With GROUP() I want to increase the number of calls for this "channel". 
How do I increase the number of GROUP() ??


Jonas.


On 06/05/2010 05:11 PM, Andres wrote:
> Yes, you should do something like:
>
> exten =>  s,n,Set(GROUP()=${custID})
>
> GROUP in itself is not an application.  Thats why you are getting "No
> application 'GROUP' for extension".
>
>
>
> Andres
> http://www.neuroredes.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100605/4f106479/attachment.htm 


More information about the asterisk-users mailing list