@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.
|
@@ -2948,7 +2948,8 @@ class DialboxComponent {
|
|
|
2948
2948
|
// console.log("WS Event Received:", incomingCallData);
|
|
2949
2949
|
// console.log("WS Event Received:", incomingCallData.data);
|
|
2950
2950
|
this.twilioService.conferenceCallInfo = incomingCallData;
|
|
2951
|
-
|
|
2951
|
+
let participants = [];
|
|
2952
|
+
this.incomingCallsList = !!incomingCallData.participants ? incomingCallData.participants.filter((item) => !item.isLeft) : [];
|
|
2952
2953
|
// incomingCallData.participants.length ? incomingCallData.participants.filter((item: any) => !item.isLeft) : [];
|
|
2953
2954
|
if (this.incomingCallsList.length > 0) {
|
|
2954
2955
|
// this.showIncomingCallPopup(incoming, data/
|
|
@@ -2961,13 +2962,13 @@ class DialboxComponent {
|
|
|
2961
2962
|
}
|
|
2962
2963
|
this.isCallInProgress = true;
|
|
2963
2964
|
this.isDialpadHidden = false;
|
|
2964
|
-
this.callData.phone = this.incomingCallsList[0].from;
|
|
2965
|
-
this.callData.name = "";
|
|
2966
|
-
this.callData.img = "assets/images/user.jpg";
|
|
2967
|
-
this.callData.isIncomingCall = true;
|
|
2968
|
-
this.callData.participantId = this.incomingCallsList[0].participantId;
|
|
2969
|
-
this.callData.conferenceId = incomingCallData.conferenceId;
|
|
2970
|
-
this.callData.conferenceSid = incomingCallData.conferenceSid;
|
|
2965
|
+
// this.callData.phone = this.incomingCallsList[0].from;
|
|
2966
|
+
// this.callData.name = "";
|
|
2967
|
+
// this.callData.img = "assets/images/user.jpg";
|
|
2968
|
+
// this.callData.isIncomingCall = true;
|
|
2969
|
+
// this.callData.participantId = this.incomingCallsList[0].participantId;
|
|
2970
|
+
// this.callData.conferenceId = incomingCallData.conferenceId;
|
|
2971
|
+
// this.callData.conferenceSid = incomingCallData.conferenceSid;
|
|
2971
2972
|
// let device = await this.twilioService.connect('');
|
|
2972
2973
|
// console.log(device, 'callConnect');
|
|
2973
2974
|
}
|