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
  • Examples
  • A simple connect
  • Bidirectional media stream
Voice

Connect

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

Denoise

Next
Built with

The <Connect> verb connects an existing call to another resource.

You can use the <Connect> verb with the following nouns:

NounDescription
<Room>A video room.
<Stream>A bidirectional stream.
<VirtualAgent>A Dialogflow virtual agent.

Examples

A simple connect

1<?xml version="1.0" encoding="UTF-8"?>
2<Response>
3 <Connect>
4 <Room>my-room-name</Room>
5 </Connect>
6</Response>

Bidirectional media stream

1<?xml version="1.0" encoding="UTF-8"?>
2<Response>
3 <Connect>
4 <Stream url="wss://your-application.com/audiostream" />
5 </Connect>
6</Response>