@vgroup/dialbox 0.2.66 → 0.2.68
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 +3 -6
- package/esm2020/lib/service/extension.service.mjs +2 -2
- package/fesm2015/vgroup-dialbox.mjs +3 -6
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +3 -6
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -609,7 +609,7 @@ class ExtensionService {
|
|
|
609
609
|
'Content-Type': 'application/json',
|
|
610
610
|
'Auth-Key': 'Bearer ' + localStorage.getItem('ext_token')
|
|
611
611
|
});
|
|
612
|
-
const httpOptions = { headers };
|
|
612
|
+
const httpOptions = { headers: headers };
|
|
613
613
|
return this.http.post(environment.apiUrl + '/utilities/ext/ur/hold/participant', payload, httpOptions);
|
|
614
614
|
}
|
|
615
615
|
// getAllParticipants(id:any, payload: any) {
|
|
@@ -2139,7 +2139,6 @@ class CallProgressComponent {
|
|
|
2139
2139
|
participantNumber: callData === null || callData === void 0 ? void 0 : callData.phone,
|
|
2140
2140
|
conferenceId: this.conferenceId
|
|
2141
2141
|
});
|
|
2142
|
-
// Save participantId for the active leg so we can hold/unhold later
|
|
2143
2142
|
this.callData = Object.assign(Object.assign({}, this.callData), { participantId: addRes === null || addRes === void 0 ? void 0 : addRes.participantId });
|
|
2144
2143
|
console.log('Initial participantId:', addRes === null || addRes === void 0 ? void 0 : addRes.participantId);
|
|
2145
2144
|
}
|
|
@@ -2417,15 +2416,13 @@ class CallProgressComponent {
|
|
|
2417
2416
|
return;
|
|
2418
2417
|
}
|
|
2419
2418
|
// Add participant to the conference
|
|
2420
|
-
|
|
2419
|
+
yield this.addParticipantToCall({
|
|
2421
2420
|
from: (_d = this.callData) === null || _d === void 0 ? void 0 : _d.from,
|
|
2422
2421
|
route: "OUTGOING",
|
|
2423
2422
|
participantNumber: phoneNumber,
|
|
2424
2423
|
conferenceId: conferenceId
|
|
2425
2424
|
});
|
|
2426
|
-
|
|
2427
|
-
this.callData = Object.assign(Object.assign({}, this.callData), { lastAddedParticipantId: addRes === null || addRes === void 0 ? void 0 : addRes.participantId });
|
|
2428
|
-
console.log("Participant added to conference:", phoneNumber, 'id:', addRes === null || addRes === void 0 ? void 0 : addRes.participantId);
|
|
2425
|
+
console.log("Participant added to conference:", phoneNumber);
|
|
2429
2426
|
this.showRingAnimation = false;
|
|
2430
2427
|
}
|
|
2431
2428
|
catch (error) {
|