@vgroup/dialbox 0.7.86 → 0.7.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3486,11 +3486,6 @@ class CallProgressComponent {
|
|
|
3486
3486
|
};
|
|
3487
3487
|
this.acceptedCallList.push(acceptedEntry);
|
|
3488
3488
|
this.twilioService.acceptedCallList.push(callToAccept);
|
|
3489
|
-
// Twilio's accept() only starts the connection handshake — it does not
|
|
3490
|
-
// guarantee the call actually connects. Only call the API once Twilio
|
|
3491
|
-
// confirms the connection ('accept' event); if Twilio fails/breaks
|
|
3492
|
-
// before that, show an error instead of telling the backend the call
|
|
3493
|
-
// was answered.
|
|
3494
3489
|
let isTwilioConnectSettled = false;
|
|
3495
3490
|
const handleTwilioConnectFailure = (message) => {
|
|
3496
3491
|
if (isTwilioConnectSettled)
|