@vgroup/dialbox 0.3.73 → 0.3.74
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.
|
@@ -1914,7 +1914,7 @@ class CallProgressComponent {
|
|
|
1914
1914
|
onHoldCall(c) {
|
|
1915
1915
|
console.log(c, 'dsdsdsdsdsdsadsa');
|
|
1916
1916
|
this.onholdOrUnholdParticipant({
|
|
1917
|
-
participantId: c.participantId,
|
|
1917
|
+
participantId: [c.participantId],
|
|
1918
1918
|
conferenceId: this.conferenceId,
|
|
1919
1919
|
hold: !c.hold
|
|
1920
1920
|
});
|
|
@@ -2118,7 +2118,7 @@ class CallProgressComponent {
|
|
|
2118
2118
|
this.currentCallList[0].isHold = false;
|
|
2119
2119
|
this.currentCall = this.currentCallList[0];
|
|
2120
2120
|
await this.onholdOrUnholdParticipant({
|
|
2121
|
-
participantId: this.currentCall?.participantId,
|
|
2121
|
+
participantId: [this.currentCall?.participantId],
|
|
2122
2122
|
conferenceId: this.conferenceId,
|
|
2123
2123
|
hold: false
|
|
2124
2124
|
});
|
|
@@ -2197,14 +2197,14 @@ class CallProgressComponent {
|
|
|
2197
2197
|
// if(data?.status != 'ringing'){
|
|
2198
2198
|
if (this.currentCallList.length > 1 && this.currentCall?.isAcceptCall) {
|
|
2199
2199
|
await this.onholdOrUnholdParticipant({
|
|
2200
|
-
participantId: this.currentCall?.isIncomingCall ? this.currentCall?.id : this.currentCall?.participantId,
|
|
2200
|
+
participantId: this.currentCall?.isIncomingCall ? [this.currentCall?.id] : [this.currentCall?.participantId],
|
|
2201
2201
|
conferenceId: this.currentCall?.isIncomingCall ? this.twilioService.conferenceCallInfo.conferenceId : this.conferenceId,
|
|
2202
2202
|
hold: true
|
|
2203
2203
|
});
|
|
2204
2204
|
data.isHold = true;
|
|
2205
2205
|
}
|
|
2206
|
-
|
|
2207
|
-
console.log(
|
|
2206
|
+
this.call = await this.twilioService.connect('');
|
|
2207
|
+
console.log(this.call, 'callConnect');
|
|
2208
2208
|
data.isAcceptCall = true;
|
|
2209
2209
|
this.currentCall = data;
|
|
2210
2210
|
// } else if(data?.status == 'ringing'){
|
|
@@ -2272,7 +2272,7 @@ class CallProgressComponent {
|
|
|
2272
2272
|
if (c?.participantId && !c?.isHold) {
|
|
2273
2273
|
c.isHold = true;
|
|
2274
2274
|
await this.onholdOrUnholdParticipant({
|
|
2275
|
-
participantId: c?.participantId,
|
|
2275
|
+
participantId: [c?.participantId],
|
|
2276
2276
|
conferenceId: this.conferenceId,
|
|
2277
2277
|
hold: c?.isHold
|
|
2278
2278
|
});
|
|
@@ -2412,7 +2412,7 @@ class CallProgressComponent {
|
|
|
2412
2412
|
if (c?.participantId && !c?.isHold) {
|
|
2413
2413
|
c.isHold = true;
|
|
2414
2414
|
await this.onholdOrUnholdParticipant({
|
|
2415
|
-
participantId: c?.participantId,
|
|
2415
|
+
participantId: [c?.participantId],
|
|
2416
2416
|
conferenceId: this.conferenceId,
|
|
2417
2417
|
hold: c?.isHold
|
|
2418
2418
|
});
|
|
@@ -2420,7 +2420,7 @@ class CallProgressComponent {
|
|
|
2420
2420
|
else if (callInfo?.isHold && c?.participantId === callInfo?.participantId) {
|
|
2421
2421
|
c.isHold = false;
|
|
2422
2422
|
await this.onholdOrUnholdParticipant({
|
|
2423
|
-
participantId: c?.participantId,
|
|
2423
|
+
participantId: [c?.participantId],
|
|
2424
2424
|
conferenceId: this.conferenceId,
|
|
2425
2425
|
hold: c?.isHold
|
|
2426
2426
|
});
|
|
@@ -2472,7 +2472,7 @@ class CallProgressComponent {
|
|
|
2472
2472
|
if (c?.participantId && c?.isHold) {
|
|
2473
2473
|
c.isHold = false;
|
|
2474
2474
|
await this.onholdOrUnholdParticipant({
|
|
2475
|
-
participantId: c?.participantId,
|
|
2475
|
+
participantId: [c?.participantId],
|
|
2476
2476
|
conferenceId: this.conferenceId,
|
|
2477
2477
|
hold: false
|
|
2478
2478
|
});
|