@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.
@@ -4580,6 +4580,14 @@ class DialboxComponent {
4580
4580
  this.twilioService.conferenceCallInfo = incomingCallData;
4581
4581
  this.conferenceCallList.emit(incomingCallData);
4582
4582
  this.token = localStorage.getItem('ext_token') || '';
4583
+ console.log('incomingCallData 235', incomingCallData);
4584
+ incomingCallData.forEach((callInfo) => {
4585
+ // Check if WE are an active participant in this conference
4586
+ if (!callInfo?.participants?.length && !this.nullParticipantCallList.includes(callInfo?.conferenceId)) {
4587
+ this.nullParticipantCallList.push(callInfo?.conferenceId);
4588
+ swal("Error", 'Call not connected facing some issue', "error");
4589
+ }
4590
+ });
4583
4591
  if (this.token == 'logout') {
4584
4592
  console.error('No authentication token found');
4585
4593
  this.twilioService.device?.disconnectAll();
@@ -4589,6 +4597,7 @@ class DialboxComponent {
4589
4597
  incomingCallData = incomingCallData?.length > 0
4590
4598
  ? incomingCallData.filter((item) => item.participants?.length > 0)
4591
4599
  : [];
4600
+ console.log('incomingCallData 251', incomingCallData);
4592
4601
  // All conferenceIds received from socket this tick
4593
4602
  const socketConferenceIds = incomingCallData.map((c) => c.conferenceId);
4594
4603
  incomingCallData.forEach((callInfo) => {