@vgroup/dialbox 0.5.23 → 0.5.25

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.
@@ -2124,6 +2124,8 @@ class CallProgressComponent {
2124
2124
  if (!(c === null || c === void 0 ? void 0 : c.isAcceptCall) && !isContect) {
2125
2125
  let index = this.currentCallList.findIndex((res) => res.participantId == c.participantId);
2126
2126
  this.currentCallList.splice(index, 1);
2127
+ this.incomeingCallSocketService.pause();
2128
+ this.endIncomingCallEvent.emit();
2127
2129
  return false;
2128
2130
  }
2129
2131
  let participantId = isAllCallEnd ? 'all' : c.participantId || c.participantId;
@@ -4683,6 +4685,8 @@ class DialboxComponent {
4683
4685
  endIncomingCall(incomingCall) {
4684
4686
  this.notificationCallList.filter((item) => (item === null || item === void 0 ? void 0 : item.participantId) !== incomingCall.participantId);
4685
4687
  this.incomingCallsList.filter((item) => (item === null || item === void 0 ? void 0 : item.participantId) !== incomingCall.participantId);
4688
+ this.incomeingCallSocketService.pause();
4689
+ this.cdk.detectChanges();
4686
4690
  }
4687
4691
  acceptNewIncomingCall(call) {
4688
4692
  //first cut the current call