@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.
|
@@ -1918,7 +1918,7 @@ class CallProgressComponent {
|
|
|
1918
1918
|
onHoldCall(c) {
|
|
1919
1919
|
console.log(c, 'dsdsdsdsdsdsadsa');
|
|
1920
1920
|
this.onholdOrUnholdParticipant({
|
|
1921
|
-
participantId: c.participantId,
|
|
1921
|
+
participantId: [c.participantId],
|
|
1922
1922
|
conferenceId: this.conferenceId,
|
|
1923
1923
|
hold: !c.hold
|
|
1924
1924
|
});
|
|
@@ -2144,7 +2144,7 @@ class CallProgressComponent {
|
|
|
2144
2144
|
this.currentCallList[0].isHold = false;
|
|
2145
2145
|
this.currentCall = this.currentCallList[0];
|
|
2146
2146
|
yield this.onholdOrUnholdParticipant({
|
|
2147
|
-
participantId: (_b = this.currentCall) === null || _b === void 0 ? void 0 : _b.participantId,
|
|
2147
|
+
participantId: [(_b = this.currentCall) === null || _b === void 0 ? void 0 : _b.participantId],
|
|
2148
2148
|
conferenceId: this.conferenceId,
|
|
2149
2149
|
hold: false
|
|
2150
2150
|
});
|
|
@@ -2189,14 +2189,14 @@ class CallProgressComponent {
|
|
|
2189
2189
|
// if(data?.status != 'ringing'){
|
|
2190
2190
|
if (this.currentCallList.length > 1 && ((_a = this.currentCall) === null || _a === void 0 ? void 0 : _a.isAcceptCall)) {
|
|
2191
2191
|
yield this.onholdOrUnholdParticipant({
|
|
2192
|
-
participantId: ((_b = this.currentCall) === null || _b === void 0 ? void 0 : _b.isIncomingCall) ? (_c = this.currentCall) === null || _c === void 0 ? void 0 : _c.id : (_d = this.currentCall) === null || _d === void 0 ? void 0 : _d.participantId,
|
|
2192
|
+
participantId: ((_b = this.currentCall) === null || _b === void 0 ? void 0 : _b.isIncomingCall) ? [(_c = this.currentCall) === null || _c === void 0 ? void 0 : _c.id] : [(_d = this.currentCall) === null || _d === void 0 ? void 0 : _d.participantId],
|
|
2193
2193
|
conferenceId: ((_e = this.currentCall) === null || _e === void 0 ? void 0 : _e.isIncomingCall) ? this.twilioService.conferenceCallInfo.conferenceId : this.conferenceId,
|
|
2194
2194
|
hold: true
|
|
2195
2195
|
});
|
|
2196
2196
|
data.isHold = true;
|
|
2197
2197
|
}
|
|
2198
|
-
|
|
2199
|
-
console.log(
|
|
2198
|
+
this.call = yield this.twilioService.connect('');
|
|
2199
|
+
console.log(this.call, 'callConnect');
|
|
2200
2200
|
data.isAcceptCall = true;
|
|
2201
2201
|
this.currentCall = data;
|
|
2202
2202
|
});
|
|
@@ -2259,7 +2259,7 @@ class CallProgressComponent {
|
|
|
2259
2259
|
if ((c === null || c === void 0 ? void 0 : c.participantId) && !(c === null || c === void 0 ? void 0 : c.isHold)) {
|
|
2260
2260
|
c.isHold = true;
|
|
2261
2261
|
yield this.onholdOrUnholdParticipant({
|
|
2262
|
-
participantId: c === null || c === void 0 ? void 0 : c.participantId,
|
|
2262
|
+
participantId: [c === null || c === void 0 ? void 0 : c.participantId],
|
|
2263
2263
|
conferenceId: this.conferenceId,
|
|
2264
2264
|
hold: c === null || c === void 0 ? void 0 : c.isHold
|
|
2265
2265
|
});
|
|
@@ -2402,7 +2402,7 @@ class CallProgressComponent {
|
|
|
2402
2402
|
if ((c === null || c === void 0 ? void 0 : c.participantId) && !(c === null || c === void 0 ? void 0 : c.isHold)) {
|
|
2403
2403
|
c.isHold = true;
|
|
2404
2404
|
yield this.onholdOrUnholdParticipant({
|
|
2405
|
-
participantId: c === null || c === void 0 ? void 0 : c.participantId,
|
|
2405
|
+
participantId: [c === null || c === void 0 ? void 0 : c.participantId],
|
|
2406
2406
|
conferenceId: this.conferenceId,
|
|
2407
2407
|
hold: c === null || c === void 0 ? void 0 : c.isHold
|
|
2408
2408
|
});
|
|
@@ -2410,7 +2410,7 @@ class CallProgressComponent {
|
|
|
2410
2410
|
else if ((callInfo === null || callInfo === void 0 ? void 0 : callInfo.isHold) && (c === null || c === void 0 ? void 0 : c.participantId) === (callInfo === null || callInfo === void 0 ? void 0 : callInfo.participantId)) {
|
|
2411
2411
|
c.isHold = false;
|
|
2412
2412
|
yield this.onholdOrUnholdParticipant({
|
|
2413
|
-
participantId: c === null || c === void 0 ? void 0 : c.participantId,
|
|
2413
|
+
participantId: [c === null || c === void 0 ? void 0 : c.participantId],
|
|
2414
2414
|
conferenceId: this.conferenceId,
|
|
2415
2415
|
hold: c === null || c === void 0 ? void 0 : c.isHold
|
|
2416
2416
|
});
|
|
@@ -2464,7 +2464,7 @@ class CallProgressComponent {
|
|
|
2464
2464
|
if ((c === null || c === void 0 ? void 0 : c.participantId) && (c === null || c === void 0 ? void 0 : c.isHold)) {
|
|
2465
2465
|
c.isHold = false;
|
|
2466
2466
|
yield this.onholdOrUnholdParticipant({
|
|
2467
|
-
participantId: c === null || c === void 0 ? void 0 : c.participantId,
|
|
2467
|
+
participantId: [c === null || c === void 0 ? void 0 : c.participantId],
|
|
2468
2468
|
conferenceId: this.conferenceId,
|
|
2469
2469
|
hold: false
|
|
2470
2470
|
});
|