@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.
@@ -2129,7 +2129,7 @@ class CallProgressComponent {
2129
2129
  participantId: [c.participantId],
2130
2130
  conferenceId: this.conferenceId,
2131
2131
  hold: !c.hold,
2132
- conference: true
2132
+ conference: c.isConference
2133
2133
  });
2134
2134
  c.hold = !c.hold;
2135
2135
  this.cdr.detectChanges();
@@ -4382,9 +4382,11 @@ class DialboxComponent {
4382
4382
  const res = await this.twilioService.getToNumber(dialedNumber, ipAddress.address.countryCode).toPromise();
4383
4383
  if (res.status == 200) {
4384
4384
  console.log(res, 'getToNumber');
4385
- await this.showNumberToast(res);
4385
+ this.showNumberToast(res);
4386
4386
  }
4387
+ return res;
4387
4388
  }
4389
+ return null;
4388
4390
  }
4389
4391
  isAlertEnable() {
4390
4392
  return localStorage.getItem('isAlertEnable');
@@ -4513,9 +4515,9 @@ class DialboxComponent {
4513
4515
  this.endCall();
4514
4516
  }
4515
4517
  // Clear any timeouts or intervals if they exist
4516
- if (this.toastTimeout) {
4517
- clearTimeout(this.toastTimeout);
4518
- }
4518
+ // if (this.toastTimeout) {
4519
+ // clearTimeout(this.toastTimeout);
4520
+ // }
4519
4521
  console.log('C2cDialpadComponent cleanup complete');
4520
4522
  }
4521
4523
  catch (error) {