AddParticipants
Adds a Participant to a Conference.
Stored Procedure-Specific Information
Adds a Participant to a Conference. Specify the target conference by setting ConferenceSid to either a conference SID or a friendly name.
If you set ConferenceSid to a friendly name that does not exist, the provider creates a new conference with that name and adds the participant.
If you set ConferenceSid to a conference SID that does not exist, this procedure fails.
The following example specifies the target conference by its friendly name:
EXEC AddParticipants ConferenceSid = 'MyConference', From = '+18149044818', To = '919602968074'
Input
| Name | Type | Required | Description |
| ConferenceSid | String | True | The SID of the participant's conference. |
| From | String | True | The phone number, Client identifier, or username portion of SIP address that made this call. |
| To | String | True | The phone number, SIP address, Client, TwiML App identifier that received this call. |
| StatusCallback | String | False | The URL we should call using the status_callback_method to send status information to your application |
| StatusCallbackMethod | String | False | The HTTP method we should use to call status_callback. Can be: GET and POST and defaults to POST |
| StatusCallbackEvent | String | False | The conference state changes that should generate a call to status_callback. |
| Label | String | False | A label for this participant. |
| WaitTime | Integer | False | The number of seconds that we should allow the phone to ring before assuming there is no answer. |
| Record | Boolean | False | Whether to record the participant and their conferences, including the time between conferences. |
| Muted | Boolean | False | Whether the agent is muted in the conference. |
| Beep | String | False | Whether to play a notification beep to the conference when the participant joins. |
| StartConferenceOnEnter | Boolean | False | Whether to start the conference when the participant joins, if it has not already started. |
| EndConferenceOnExit | Boolean | False | Whether to end the conference when the participant leaves. |
| WaitUrl | String | False | The URL that Twilio calls using the wait_method before the conference has started. |
| WaitMethod | String | False | The HTTP method we should use to call wait_url. |
| EarlyMedia | Boolean | False | Whether to allow an agent to hear the state of the outbound call, including ringing or disconnect messages. |
| MaxParticipants | Integer | False | The maximum number of participants in the conference. Can be a positive integer from 2 to 250. |
| ConferenceRecord | String | False | Whether to record the conference the participant is joining. |
| ConferenceTrim | String | False | Whether to trim leading and trailing silence from the conference recording. |
| ConferenceStatusCallback | String | False | The URL we should call using the conference_status_callback_method when the conference events in conference_status_callback_event occur. |
| ConferenceStatusCallbackMethod | String | False | The HTTP method we should use to call conference_status_callback. |
| ConferenceStatusCallbackEvent | String | False | The conference state changes that should generate a call to conference_status_callback. |
| RecordingChannels | String | False | The recording channels for the final recording. |
| RecordingStatusCallback | String | False | The URL that we should call using the recording_status_callback_method when the recording status changes. |
| RecordingStatusCallbackMethod | String | False | The HTTP method we should use when we call recording_status_callback. |
| Region | String | False | The region where we should mix the recorded audio |
| ConferenceRecordingStatusCallback | String | False | The URL we should call using the conference_recording_status_callback_method when the conference recording is available. |
| ConferenceRecordingStatusCallbackMethod | String | False | The HTTP method we should use to call conference_recording_status_callback. |
| RecordingStatusCallbackEvent | String | False | The recording state changes that should generate a call to recording_status_callback. |
| ConferenceRecordingStatusCallbackEvent | String | False | The conference recording state changes that generate a call to conference_recording_status_callback. |
| Coaching | Boolean | False | Whether the participant is coaching another call. |
| CallSidToCoach | String | False | The SID of the participant who is being coached. |
| JitterBufferSize | String | False | Jitter buffer size for the connecting participant. |
| Byoc | String | False | The SID of a BYOC (Bring Your Own Carrier) trunk to route this call with. |
| CallerId | String | False | The phone number, Client identifier, or username portion of SIP address that made this call. |
| CallReason | String | False | The Reason for the outgoing call. |
| RecordingTrack | String | False | The audio track to record for the call. |
| TimeLimit | Integer | False | The maximum duration of the call in seconds. |
| MachineDetection | String | False | Whether to detect if a human, answering machine, or fax has picked up the call. |
| MachineDetectionTimeout | Integer | False | The number of seconds that we should attempt to detect an answering machine before timing out and sending a voice request with AnsweredBy of unknown. |
| MachineDetectionSpeechThreshold | Integer | False | The number of milliseconds that is used as the measuring stick for the length of the speech activity. |
| MachineDetectionSpeechEndThreshold | Integer | False | The number of milliseconds of silence after speech activity at which point the speech activity is considered complete. |
| MachineDetectionSilenceTimeout | Integer | False | The number of milliseconds of initial silence after which an unknown AnsweredBy result will be returned. |
| AmdStatusCallback | String | False | The URL that we should call using the amd_status_callback_method to notify customer application whether the call was answered by human, machine or fax. |
| AmdStatusCallbackMethod | String | False | The HTTP method we should use when calling the amd_status_callback URL. |
| Trim | String | False | Whether to trim any leading and trailing silence from the participant recording. |
| CallToken | String | False | A token string needed to invoke a forwarded call. |
| ClientNotificationUrl | String | False | The URL that we should use to deliver push call notification. |
| CallerDisplayName | String | False | The name that populates the display name in the From header. |
Result Set Columns
| Name | Type | Description |
| AccountSid | String | The SID of the Account that created the Participant resource. |
| CallSid | String | The SID of the Call the Participant resource is associated with. |
| ConferenceSid | String | The SID of the conference the participant is in. |
| Status | String | The status of the participant's call in a session. |