joinConference
Join an ad-hoc audio conference. The conference is created automatically if it does not already exist. Multiple calls can join the same conference by name.
Use leaveConference() to remove the call from the conference.
This method emits calling.conference events. See Call Events for payload details.
Parameters
name
Conference name. All calls joining the same name are in the same conference.
muted
Join the conference muted.
beep
Play a beep when joining or leaving.
"true"— beep on both enter and exit"false"— no beep"onEnter"— beep only when a participant joins"onExit"— beep only when a participant leaves
startOnEnter
Start the conference when this participant enters. If false, the conference
waits until a participant with startOnEnter: true joins.
endOnExit
End the conference when this participant leaves.
maxParticipants
Maximum number of participants in the conference.
record
Recording mode:
"record-from-start"— begin recording when the conference starts"do-not-record"— do not record the conference
waitUrl
URL of audio to play while waiting for the conference to start.
region
Region for the conference media server.
trim
Whether to trim silence from the conference recording.
coach
Call ID of a participant who can hear but not be heard (coaching mode).
statusCallback
URL to receive conference status webhooks.
statusCallbackEvent
Events that trigger status callbacks.
statusCallbackEventType
Content type for status callback requests.
statusCallbackMethod
HTTP method for the status callback ("GET" or "POST").
recordingStatusCallback
URL to receive recording status webhooks.
recordingStatusCallbackEvent
Events that trigger recording status callbacks.
recordingStatusCallbackEventType
Content type for recording status callback requests.
recordingStatusCallbackMethod
HTTP method for the recording status callback ("GET" or "POST").
stream
Stream configuration for the conference audio.
Returns
Promise<Record<string, unknown>> — Server response confirming the join.