@vgroup/dialbox 0.4.156 → 0.4.158
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.
- package/esm2020/lib/components/call-progress/call-progress.component.mjs +2 -2
- package/esm2020/lib/dialbox.component.mjs +6 -3
- package/fesm2015/vgroup-dialbox.mjs +7 -4
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +6 -3
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2486,7 +2486,7 @@ class CallProgressComponent {
|
|
|
2486
2486
|
ipCountry: '',
|
|
2487
2487
|
callStatus: 'answered',
|
|
2488
2488
|
deviceId: this.deviceId,
|
|
2489
|
-
conferenceId: this.conferenceId || data.conferenceId || 'no'
|
|
2489
|
+
conferenceId: this.conferenceId || (data === null || data === void 0 ? void 0 : data.conferenceId) || 'no'
|
|
2490
2490
|
};
|
|
2491
2491
|
this.extensionService.setIncomingCallStatus(payload).subscribe((res) => __awaiter(this, void 0, void 0, function* () {
|
|
2492
2492
|
this.call = yield this.twilioService.connect(res.conferenceId);
|
|
@@ -3308,6 +3308,7 @@ class DialboxComponent {
|
|
|
3308
3308
|
this._isDialpadHidden = true;
|
|
3309
3309
|
// Let the library decide to auto-open on incoming call without host wiring
|
|
3310
3310
|
this.autoOpenOnIncoming = true;
|
|
3311
|
+
this.isIncomingCallnotification = false;
|
|
3311
3312
|
this.conferenceCallInfo = {
|
|
3312
3313
|
"createdAt": "Tue Dec 30 07:53:51 UTC 2025",
|
|
3313
3314
|
"conferenceName": "conf_6953850f1522800c4f3cc715",
|
|
@@ -3687,7 +3688,7 @@ class DialboxComponent {
|
|
|
3687
3688
|
else {
|
|
3688
3689
|
incomingCallData['isFirstCall'] = true;
|
|
3689
3690
|
console.log('dd1');
|
|
3690
|
-
this.isCallInProgress = true;
|
|
3691
|
+
// this.isCallInProgress = true;
|
|
3691
3692
|
this.isDialpadHidden = false;
|
|
3692
3693
|
this.callData.phone = incomingCallData.parameters['From'];
|
|
3693
3694
|
console.log('dd2');
|
|
@@ -3744,7 +3745,7 @@ class DialboxComponent {
|
|
|
3744
3745
|
this.registerDragElement();
|
|
3745
3746
|
}
|
|
3746
3747
|
ngOnChanges(changes) {
|
|
3747
|
-
var _a, _b, _c, _d;
|
|
3748
|
+
var _a, _b, _c, _d, _e;
|
|
3748
3749
|
if (changes['incomingCallnotification']) {
|
|
3749
3750
|
console.log('incomingCallnotification', changes['incomingCallnotification'].currentValue);
|
|
3750
3751
|
this.isIncomingCallnotification = true;
|
|
@@ -3756,8 +3757,10 @@ class DialboxComponent {
|
|
|
3756
3757
|
// deviceId: this.deviceId,
|
|
3757
3758
|
// conferenceId: this.incomingCallnotification.data.data.conferenceId || 'no'
|
|
3758
3759
|
// }
|
|
3759
|
-
this.isCallInProgress = true;
|
|
3760
3760
|
this.incomingCallsList.push({ direction: "incoming-call", img: 'assets/images/user.jpg', isIncomingCall: true, isHold: false, isConference: false, isAcceptCall: false, dial: true, phone: (_a = this.incomingCallnotification.data.data) === null || _a === void 0 ? void 0 : _a.fromNumber, participantId: (_b = this.incomingCallnotification.data.data) === null || _b === void 0 ? void 0 : _b.participantId, name: (_c = this.incomingCallnotification.data.data) === null || _c === void 0 ? void 0 : _c.fromName, time: '', id: (_d = this.incomingCallnotification.data.data) === null || _d === void 0 ? void 0 : _d.participantId });
|
|
3761
|
+
if ((_e = this.incomingCallnotification.data.data) === null || _e === void 0 ? void 0 : _e.participantId) {
|
|
3762
|
+
this.isCallInProgress = true;
|
|
3763
|
+
}
|
|
3761
3764
|
// this.extensionService.setIncomingCallStatus(payload).subscribe((res: any) => {
|
|
3762
3765
|
// console.log(res)
|
|
3763
3766
|
// })
|