@vgroup/dialbox 0.4.44 → 0.4.45

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.
@@ -3079,7 +3079,7 @@ class CallProgressComponent {
3079
3079
  recordID: data === null || data === void 0 ? void 0 : data.id,
3080
3080
  ipAddress: '',
3081
3081
  ipCountry: '',
3082
- CallStatus: this.callStatus,
3082
+ CallStatus: 'answered',
3083
3083
  };
3084
3084
  this.extensionService.setIncomingCallStatus(payload).subscribe((res) => {
3085
3085
  console.log(res);
@@ -3099,6 +3099,15 @@ class CallProgressComponent {
3099
3099
  if (text.length < 2) {
3100
3100
  this.filteredList = this.contacts;
3101
3101
  this.filteredParticipentList = this.allParticipentList;
3102
+ this.filteredList.forEach((c) => {
3103
+ let index = this.currentCallList.findIndex((cc) => { var _a, _b; return (cc === null || cc === void 0 ? void 0 : cc.phone) == ((_a = c === null || c === void 0 ? void 0 : c.numbersList[0]) === null || _a === void 0 ? void 0 : _a.number) || (cc === null || cc === void 0 ? void 0 : cc.phone) == ((_b = c === null || c === void 0 ? void 0 : c.numbersList[1]) === null || _b === void 0 ? void 0 : _b.number); });
3104
+ if (index > -1) {
3105
+ c['IsConnected'] = true;
3106
+ }
3107
+ else {
3108
+ c['IsConnected'] = false;
3109
+ }
3110
+ });
3102
3111
  return;
3103
3112
  }
3104
3113
  this.filteredList = this.contacts.filter((c) => {