@vgroup/dialbox 0.6.3-0.46 → 0.6.3-0.47
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 +6 -5
- package/esm2020/lib/service/extension.service.mjs +1 -1
- package/fesm2015/vgroup-dialbox.mjs +5 -4
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +5 -4
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1842,7 +1842,7 @@ class CallProgressComponent {
|
|
|
1842
1842
|
if (ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.id) {
|
|
1843
1843
|
this.newIncomingCallsList[i].participants.forEach((res) => __awaiter(this, void 0, void 0, function* () {
|
|
1844
1844
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1845
|
-
if ((res === null || res === void 0 ? void 0 : res.to) == 'c2c_softphone_client') {
|
|
1845
|
+
if ((res === null || res === void 0 ? void 0 : res.to) == 'c2c_softphone_client' && !(res === null || res === void 0 ? void 0 : res.isLeft)) {
|
|
1846
1846
|
this.hostnumber = res;
|
|
1847
1847
|
}
|
|
1848
1848
|
else {
|
|
@@ -3292,10 +3292,11 @@ class CallProgressComponent {
|
|
|
3292
3292
|
leaveConference() {
|
|
3293
3293
|
var _a, _b, _c, _d, _e;
|
|
3294
3294
|
console.log('leaveTime', this.leaveReason);
|
|
3295
|
-
console.log('Left Conference');
|
|
3296
3295
|
this.showDisconnectModal = false;
|
|
3297
|
-
|
|
3298
|
-
|
|
3296
|
+
if (this.isReasonChecked) {
|
|
3297
|
+
let payload = { conferenceId: ((_a = this.selectedConf) === null || _a === void 0 ? void 0 : _a.conferenceId) || ((_b = this.hostnumber) === null || _b === void 0 ? void 0 : _b.conferenceId), time: this.convertHHMMToMinutes(this.leaveReason) };
|
|
3298
|
+
this.extensionService.setTimerForEndConferenceCall(payload).subscribe((res) => { });
|
|
3299
|
+
}
|
|
3299
3300
|
if ((_c = this.selectedConf) === null || _c === void 0 ? void 0 : _c.conferenceId) {
|
|
3300
3301
|
let conference = (_d = this.newIncomingCallsList) === null || _d === void 0 ? void 0 : _d.find((res) => { var _a; return (res === null || res === void 0 ? void 0 : res.conferenceId) == ((_a = this.selectedConf) === null || _a === void 0 ? void 0 : _a.conferenceId); });
|
|
3301
3302
|
let participentInfo = (_e = conference === null || conference === void 0 ? void 0 : conference.participants) === null || _e === void 0 ? void 0 : _e.find((participant) => ((this.deviceNumberList.includes(participant === null || participant === void 0 ? void 0 : participant.from)
|