@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
|
@@ -608,7 +608,7 @@ class ExtensionService {
|
|
|
608
608
|
'Content-Type': 'application/json',
|
|
609
609
|
'Auth-Key': 'Bearer ' + localStorage.getItem('ext_token')
|
|
610
610
|
});
|
|
611
|
-
const httpOptions = { headers };
|
|
611
|
+
const httpOptions = { headers: headers };
|
|
612
612
|
return this.http.post(environment.apiUrl + '/utilities/ext/ur/hold/participant', payload, httpOptions);
|
|
613
613
|
}
|
|
614
614
|
// getAllParticipants(id:any, payload: any) {
|
|
@@ -2134,7 +2134,6 @@ class CallProgressComponent {
|
|
|
2134
2134
|
participantNumber: callData?.phone,
|
|
2135
2135
|
conferenceId: this.conferenceId
|
|
2136
2136
|
});
|
|
2137
|
-
// Save participantId for the active leg so we can hold/unhold later
|
|
2138
2137
|
this.callData = { ...this.callData, participantId: addRes?.participantId };
|
|
2139
2138
|
console.log('Initial participantId:', addRes?.participantId);
|
|
2140
2139
|
}
|
|
@@ -2392,15 +2391,13 @@ class CallProgressComponent {
|
|
|
2392
2391
|
return;
|
|
2393
2392
|
}
|
|
2394
2393
|
// Add participant to the conference
|
|
2395
|
-
|
|
2394
|
+
await this.addParticipantToCall({
|
|
2396
2395
|
from: this.callData?.from,
|
|
2397
2396
|
route: "OUTGOING",
|
|
2398
2397
|
participantNumber: phoneNumber,
|
|
2399
2398
|
conferenceId: conferenceId
|
|
2400
2399
|
});
|
|
2401
|
-
|
|
2402
|
-
this.callData = { ...this.callData, lastAddedParticipantId: addRes?.participantId };
|
|
2403
|
-
console.log("Participant added to conference:", phoneNumber, 'id:', addRes?.participantId);
|
|
2400
|
+
console.log("Participant added to conference:", phoneNumber);
|
|
2404
2401
|
this.showRingAnimation = false;
|
|
2405
2402
|
}
|
|
2406
2403
|
catch (error) {
|