<Room> noun allows you to connect to a named Programmable Video Room and talk with other participants who are connected to that Room.
To connect a Programmable Voice call to a Room, use the
<Room> noun and provide the
UniqueName for the Room you would like to connect to. If an in-progress Video Room with that unique name does not exist for your account, Twilio will move to the next set of TwiML instructions you have provided, or disconnect the call if the
<Room> is the final TwiML instruction.
<?xml version="1.0" encoding="UTF-8"?> <Response> <Connect> <Room>DailyStandup</Room> </Connect> </Response>
You can set a unique identity on the incoming caller using an optional property called
participantIdentity. If you don't set the
participantIdentity, then Twilio will assign a unique string value to the Participant's identity.
<?xml version="1.0" encoding="UTF-8"?> <Response> <Connect> <Room participantIdentity='alice'>DailyStandup</Room> </Connect> </Response>
Visit the Programmable Video documentation for more information about adding PSTN participants to Video Rooms.