@vgroup/dialbox 0.4.72 → 0.4.73

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.
@@ -2084,7 +2084,7 @@ class CallProgressComponent {
2084
2084
  participantId: [c.participantId],
2085
2085
  conferenceId: this.conferenceId,
2086
2086
  hold: !c.hold,
2087
- conference: true
2087
+ conference: c.isConference
2088
2088
  });
2089
2089
  c.hold = !c.hold;
2090
2090
  this.cdr.detectChanges();
@@ -4340,9 +4340,11 @@ class DialboxComponent {
4340
4340
  const res = yield this.twilioService.getToNumber(dialedNumber, ipAddress.address.countryCode).toPromise();
4341
4341
  if (res.status == 200) {
4342
4342
  console.log(res, 'getToNumber');
4343
- yield this.showNumberToast(res);
4343
+ this.showNumberToast(res);
4344
4344
  }
4345
+ return res;
4345
4346
  }
4347
+ return null;
4346
4348
  });
4347
4349
  }
4348
4350
  isAlertEnable() {
@@ -4474,9 +4476,9 @@ class DialboxComponent {
4474
4476
  this.endCall();
4475
4477
  }
4476
4478
  // Clear any timeouts or intervals if they exist
4477
- if (this.toastTimeout) {
4478
- clearTimeout(this.toastTimeout);
4479
- }
4479
+ // if (this.toastTimeout) {
4480
+ // clearTimeout(this.toastTimeout);
4481
+ // }
4480
4482
  console.log('C2cDialpadComponent cleanup complete');
4481
4483
  }
4482
4484
  catch (error) {