@vgroup/dialbox 0.7.62 → 0.7.63

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,14 +4580,6 @@ 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
- });
4591
4583
  if (this.token == 'logout') {
4592
4584
  console.error('No authentication token found');
4593
4585
  this.twilioService.device?.disconnectAll();
@@ -4597,15 +4589,10 @@ class DialboxComponent {
4597
4589
  incomingCallData = incomingCallData?.length > 0
4598
4590
  ? incomingCallData.filter((item) => item.participants?.length > 0)
4599
4591
  : [];
4600
- console.log('incomingCallData 251', incomingCallData);
4601
4592
  // All conferenceIds received from socket this tick
4602
4593
  const socketConferenceIds = incomingCallData.map((c) => c.conferenceId);
4603
4594
  incomingCallData.forEach((callInfo) => {
4604
4595
  // Check if WE are an active participant in this conference
4605
- if (!callInfo?.participants?.length && !this.nullParticipantCallList.includes(callInfo?.conferenceId)) {
4606
- this.nullParticipantCallList.push(callInfo?.conferenceId);
4607
- swal("Error", 'Call not connected facing some issue', "error");
4608
- }
4609
4596
  const ourNumber = callInfo?.participants.find((resData) => ((this.deviceNumberList.includes(resData?.from) && resData?.direction == 'outgoing-call' && resData?.client) ||
4610
4597
  (this.deviceNumberList.includes(resData?.to) && resData?.direction == 'incoming-call' && resData?.client &&
4611
4598
  resData?.callStatus !== 'completed' &&