@vgroup/dialbox 0.1.16 → 0.1.17

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.
@@ -1427,6 +1427,7 @@ class TwilioService {
1427
1427
  allowIncomingWhileBusy: true,
1428
1428
  closeProtection: true
1429
1429
  });
1430
+ console.log("device created");
1430
1431
  this.device.register();
1431
1432
  this.device.on('incoming', (call) => {
1432
1433
  this.currentCall.next(call);
@@ -2247,6 +2248,7 @@ class DialboxComponent {
2247
2248
  }
2248
2249
  this.isInitialized = true;
2249
2250
  // Initialize Twilio service
2251
+ console.log('Initializing Twilio service');
2250
2252
  this.twilioService.initializeTwilioDevice();
2251
2253
  // Subscribe to incoming calls to show dialpad when call comes in
2252
2254
  const callSub = this.twilioService.currentCall.subscribe(call => {
@@ -2364,8 +2366,8 @@ class DialboxComponent {
2364
2366
  // }
2365
2367
  // }
2366
2368
  ngOnInit() {
2367
- console.log('ngOnInit');
2368
2369
  try {
2370
+ console.log('ngOnInit');
2369
2371
  this.token = localStorage.getItem('ext_token') || '';
2370
2372
  //this.isCallInProgress = true;
2371
2373
  this.getContactList();