@vgroup/dialbox 0.6.74 → 0.6.76
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.
|
@@ -1829,14 +1829,6 @@ class CallProgressComponent {
|
|
|
1829
1829
|
if (this.extensionService.userId) {
|
|
1830
1830
|
this.userId = this.extensionService.userId;
|
|
1831
1831
|
}
|
|
1832
|
-
// this.twilioService.currentCall.subscribe((incoming: any) => {
|
|
1833
|
-
// if (!incoming) { return; }
|
|
1834
|
-
// console.log('TwilioService.currentCall emitted:', incoming);
|
|
1835
|
-
// console.log('Concurrent incoming detected - showing banner');
|
|
1836
|
-
// this.isConcurrentIncoming = true;
|
|
1837
|
-
// this.incomingCallDiv = true;
|
|
1838
|
-
// this.cdr.detectChanges();
|
|
1839
|
-
// });
|
|
1840
1832
|
}
|
|
1841
1833
|
catch (e) {
|
|
1842
1834
|
console.error('Error subscribing to incoming calls:', e);
|
|
@@ -1985,8 +1977,7 @@ class CallProgressComponent {
|
|
|
1985
1977
|
participantId: [holdCallInfo === null || holdCallInfo === void 0 ? void 0 : holdCallInfo.id],
|
|
1986
1978
|
conferenceId: holdCallInfo === null || holdCallInfo === void 0 ? void 0 : holdCallInfo.conferenceId,
|
|
1987
1979
|
hold: false,
|
|
1988
|
-
mute: (holdCallInfo === null || holdCallInfo === void 0 ? void 0 : holdCallInfo.mute) || false
|
|
1989
|
-
conference: (holdCallInfo === null || holdCallInfo === void 0 ? void 0 : holdCallInfo.isConference) || false
|
|
1980
|
+
mute: (holdCallInfo === null || holdCallInfo === void 0 ? void 0 : holdCallInfo.mute) || false
|
|
1990
1981
|
});
|
|
1991
1982
|
this.getAllParticipants(holdCallInfo === null || holdCallInfo === void 0 ? void 0 : holdCallInfo.conferenceId);
|
|
1992
1983
|
this.isUnholdConferenceCall = false;
|
|
@@ -2299,8 +2290,7 @@ class CallProgressComponent {
|
|
|
2299
2290
|
participantId: [c.participantId],
|
|
2300
2291
|
conferenceId: c === null || c === void 0 ? void 0 : c.conferenceId,
|
|
2301
2292
|
hold: !c.isHold,
|
|
2302
|
-
mute: (c === null || c === void 0 ? void 0 : c.mute) || false
|
|
2303
|
-
conference: c.isConference || false
|
|
2293
|
+
mute: (c === null || c === void 0 ? void 0 : c.mute) || false
|
|
2304
2294
|
});
|
|
2305
2295
|
c.isHold = !c.isHold;
|
|
2306
2296
|
this.cdr.detectChanges();
|
|
@@ -2608,8 +2598,7 @@ class CallProgressComponent {
|
|
|
2608
2598
|
participantId: [ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.id],
|
|
2609
2599
|
conferenceId: ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.conferenceId,
|
|
2610
2600
|
hold: true,
|
|
2611
|
-
mute: (ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.mute) || false
|
|
2612
|
-
conference: ourNumberInfo.isConference || false
|
|
2601
|
+
mute: (ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.mute) || false
|
|
2613
2602
|
});
|
|
2614
2603
|
this.isConferenceCallHold = true;
|
|
2615
2604
|
}
|
|
@@ -2708,13 +2697,6 @@ class CallProgressComponent {
|
|
|
2708
2697
|
participantIDs.push(c === null || c === void 0 ? void 0 : c.participantId);
|
|
2709
2698
|
}
|
|
2710
2699
|
}));
|
|
2711
|
-
yield this.onholdOrUnholdParticipant({
|
|
2712
|
-
participantId: participantIDs,
|
|
2713
|
-
conferenceId: this.currentCall.conferenceId,
|
|
2714
|
-
hold: null,
|
|
2715
|
-
mute: null,
|
|
2716
|
-
conference: true
|
|
2717
|
-
});
|
|
2718
2700
|
// Put current call on hold
|
|
2719
2701
|
// Add participant to the conference
|
|
2720
2702
|
let data = yield this.addParticipantToCall({
|
|
@@ -2730,8 +2712,9 @@ class CallProgressComponent {
|
|
|
2730
2712
|
this.isCallOnHold = true;
|
|
2731
2713
|
this.showRingAnimation = true;
|
|
2732
2714
|
this.isConference = true;
|
|
2715
|
+
participantIDs.push(data === null || data === void 0 ? void 0 : data.participantId);
|
|
2733
2716
|
yield this.onholdOrUnholdParticipant({
|
|
2734
|
-
participantId:
|
|
2717
|
+
participantId: participantIDs,
|
|
2735
2718
|
conferenceId: this.currentCall.conferenceId,
|
|
2736
2719
|
hold: null,
|
|
2737
2720
|
mute: null,
|
|
@@ -2806,8 +2789,7 @@ class CallProgressComponent {
|
|
|
2806
2789
|
participantId: [ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.id],
|
|
2807
2790
|
conferenceId: ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.conferenceId,
|
|
2808
2791
|
hold: true,
|
|
2809
|
-
mute: (ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.mute) || false
|
|
2810
|
-
conference: (ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.isConference) || false
|
|
2792
|
+
mute: (ourNumberInfo === null || ourNumberInfo === void 0 ? void 0 : ourNumberInfo.mute) || false
|
|
2811
2793
|
});
|
|
2812
2794
|
this.isConferenceCallHold = true;
|
|
2813
2795
|
this.onAddNewCall(callData, true);
|
|
@@ -2947,8 +2929,7 @@ class CallProgressComponent {
|
|
|
2947
2929
|
participantId: [participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.id],
|
|
2948
2930
|
conferenceId: participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.conferenceId,
|
|
2949
2931
|
hold: false,
|
|
2950
|
-
mute: (participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.mute) || false
|
|
2951
|
-
conference: (participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.isConference) || false
|
|
2932
|
+
mute: (participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.mute) || false
|
|
2952
2933
|
});
|
|
2953
2934
|
// this.isConferenceCallHold = true;
|
|
2954
2935
|
}
|
|
@@ -2960,8 +2941,7 @@ class CallProgressComponent {
|
|
|
2960
2941
|
participantId: [participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.id],
|
|
2961
2942
|
conferenceId: participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.conferenceId,
|
|
2962
2943
|
hold: true,
|
|
2963
|
-
mute: (participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.mute) || false
|
|
2964
|
-
conference: (participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.isConference) || false
|
|
2944
|
+
mute: (participantInfo === null || participantInfo === void 0 ? void 0 : participantInfo.mute) || false
|
|
2965
2945
|
});
|
|
2966
2946
|
// this.isConferenceCallHold = true;
|
|
2967
2947
|
}
|
|
@@ -2971,8 +2951,7 @@ class CallProgressComponent {
|
|
|
2971
2951
|
participantId: [c === null || c === void 0 ? void 0 : c.participantId],
|
|
2972
2952
|
conferenceId: c.conferenceId,
|
|
2973
2953
|
hold: true,
|
|
2974
|
-
mute: (c === null || c === void 0 ? void 0 : c.mute) || false
|
|
2975
|
-
conference: (c === null || c === void 0 ? void 0 : c.isConference) || false
|
|
2954
|
+
mute: (c === null || c === void 0 ? void 0 : c.mute) || false
|
|
2976
2955
|
});
|
|
2977
2956
|
// this.isConferenceCallHold = true;
|
|
2978
2957
|
}
|