@vgroup/dialbox 0.4.71 → 0.4.72

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.
@@ -1890,18 +1890,18 @@ class CallProgressComponent {
1890
1890
  else if (index != -1) {
1891
1891
  this.currentCallList[index] = Object.assign(Object.assign({}, res), { img: 'assets/images/user.jpg', isIncomingCall: res.direction == "incoming-call", isHold: res.isHold, isMute: false, isConference: res.isConference, isAcceptCall: res.direction == "incoming-call" ? this.getStatus(res) : true, dial: true, phone: res.direction == "incoming-call" ? res === null || res === void 0 ? void 0 : res.from : res === null || res === void 0 ? void 0 : res.to, participantId: res.id, name: res.name || (res === null || res === void 0 ? void 0 : res.fromName) || (res === null || res === void 0 ? void 0 : res.toName), time: this.getTimeDifference(res.joinedAt || new Date().toUTCString()) });
1892
1892
  }
1893
- if (this.currentCallList.length == 1 && this.currentCallList[0].isHold) {
1894
- setTimeout(() => {
1895
- if (this.currentCallList.length == 1 && this.currentCallList[0].isHold) {
1896
- this.onholdOrUnholdParticipant({
1897
- participantId: [this.currentCallList[0].participantId],
1898
- conferenceId: this.conferenceId,
1899
- hold: false,
1900
- conference: this.currentCallList[0].isConference
1901
- });
1902
- }
1903
- }, 1000);
1904
- }
1893
+ // if(this.currentCallList.length == 1 && this.currentCallList[0].isHold){
1894
+ // setTimeout(() => {
1895
+ // if(this.currentCallList.length == 1 && this.currentCallList[0].isHold) {
1896
+ // this.onholdOrUnholdParticipant({
1897
+ // participantId: [this.currentCallList[0].participantId],
1898
+ // conferenceId: this.conferenceId,
1899
+ // hold: false,
1900
+ // conference: this.currentCallList[0].isConference
1901
+ // });
1902
+ // }
1903
+ // }, 1000);
1904
+ // }
1905
1905
  }
1906
1906
  else {
1907
1907
  this.currentCallList.push(Object.assign(Object.assign({}, res), { img: 'assets/images/user.jpg', isIncomingCall: res.direction == "incoming-call", isHold: res.isHold, isMute: false, isConference: res.isConference, isAcceptCall: res.direction == "incoming-call" ? this.getStatus(res) : true, dial: true, phone: res.direction == "incoming-call" ? res === null || res === void 0 ? void 0 : res.from : res === null || res === void 0 ? void 0 : res.to, participantId: res.id, name: res.name || (res === null || res === void 0 ? void 0 : res.fromName) || (res === null || res === void 0 ? void 0 : res.toName), time: this.getTimeDifference(res.joinedAt || new Date().toUTCString()) }));
@@ -4340,7 +4340,6 @@ 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
- this.toastTimeout = res.timeInterval * 1000;
4344
4343
  yield this.showNumberToast(res);
4345
4344
  }
4346
4345
  }