@vgroup/dialbox 0.3.44 → 0.3.46
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.
|
@@ -2941,7 +2941,8 @@ class DialboxComponent {
|
|
|
2941
2941
|
// console.log("WS Event Received:", incomingCallData);
|
|
2942
2942
|
// console.log("WS Event Received:", incomingCallData.data);
|
|
2943
2943
|
this.twilioService.conferenceCallInfo = incomingCallData;
|
|
2944
|
-
|
|
2944
|
+
let participants = [];
|
|
2945
|
+
this.incomingCallsList = !!incomingCallData.participants ? incomingCallData.participants.filter((item) => !item.isLeft) : [];
|
|
2945
2946
|
// incomingCallData.participants.length ? incomingCallData.participants.filter((item: any) => !item.isLeft) : [];
|
|
2946
2947
|
if (this.incomingCallsList.length > 0) {
|
|
2947
2948
|
// this.showIncomingCallPopup(incoming, data/
|
|
@@ -2954,13 +2955,13 @@ class DialboxComponent {
|
|
|
2954
2955
|
}
|
|
2955
2956
|
this.isCallInProgress = true;
|
|
2956
2957
|
this.isDialpadHidden = false;
|
|
2957
|
-
this.callData.phone = this.incomingCallsList[0].from;
|
|
2958
|
-
this.callData.name = "";
|
|
2959
|
-
this.callData.img = "assets/images/user.jpg";
|
|
2960
|
-
this.callData.isIncomingCall = true;
|
|
2961
|
-
this.callData.participantId = this.incomingCallsList[0].participantId;
|
|
2962
|
-
this.callData.conferenceId = incomingCallData.conferenceId;
|
|
2963
|
-
this.callData.conferenceSid = incomingCallData.conferenceSid;
|
|
2958
|
+
// this.callData.phone = this.incomingCallsList[0].from;
|
|
2959
|
+
// this.callData.name = "";
|
|
2960
|
+
// this.callData.img = "assets/images/user.jpg";
|
|
2961
|
+
// this.callData.isIncomingCall = true;
|
|
2962
|
+
// this.callData.participantId = this.incomingCallsList[0].participantId;
|
|
2963
|
+
// this.callData.conferenceId = incomingCallData.conferenceId;
|
|
2964
|
+
// this.callData.conferenceSid = incomingCallData.conferenceSid;
|
|
2964
2965
|
// let device = await this.twilioService.connect('');
|
|
2965
2966
|
// console.log(device, 'callConnect');
|
|
2966
2967
|
}
|