@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.
@@ -2165,6 +2165,8 @@ class CallProgressComponent {
2165
2165
  if (!c?.isAcceptCall && !isContect) {
2166
2166
  let index = this.currentCallList.findIndex((res) => res.participantId == c.participantId);
2167
2167
  this.currentCallList.splice(index, 1);
2168
+ this.incomeingCallSocketService.pause();
2169
+ this.endIncomingCallEvent.emit();
2168
2170
  return false;
2169
2171
  }
2170
2172
  let participantId = isAllCallEnd ? 'all' : c.participantId || c.participantId;
@@ -4707,6 +4709,8 @@ class DialboxComponent {
4707
4709
  endIncomingCall(incomingCall) {
4708
4710
  this.notificationCallList.filter((item) => item?.participantId !== incomingCall.participantId);
4709
4711
  this.incomingCallsList.filter((item) => item?.participantId !== incomingCall.participantId);
4712
+ this.incomeingCallSocketService.pause();
4713
+ this.cdk.detectChanges();
4710
4714
  }
4711
4715
  acceptNewIncomingCall(call) {
4712
4716
  //first cut the current call