For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
cXMLREST API
cXMLREST API
  • Core
    • Compatibility API
    • cXML Specification
  • Guides
    • Compatibility API Webhooks
    • Receive SMS
    • Send SMS
    • Inbound Fax Callback
    • Add mustache template parameters to cXML responses
    • Gathering user input
  • Voice
    • Overview
    • Conference
    • Connect
    • Denoise
    • Dial
    • Echo
    • Enqueue
    • Gather
    • Hangup
    • Leave
    • Number
    • Pause
    • Pay
    • Play
    • Queue
    • Record
    • Redirect
    • Refer
    • Reject
    • Room
    • Say
    • Sip
    • Sms
    • Stream
    • Verto
    • VirtualAgent
  • Messaging
    • Overview
    • Message
    • Redirect
  • Fax
    • Overview
    • Receive
    • Reject
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • Noun attributes
  • Examples
  • Dialing a queue
  • Bridging out of a queue
Voice

Queue

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

Record

Next
Built with

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

Noun attributes

method
stringDefaults to POST

The method attribute specifies whether the request to action is a GET or a POST. Valid values are GET or POST.

url
string

A 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.

Request parameters for url

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

CallSid
string

The unique identifier for the dequeued call.

DequeingCallSid
string

The unique identifier for the call dequeueing the caller.

QueueSid
string

The unique identifier for the Queue.

QueueTime
string

The time, in seconds, spent waiting in a queue.

Examples

Dialing a queue

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

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

Bridging out of a queue

1<?xml version="1.0" encoding="UTF-8"?>
2<Response>
3 <Say>You will now be connected to an agent.</Say>
4</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.


*Twilio and TwiML are trademarks of Twilio, Inc. SignalWire, Inc. and its products are not affiliated with or endorsed by Twilio, Inc.