Skip to main content

<Connect>

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

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

Noun
<Room>A video room.
<Stream>A bidirectional stream.
<AI>An AI agent.
<VirtualAgent>A Dialogflow virtual agent.

Examples

A Simple Connect

<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Connect>
<Room>my-room-name</Room>
</Connect>
</Response>

Bidirectional Media Stream

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