Menu

Expand
Rate this page:

TwiML™ Voice: <Connect>

This TwiML verb is not currently available when using Twilio Regions Ireland (IE1) or Australia (AU1). This is currently only supported with the default US1 region. A full list of unsupported products and features with Twilio Regions is documented here.

<Connect> is a TwiML verb that works together with nested TwiML nouns to connect Voice calls (over PSTN or SIP) to other Twilio services or external services.

Connect Nouns

The nouns that you can nest inside of <Connect> are listed in the table below. Click on a TwiML noun to see its docs page and how to use the noun with <Connect>.

Noun Description
<Autopilot>

Describes an Autopilot assistant. Connects the active caller to an Autopilot assistant.

See the Autopilot documentation for a walkthrough of how to use Autopilot to build intelligent assistants and conversational IVRs.

<Room>

A nested XML element that describes a Programmable Video Room to connect to with some attributes.

<Stream>

Begins a bi-directional MediaStream for the active call.

<VirtualAgent>

Connects a Programmable Voice call to a Dialogflow Essentials (ES) agent.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

        
        
        

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        thanks-feedback-gif