QUEUE_VARIABLES()
Synopsis
Return Queue information in variables.
Description
Makes the following queue variables available.
Returns 0
if queue is found and setqueuevar is defined, -1
otherwise.
Syntax
QUEUE_VARIABLES(queuename)
Arguments
queuename
QUEUEMAX
- Maxmimum number of calls allowed.QUEUESTRATEGY
- The strategy of the queue.QUEUECALLS
- Number of calls currently in the queue.QUEUEHOLDTIME
- Current average hold time.QUEUECOMPLETED
- Number of completed calls for the queue.QUEUEABANDONED
- Number of abandoned calls.QUEUESRVLEVEL
- Queue service level.QUEUESRVLEVELPERF
- Current service level performance.
See Also
- Application_Queue
- Application_QueueLog
- Application_AddQueueMember
- Application_RemoveQueueMember
- Application_PauseQueueMember
- Application_UnpauseQueueMember
- Function_QUEUE_VARIABLES
- Function_QUEUE_MEMBER
- Function_QUEUE_MEMBER_COUNT
- Function_QUEUE_EXISTS
- Function_QUEUE_WAITING_COUNT
- Function_QUEUE_MEMBER_LIST
- Function_QUEUE_MEMBER_PENALTY
Import Version
This documentation was imported from Asterisk Version Unknown
4 Comments
AliReza Taleghani
can you please, light my problem with this function:
i had been set QueueMax variable in configuration files, and know in dialplan wana check it some wheres... by the way do the fallowing:
CallCenter*CLI> queue show support-provinces
support-provinces has 0 calls (max 10) in 'leastrecent' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 120s
No Members
No Callers
Bob M
Make sure
setqueuevar
is turned on in queues.conf inside each queue definition for any queues you want to get information on.AliReza Taleghani
thanks...
that was the reason!
definition per queue.
:^)
Marek Cervenka
is there performance penalty when
setqueuevar
is used?