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 [...@sub-settings:5]
Set("IAX2/testlocal-128", "GROUP()=40") in new stack
[Jun 5 16:50:04] -- Executing [...@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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users