Join an ad-hoc audio conference. Conferences support both RELAY and CXML calls with extensive configuration for moderation, recording, and event callbacks.
When all parameters are at their defaults (except name), a simplified form is
used internally. Passing any non-default parameter triggers the full object form.
Conference name. All participants joining the same name are in the same conference.
Optional conference configuration.
Join the conference muted.
Beep configuration for join/leave notifications.
"true" — beep on both enter and exit"false" — no beep"onEnter" — beep only when a participant joins"onExit" — beep only when a participant leavesWhether the conference starts when this participant enters. When false,
the participant waits until another participant with startOnEnter: true joins.
Whether the conference ends for all participants when this participant leaves.
SWML URL for hold music played while waiting for the conference to start. When omitted, default hold music is used.
Maximum number of participants.
Recording mode.
"do-not-record" — do not record the conference"record-from-start" — begin recording as soon as the conference startsConference region for geographic optimization.
Silence trimming in recordings.
"trim-silence" — remove leading and trailing silence from the recording"do-not-trim" — keep silence in the recording as-isSWML Call ID or CXML CallSid of a participant who can coach (whisper to) this participant without other participants hearing.
Space-separated list of events to report.
"start" — conference has started"end" — conference has ended"join" — a participant joined"leave" — a participant left"mute" — a participant was muted or unmuted"hold" — a participant was placed on hold or resumed"modify" — conference settings were modified"speaker" — active speaker changed"announcement" — an announcement was playedURL to receive conference status event webhooks.
HTTP method for status callbacks.
"GET" — send status callbacks as GET requests"POST" — send status callbacks as POST requestsURL to receive recording status event webhooks.
HTTP method for recording status callbacks.
"GET" — send recording status callbacks as GET requests"POST" — send recording status callbacks as POST requestsSpace-separated list of recording events to report.
"in-progress" — recording is currently in progress"completed" — recording has completed"absent" — no recording was producedResult handling configuration. Pass an object {} for return_value-based
switching, or an array [] for conditional switching.
FunctionResult — this, for chaining.