@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.
|
@@ -1823,14 +1823,6 @@ class CallProgressComponent {
|
|
|
1823
1823
|
if (this.extensionService.userId) {
|
|
1824
1824
|
this.userId = this.extensionService.userId;
|
|
1825
1825
|
}
|
|
1826
|
-
// this.twilioService.currentCall.subscribe((incoming: any) => {
|
|
1827
|
-
// if (!incoming) { return; }
|
|
1828
|
-
// console.log('TwilioService.currentCall emitted:', incoming);
|
|
1829
|
-
// console.log('Concurrent incoming detected - showing banner');
|
|
1830
|
-
// this.isConcurrentIncoming = true;
|
|
1831
|
-
// this.incomingCallDiv = true;
|
|
1832
|
-
// this.cdr.detectChanges();
|
|
1833
|
-
// });
|
|
1834
1826
|
}
|
|
1835
1827
|
catch (e) {
|
|
1836
1828
|
console.error('Error subscribing to incoming calls:', e);
|
|
@@ -2041,8 +2033,7 @@ class CallProgressComponent {
|
|
|
2041
2033
|
participantId: [holdCallInfo?.id],
|
|
2042
2034
|
conferenceId: holdCallInfo?.conferenceId,
|
|
2043
2035
|
hold: false,
|
|
2044
|
-
mute: holdCallInfo?.mute || false
|
|
2045
|
-
conference: holdCallInfo?.isConference || false
|
|
2036
|
+
mute: holdCallInfo?.mute || false
|
|
2046
2037
|
});
|
|
2047
2038
|
this.getAllParticipants(holdCallInfo?.conferenceId);
|
|
2048
2039
|
this.isUnholdConferenceCall = false;
|
|
@@ -2348,8 +2339,7 @@ class CallProgressComponent {
|
|
|
2348
2339
|
participantId: [c.participantId],
|
|
2349
2340
|
conferenceId: c?.conferenceId,
|
|
2350
2341
|
hold: !c.isHold,
|
|
2351
|
-
mute: c?.mute || false
|
|
2352
|
-
conference: c.isConference || false
|
|
2342
|
+
mute: c?.mute || false
|
|
2353
2343
|
});
|
|
2354
2344
|
c.isHold = !c.isHold;
|
|
2355
2345
|
this.cdr.detectChanges();
|
|
@@ -2619,8 +2609,7 @@ class CallProgressComponent {
|
|
|
2619
2609
|
participantId: [ourNumberInfo?.id],
|
|
2620
2610
|
conferenceId: ourNumberInfo?.conferenceId,
|
|
2621
2611
|
hold: true,
|
|
2622
|
-
mute: ourNumberInfo?.mute || false
|
|
2623
|
-
conference: ourNumberInfo.isConference || false
|
|
2612
|
+
mute: ourNumberInfo?.mute || false
|
|
2624
2613
|
});
|
|
2625
2614
|
this.isConferenceCallHold = true;
|
|
2626
2615
|
}
|
|
@@ -2713,13 +2702,6 @@ class CallProgressComponent {
|
|
|
2713
2702
|
participantIDs.push(c?.participantId);
|
|
2714
2703
|
}
|
|
2715
2704
|
});
|
|
2716
|
-
await this.onholdOrUnholdParticipant({
|
|
2717
|
-
participantId: participantIDs,
|
|
2718
|
-
conferenceId: this.currentCall.conferenceId,
|
|
2719
|
-
hold: null,
|
|
2720
|
-
mute: null,
|
|
2721
|
-
conference: true
|
|
2722
|
-
});
|
|
2723
2705
|
// Put current call on hold
|
|
2724
2706
|
// Add participant to the conference
|
|
2725
2707
|
let data = await this.addParticipantToCall({
|
|
@@ -2735,8 +2717,9 @@ class CallProgressComponent {
|
|
|
2735
2717
|
this.isCallOnHold = true;
|
|
2736
2718
|
this.showRingAnimation = true;
|
|
2737
2719
|
this.isConference = true;
|
|
2720
|
+
participantIDs.push(data?.participantId);
|
|
2738
2721
|
await this.onholdOrUnholdParticipant({
|
|
2739
|
-
participantId:
|
|
2722
|
+
participantId: participantIDs,
|
|
2740
2723
|
conferenceId: this.currentCall.conferenceId,
|
|
2741
2724
|
hold: null,
|
|
2742
2725
|
mute: null,
|
|
@@ -2809,8 +2792,7 @@ class CallProgressComponent {
|
|
|
2809
2792
|
participantId: [ourNumberInfo?.id],
|
|
2810
2793
|
conferenceId: ourNumberInfo?.conferenceId,
|
|
2811
2794
|
hold: true,
|
|
2812
|
-
mute: ourNumberInfo?.mute || false
|
|
2813
|
-
conference: ourNumberInfo?.isConference || false
|
|
2795
|
+
mute: ourNumberInfo?.mute || false
|
|
2814
2796
|
});
|
|
2815
2797
|
this.isConferenceCallHold = true;
|
|
2816
2798
|
this.onAddNewCall(callData, true);
|
|
@@ -2945,8 +2927,7 @@ class CallProgressComponent {
|
|
|
2945
2927
|
participantId: [participantInfo?.id],
|
|
2946
2928
|
conferenceId: participantInfo?.conferenceId,
|
|
2947
2929
|
hold: false,
|
|
2948
|
-
mute: participantInfo?.mute || false
|
|
2949
|
-
conference: participantInfo?.isConference || false
|
|
2930
|
+
mute: participantInfo?.mute || false
|
|
2950
2931
|
});
|
|
2951
2932
|
// this.isConferenceCallHold = true;
|
|
2952
2933
|
}
|
|
@@ -2958,8 +2939,7 @@ class CallProgressComponent {
|
|
|
2958
2939
|
participantId: [participantInfo?.id],
|
|
2959
2940
|
conferenceId: participantInfo?.conferenceId,
|
|
2960
2941
|
hold: true,
|
|
2961
|
-
mute: participantInfo?.mute || false
|
|
2962
|
-
conference: participantInfo?.isConference || false
|
|
2942
|
+
mute: participantInfo?.mute || false
|
|
2963
2943
|
});
|
|
2964
2944
|
// this.isConferenceCallHold = true;
|
|
2965
2945
|
}
|
|
@@ -2969,8 +2949,7 @@ class CallProgressComponent {
|
|
|
2969
2949
|
participantId: [c?.participantId],
|
|
2970
2950
|
conferenceId: c.conferenceId,
|
|
2971
2951
|
hold: true,
|
|
2972
|
-
mute: c?.mute || false
|
|
2973
|
-
conference: c?.isConference || false
|
|
2952
|
+
mute: c?.mute || false
|
|
2974
2953
|
});
|
|
2975
2954
|
// this.isConferenceCallHold = true;
|
|
2976
2955
|
}
|