@vgroup/dialbox 0.7.97 → 0.7.99
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 +3 -3
- package/fesm2015/vgroup-dialbox.mjs +3 -3
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +3 -3
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2721,7 +2721,7 @@ class CallProgressComponent {
|
|
|
2721
2721
|
From: rejoinParticipentInfo.from,
|
|
2722
2722
|
To: rejoinParticipentInfo.to,
|
|
2723
2723
|
Env: environment.abb,
|
|
2724
|
-
Token:
|
|
2724
|
+
Token: rejoinParticipentInfo.id,
|
|
2725
2725
|
Ext: rejoinParticipentInfo.extNum,
|
|
2726
2726
|
conferenceId: rejoinParticipentInfo === null || rejoinParticipentInfo === void 0 ? void 0 : rejoinParticipentInfo.conferenceId
|
|
2727
2727
|
},
|
|
@@ -4933,14 +4933,14 @@ class DialboxComponent {
|
|
|
4933
4933
|
}
|
|
4934
4934
|
// Filter out conferences with no participants
|
|
4935
4935
|
incomingCallData = (incomingCallData === null || incomingCallData === void 0 ? void 0 : incomingCallData.length) > 0
|
|
4936
|
-
? incomingCallData.filter((item) => { var _a; return ((_a = item.participants) === null || _a === void 0 ? void 0 : _a.length) > 0
|
|
4936
|
+
? incomingCallData.filter((item) => { var _a; return ((_a = item.participants) === null || _a === void 0 ? void 0 : _a.length) > 0; })
|
|
4937
4937
|
: [];
|
|
4938
4938
|
// All conferenceIds received from socket this tick
|
|
4939
4939
|
const socketConferenceIds = incomingCallData.map((c) => c.conferenceId);
|
|
4940
4940
|
incomingCallData.forEach((callInfo) => {
|
|
4941
4941
|
var _a;
|
|
4942
4942
|
// Check if WE are an active participant in this conference
|
|
4943
|
-
const ourNumber = callInfo === null || callInfo === void 0 ? void 0 : callInfo.participants.find((resData) => ((this.deviceNumberList.includes(resData === null || resData === void 0 ? void 0 : resData.from) && (resData === null || resData === void 0 ? void 0 : resData.direction) == 'outgoing-call' && (resData === null || resData === void 0 ? void 0 : resData.client)) ||
|
|
4943
|
+
const ourNumber = callInfo === null || callInfo === void 0 ? void 0 : callInfo.participants.find((resData) => ((this.deviceNumberList.includes(resData === null || resData === void 0 ? void 0 : resData.from) && (resData === null || resData === void 0 ? void 0 : resData.direction) == 'outgoing-call' && (resData === null || resData === void 0 ? void 0 : resData.client) && ((resData === null || resData === void 0 ? void 0 : resData.host) && callInfo.callSource == 'Dialpad' || !(resData === null || resData === void 0 ? void 0 : resData.host))) ||
|
|
4944
4944
|
(this.deviceNumberList.includes(resData === null || resData === void 0 ? void 0 : resData.to) && (resData === null || resData === void 0 ? void 0 : resData.direction) == 'incoming-call' && (resData === null || resData === void 0 ? void 0 : resData.client))) && !(resData === null || resData === void 0 ? void 0 : resData.isLeft));
|
|
4945
4945
|
// Match the ACTIVE conference entry only — never a pending incoming-call
|
|
4946
4946
|
// notification, which can share this conferenceId but must not be overwritten
|