Connect

View as Markdown

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>