@vgroup/dialbox 0.0.94 → 0.0.97
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.
|
@@ -2512,35 +2512,34 @@ class DialboxComponent {
|
|
|
2512
2512
|
setTimeout(() => {
|
|
2513
2513
|
this.dialInputElement.nativeElement.focus();
|
|
2514
2514
|
}, 0);
|
|
2515
|
-
if
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
}
|
|
2515
|
+
// if(this.incomingCallData) {
|
|
2516
|
+
// if (this.isCallInProgress) {
|
|
2517
|
+
// this.newIncomingCalls.push(this.incomingCallData);
|
|
2518
|
+
// console.log('404', this.incomingCallData)
|
|
2519
|
+
// this.getUserInformation(this.incomingCallData);
|
|
2520
|
+
// } else {
|
|
2521
|
+
// this.isCallInProgress = true;
|
|
2522
|
+
// this.isDialpadHidden = false;
|
|
2523
|
+
// this.callData.phone = this.incomingCallData.parameters['From'];
|
|
2524
|
+
// console.log('411', this.incomingCallData)
|
|
2525
|
+
// this.getUserInformation(this.incomingCallData);
|
|
2526
|
+
// this.callData.name = this.incomingCallData.customParameters.get('name');
|
|
2527
|
+
// this.callData.img = this.incomingCallData.customParameters.get('image') || 'assets/images/user.jpg';
|
|
2528
|
+
// this.callData.isIncomingCall = true;
|
|
2529
|
+
// }
|
|
2530
|
+
// this.incomingCallData.on('cancel', () => {
|
|
2531
|
+
// this.incomingCallsList = this.incomingCallsList.filter((item: any) => item.parameters['CallSid'] !== this.incomingCallData.parameters['CallSid']);
|
|
2532
|
+
// if(this.incomingCallsList.length == 0){
|
|
2533
|
+
// this.isCallInProgress = false;
|
|
2534
|
+
// }
|
|
2535
|
+
// });
|
|
2536
|
+
// this.incomingCallData.on('disconnect', () => {
|
|
2537
|
+
// this.incomingCallsList = this.incomingCallsList.filter((item: any) => item.parameters['CallSid'] !== this.incomingCallData.parameters['CallSid']);
|
|
2538
|
+
// if(this.incomingCallsList.length == 0){
|
|
2539
|
+
// this.isCallInProgress = false;
|
|
2540
|
+
// }
|
|
2541
|
+
// });
|
|
2542
|
+
// }
|
|
2544
2543
|
}
|
|
2545
2544
|
// if(changes['incomingCallData'] && this.incomingCallData) {
|
|
2546
2545
|
// // this.isCallInProgress = true;
|