@vgroup/dialbox 0.6.2-9.31 → 0.6.2-9.32

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.
@@ -1906,6 +1906,25 @@ class CallProgressComponent {
1906
1906
  this.leftParticipent[callInfo === null || callInfo === void 0 ? void 0 : callInfo.conferenceId] = [...new Map(callInfo === null || callInfo === void 0 ? void 0 : callInfo.participants.filter((item) => (item === null || item === void 0 ? void 0 : item.isLeft) === true).map((item) => [(item === null || item === void 0 ? void 0 : item.direction) == 'outgoing-call' ? (item === null || item === void 0 ? void 0 : item.to) || 'Unknown' : item === null || item === void 0 ? void 0 : item.from, item])).values()
1907
1907
  ];
1908
1908
  }
1909
+ else {
1910
+ this.isRinging = false;
1911
+ this.isConcurrentIncoming = false;
1912
+ this.incomingCallDiv = false;
1913
+ this.currentCallList = [];
1914
+ this.currentCall = {};
1915
+ this.cdr.detectChanges();
1916
+ if (this.isRinging) {
1917
+ this.incomeingCallSocketService.pause();
1918
+ }
1919
+ this.isRinging = false;
1920
+ this.isClickExpand = false;
1921
+ this.isCallInProgress = false;
1922
+ this.isConferenceCallHold = false;
1923
+ this.call.disconnect();
1924
+ this.stopTimer();
1925
+ this.cdr.detectChanges();
1926
+ this.endCallEvent.emit();
1927
+ }
1909
1928
  });
1910
1929
  let validValues = new Set(this.newIncomingCallsList.flatMap((item) => item === null || item === void 0 ? void 0 : item.participants.map((val) => val === null || val === void 0 ? void 0 : val.id)));
1911
1930
  this.currentCallList = this.currentCallList.filter((item) => validValues.has(item === null || item === void 0 ? void 0 : item.participantId));