<Enqueue> verb enqueues the current call in a call queue.
Attributes
| ATTRIBUTE | DESCRIPTION | OPTIONS | DEFAULT |
|---|---|---|---|
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 verb. When a call is dequeued using verb, the request will be sent once the bridged calls disconnect. | - | |
method | HTTP request type used for action. | GET, POST | POST |
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: , , , , , , . | - | |
waitUrlMethod | HTTP request type used for waitUrl. | GET, POST | POST |
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
Expected callbacks
IfwaitUrl is set, a callback is sent when the call enters the queue. See Queue Callback for the full payload reference.