@vgroup/dialbox 0.4.178 → 0.4.180
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.
|
@@ -2879,24 +2879,26 @@ class CallProgressComponent {
|
|
|
2879
2879
|
// Merge functionality - unmute both calls for conference
|
|
2880
2880
|
if (this.currentCallList.length > 1) {
|
|
2881
2881
|
this.currentCallList.forEach(async (c) => {
|
|
2882
|
-
if (c
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2882
|
+
if (c.conferenceId == this.currentCall.conferenceId) {
|
|
2883
|
+
if (c?.participantId) {
|
|
2884
|
+
// c.isHold = false;
|
|
2885
|
+
await this.onholdOrUnholdParticipant({
|
|
2886
|
+
participantId: [c?.participantId],
|
|
2887
|
+
conferenceId: c.conferenceId,
|
|
2888
|
+
hold: false,
|
|
2889
|
+
mute: c?.mute || false,
|
|
2890
|
+
conference: true
|
|
2891
|
+
});
|
|
2892
|
+
c.isConference = true;
|
|
2893
|
+
// } else if(c?.participantId && c.isIncomingCall){
|
|
2894
|
+
// await this.twilioService.addIncomingParticipant(c?.participantId, this.conferenceId).subscribe((data: any) => {
|
|
2895
|
+
// console.log(data,'bhhhhhhhhhhhhhhhhhhh')
|
|
2896
|
+
// })
|
|
2897
|
+
// c.isHold = false;
|
|
2898
|
+
// c.isConference = true;
|
|
2899
|
+
}
|
|
2900
|
+
this.isConferenceCallHold = false;
|
|
2898
2901
|
}
|
|
2899
|
-
this.isConferenceCallHold = false;
|
|
2900
2902
|
});
|
|
2901
2903
|
// await this.onholdOrUnholdParticipant({
|
|
2902
2904
|
// participantId: this.heldCall?.callInfo?.participantId,
|