Skip to main content

<Queue> noun

<Dial> verb's <Queue> noun specifies what queue to dial.

Noun Attributes

Attribute
url optionalA specified URL for a document that runs on the caller's end before the call is connected. This allows the caller to inform the dialed number that the call will be connected to an agent or that the call may be monitored or recorded. See below for request parameters.
method optionalThe method attribute specifies whether the request to action is a GET or a POST. Valid values are GET or POST. Default value is POST.

Request parameters for url

The url request contains the Standard Request Parameters as well as:

Parameter
QueueSid stringThe unique identifier for the Queue.
CallSid stringThe unique identifier for the dequeued call.
QueueTime stringThe time, in seconds, spent waiting in a queue.
DequeingCallSid stringThe unique identifier for the call dequeueing the caller.

Examples

Dialing a Queue

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Dial>
<Queue url="https://example.com/about_to_connect.xml">support</Queue>
</Dial>
</Response>

This is an example of a caller in the 'support' queue waiting to be dequeued.

Bridging Out of a Queue

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>You will now be connected to an agent.</Say>
</Response>

Once a caller is first in line in the queue and ready to be bridged, they will be informed of the connection to an agent.