@vgroup/dialbox 0.6.3-0.46 → 0.6.3-0.47

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.
@@ -1849,7 +1849,7 @@ class CallProgressComponent {
1849
1849
  this.isMute = !ourNumberInfo?.isHold ? ourNumberInfo?.isMute : this.isMute;
1850
1850
  if (ourNumberInfo?.id) {
1851
1851
  this.newIncomingCallsList[i].participants.forEach(async (res) => {
1852
- if (res?.to == 'c2c_softphone_client') {
1852
+ if (res?.to == 'c2c_softphone_client' && !res?.isLeft) {
1853
1853
  this.hostnumber = res;
1854
1854
  }
1855
1855
  else {
@@ -3273,10 +3273,11 @@ class CallProgressComponent {
3273
3273
  }
3274
3274
  leaveConference() {
3275
3275
  console.log('leaveTime', this.leaveReason);
3276
- console.log('Left Conference');
3277
3276
  this.showDisconnectModal = false;
3278
- let payload = { conferenceId: this.selectedConf?.conferenceId || this.hostnumber?.conferenceId, time: this.convertHHMMToMinutes(this.leaveReason) };
3279
- this.extensionService.setTimerForEndConferenceCall(payload);
3277
+ if (this.isReasonChecked) {
3278
+ let payload = { conferenceId: this.selectedConf?.conferenceId || this.hostnumber?.conferenceId, time: this.convertHHMMToMinutes(this.leaveReason) };
3279
+ this.extensionService.setTimerForEndConferenceCall(payload).subscribe((res) => { });
3280
+ }
3280
3281
  if (this.selectedConf?.conferenceId) {
3281
3282
  let conference = this.newIncomingCallsList?.find((res) => res?.conferenceId == this.selectedConf?.conferenceId);
3282
3283
  let participentInfo = conference?.participants?.find((participant) => ((this.deviceNumberList.includes(participant?.from)