Skip to content

<Conference>

Joins the caller to the named conference room (names are scoped to the account). The first participant creates the room and later ones inherit its settings. A participant alone in the room hears waitUrl. With <Dial action>, action is requested with DialCallStatus answered when the participant leaves the room.

Used inside <Dial>.

<Response>
<Dial action="https://example.com/left-room">
<Conference beep="onEnter" startConferenceOnEnter="true" endConferenceOnExit="false"
waitUrl="https://example.com/hold-music.mp3" record="record-from-start"
statusCallback="https://example.com/conf-events">team-standup</Conference>
</Dial>
</Response>
Attribute Values Default Description
startConferenceOnEnter true or false, in any letter case true true makes this participant a moderator whose arrival starts the conference; participants with false wait (hearing waitUrl) until one arrives.
endConferenceOnExit true or false, in any letter case false true ends the conference for everyone when this participant leaves.
muted true, false false true joins the participant muted (listen only). Only the exact value true is recognised.
beep true, false, onEnter, onExit false Tone played when participants join and leave: true (both), onEnter, onExit or false.
onEnterPlayUrl An absolute http:// or https:// URL — Audio file played to the room when a participant joins, instead of the beep.
onExitPlayUrl An absolute http:// or https:// URL — Audio file played to the room when a participant leaves, instead of the beep.
waitUrl An absolute http:// or https:// URL a classical music track Hold music or TinyML for a participant who is alone or waiting for the moderator: an audio file URL or a TinyML document URL (see the reference notes).
waitMethod GET, POST POST HTTP method for waitUrl.
maxParticipants integer, 2–249 250 Most participants the room admits, 2-249; other values keep the default.
record record-from-start, do-not-record do-not-record record-from-start records the whole conference; do-not-record does not. Subject to the account’s recording policy.
coach string — Call SID of a participant already in the room: this participant joins as that participant’s coach (supervisor whisper), heard only by them.
joinOnlyOnExist true or false, in any letter case false Limited — see description. Currently, when true, the participant is refused (call hung up with Conference_Not_Found_JoinOnly) if the room already exists, and joins (creating it) if it does not - the opposite of what the name suggests. Avoid until this is fixed.
statusCallback An absolute http:// or https:// URL — URL notified of conference and participant events.
statusCallbackMethod GET, POST POST HTTP method for statusCallback.
statusCallbackEvent A space- or comma-separated list of event names — Accepted and ignored. Accepted; currently every conference event is sent to statusCallback.
recordingStatusCallback An absolute http:// or https:// URL — URL notified when the conference recording is ready.
recordingStatusCallbackMethod GET, POST POST HTTP method for recordingStatusCallback.
recordingStatusCallbackEvent A space- or comma-separated list of event names completed Which recording events to send.

Sent to statusCallback:

Parameter Description
StatusCallbackEvent conference-create, conference-end, participant-join or participant-leave.
ConferenceSid Unique id of the conference.
FriendlyName The room name.
AccountSid The account.
CallSid The participant’s call (participant events).
Muted Whether the participant is muted.
Hold Whether the participant is on hold.
Coaching Whether the participant is coaching.
Timestamp Time of the event.
SequenceNumber Order of the event.

Sent to recordingStatusCallback:

Parameter Description
RecordingSid Unique id of the recording.
RecordingUrl Where the recording can be fetched.
RecordingStatus completed or absent.
RecordingDuration Length in seconds.
RecordingChannels Number of channels.
RecordingSource What started the recording.
ConferenceSid The conference recorded.
AccountSid The account.
  • waitUrl may point at an audio file (played) or at a TinyML document; in that document <Play>, <Say>/<Speak> and <Redirect> work (a <Redirect> to an audio file plays it). <Gather> there is accepted but currently plays nothing and collects nothing.