@vgroup/dialbox 0.3.89 → 0.3.90

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.
@@ -1794,7 +1794,7 @@ class CallProgressComponent {
1794
1794
  }
1795
1795
  else if (changes['callData'].currentValue?.displayNum || changes['callData'].currentValue?.from) {
1796
1796
  console.log('test-startCall123', changes['callData'].currentValue);
1797
- this.currentCall = { ...changes['callData'].currentValue, img: 'assets/images/user.jpg' };
1797
+ // this.currentCall = { ...changes['callData'].currentValue, img: 'assets/images/user.jpg' };
1798
1798
  this.startCall(changes['callData'].currentValue);
1799
1799
  }
1800
1800
  }
@@ -2576,7 +2576,7 @@ class CallProgressComponent {
2576
2576
  // Merge functionality - unmute both calls for conference
2577
2577
  if (this.currentCallList.length > 1) {
2578
2578
  this.currentCallList.forEach(async (c) => {
2579
- if (c?.participantId && c?.isHold) {
2579
+ if (c?.participantId) {
2580
2580
  c.isHold = false;
2581
2581
  await this.onholdOrUnholdParticipant({
2582
2582
  participantId: [c?.participantId],
@@ -2584,8 +2584,14 @@ class CallProgressComponent {
2584
2584
  hold: false,
2585
2585
  isConference: true
2586
2586
  });
2587
+ c.isConference = true;
2588
+ // } else if(c?.participantId && c.isIncomingCall){
2589
+ // await this.twilioService.addIncomingParticipant(c?.participantId, this.conferenceId).subscribe((data: any) => {
2590
+ // console.log(data,'bhhhhhhhhhhhhhhhhhhh')
2591
+ // })
2592
+ // c.isHold = false;
2593
+ // c.isConference = true;
2587
2594
  }
2588
- c.isConference = true;
2589
2595
  });
2590
2596
  // await this.onholdOrUnholdParticipant({
2591
2597
  // participantId: this.heldCall?.callInfo?.participantId,