-
Notifications
You must be signed in to change notification settings - Fork 580
Open
Labels
priority: mediumImportant but not urgent; Workaround availableImportant but not urgent; Workaround availabletype: bugbug in the librarybug in the library
Description
Issue Summary
Label for the second participant is not being applied to the call participant. I even tried participantLabel. When creating the conference the first call accepts the participantLabel value.
Steps to Reproduce
- Client initiates new outbound call
- Application hits app url which establishes a new conference via
$response->dial()->conference($name, []) - Wait url triggers logic to add second participant while setting the label attribute
Code Snippet
public function callParticipantFromConference(TelAccount $account, $callType, $conference, $toPhone) {
$client = new Client($this->account->sid, $this->account->token);
$client->conferences($this->request->ConferenceSid)->participants->create(
normalize_phone_to_E164(env('DEFAULT_CALLER_ID')), // From
normalize_phone_to_E164($toPhone), // To
[
"label" => "customer",
"earlyMedia" => true,
"beep" => "onEnter",
"endConferenceOnExit" => true,
"record" => true,
]);
$response = new VoiceResponse;
echo $response;
}Exception/Log
No exception
Technical details:
- twilio-php version: 8.3.7 & 8.3.8
- php version: 8.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: mediumImportant but not urgent; Workaround availableImportant but not urgent; Workaround availabletype: bugbug in the librarybug in the library