Queue() — Places the current call into the specified call queue
Queue(queuename[,options[,URL[,announceoverride[,timeout[,AGI]]]]])
Places an incoming call into the call queue specified by
queuename, as defined in queues.conf.
The options argument may contain zero
or more of the following characters:
dSpecifies a data-quality (modem) call (minimum delay)
hAllows callee to hang up by hitting *
HAllows caller to hang up by hitting *
iignore call forward requests from queue members and do nothing when they are requested
nDisallows retries on the timeout; exits this application and goes to the next step
rRings instead of playing MoH
tAllows the called user to transfer the call
TAllows the calling user to transfer the call
wAllows the called user to write the conversation to disk
WAllows the calling user to write the conversation to disk
In addition to being transferred, a call may be parked and then picked up by another user.
The announceoverride argument overrides
the standard announcement played to queue agents before they answer the
specified call.
The optional URL will be sent to the
called party if the channel supports it.
The timeout will cause the queue to
fail out after a specified number of seconds, checked between each queues.conf
timeout and retry
cycle. The call will continue on with the next priority in the dialplan.
This application sets a channel variable named QUEUESTATUS
upon completion. It will take one of the following values:
TIMEOUTThe call was in the queue too long, and timed out. See the
timeout parameter.
FULLThe queue was already full. See the
maxlen setting for the queue in queues.conf.
JOINEMPTYThe caller could not join the queue, as there were no queue members to answer the call.
See the joinempty setting for the queue in queues.conf.
LEAVEEMPTYThe caller joined the queue, but then all queue memebers left. See the
leavewhenempty setting for the queue in queues.conf.
JOINUNAVAILThe caller could not join the queue, as there were no queue members available to answer the call.
See the joinempty setting for the queue in queues.conf.
The caller joined the queue, but then all of the queue memebers became unavailable. See the
leavewhenempty setting for the queue in queues.conf.
; place the caller in the techsupport queue
exten => 123,1,Answer()
exten => 123,2,Queue(techsupport,t)