@vgroup/dialbox 0.7.60 → 0.7.62

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.
@@ -4619,6 +4619,15 @@ class DialboxComponent {
4619
4619
  this.twilioService.conferenceCallInfo = incomingCallData;
4620
4620
  this.conferenceCallList.emit(incomingCallData);
4621
4621
  this.token = localStorage.getItem('ext_token') || '';
4622
+ console.log('incomingCallData 235', incomingCallData);
4623
+ incomingCallData.forEach((callInfo) => {
4624
+ var _a;
4625
+ // Check if WE are an active participant in this conference
4626
+ if (!((_a = callInfo === null || callInfo === void 0 ? void 0 : callInfo.participants) === null || _a === void 0 ? void 0 : _a.length) && !this.nullParticipantCallList.includes(callInfo === null || callInfo === void 0 ? void 0 : callInfo.conferenceId)) {
4627
+ this.nullParticipantCallList.push(callInfo === null || callInfo === void 0 ? void 0 : callInfo.conferenceId);
4628
+ swal("Error", 'Call not connected facing some issue', "error");
4629
+ }
4630
+ });
4622
4631
  if (this.token == 'logout') {
4623
4632
  console.error('No authentication token found');
4624
4633
  (_a = this.twilioService.device) === null || _a === void 0 ? void 0 : _a.disconnectAll();
@@ -4628,6 +4637,7 @@ class DialboxComponent {
4628
4637
  incomingCallData = (incomingCallData === null || incomingCallData === void 0 ? void 0 : incomingCallData.length) > 0
4629
4638
  ? incomingCallData.filter((item) => { var _a; return ((_a = item.participants) === null || _a === void 0 ? void 0 : _a.length) > 0; })
4630
4639
  : [];
4640
+ console.log('incomingCallData 251', incomingCallData);
4631
4641
  // All conferenceIds received from socket this tick
4632
4642
  const socketConferenceIds = incomingCallData.map((c) => c.conferenceId);
4633
4643
  incomingCallData.forEach((callInfo) => {