Skip to main content
The <Enqueue> verb enqueues the current call in a call queue.

Attributes

ATTRIBUTEDESCRIPTIONOPTIONSDEFAULT
action Defines an absolute or relative URL used to send a request when the call leaves the queue. It will be sent right away when the call is dequeued using <Leave> verb. When a call is dequeued using <Dial> verb, the request will be sent once the bridged calls disconnect. -
method HTTP request type used for action. GET, POSTPOST
waitUrl Specifies the URL to the TeXML document that will be executed when the call is waiting in the queue. Once all the commands from the flow are executed, the waitUrl is re-requested, and the TeXML document is run once again. Verbs that are supported in the waitUrl TeXML document: <Play>, <Say>, <Gather>, <Pause>, <Hangup>, <Redirect>, <Leave>. -
waitUrlMethod HTTP request type used for waitUrl. GET, POSTPOST
maxWaitTimeSecs Maximum time in seconds a call can stay in the queue. If the call is not dequeued within this time, it will be removed from the queue and the action URL will be called. Must be at least 1 second. 14400

Examples

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Enqueue/>
</Response>

Expected callbacks

If waitUrl is set, a callback is sent when the call enters the queue. See Queue Callback for the full payload reference.