@vgroup/dialbox 0.3.39 → 0.3.41
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.
- package/esm2020/lib/components/call-progress/incoming-call/incoming-call.component.mjs +6 -4
- package/esm2020/lib/dialbox.component.mjs +4 -4
- package/fesm2015/vgroup-dialbox.mjs +8 -6
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +8 -6
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2006,9 +2006,11 @@ class IncomingCallComponent {
|
|
|
2006
2006
|
}
|
|
2007
2007
|
add(data) {
|
|
2008
2008
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2009
|
+
if ((data === null || data === void 0 ? void 0 : data.status) != 'ringing') {
|
|
2010
|
+
let device = yield this.twilioService.connect('');
|
|
2011
|
+
console.log(device, 'callConnect');
|
|
2012
|
+
}
|
|
2013
|
+
else if ((data === null || data === void 0 ? void 0 : data.status) == 'ringing') {
|
|
2012
2014
|
this.twilioService.addIncomingParticipant(data === null || data === void 0 ? void 0 : data.id, this.twilioService.conferenceCallInfo.conferenceId).subscribe((data) => {
|
|
2013
2015
|
console.log(data, 'bhhhhhhhhhhhhhhhhhhh');
|
|
2014
2016
|
});
|
|
@@ -3261,9 +3263,9 @@ class DialboxComponent {
|
|
|
3261
3263
|
if (this.incomingCallsList.length > 1) {
|
|
3262
3264
|
// /utilities/ext/add/incoming/participant/{participantId}/{conferenceId}
|
|
3263
3265
|
let data = this.incomingCallsList.filter((item) => item.status == 'ringing');
|
|
3264
|
-
this.twilioService.addIncomingParticipant(data[0].id, incomingCallData.conferenceId).subscribe((data) => {
|
|
3265
|
-
|
|
3266
|
-
})
|
|
3266
|
+
// this.twilioService.addIncomingParticipant(data[0].id, incomingCallData.conferenceId).subscribe((data: any) => {
|
|
3267
|
+
// console.log(data,'bhhhhhhhhhhhhhhhhhhh')
|
|
3268
|
+
// })
|
|
3267
3269
|
}
|
|
3268
3270
|
this.isCallInProgress = true;
|
|
3269
3271
|
this.isDialpadHidden = false;
|