@vgroup/dialbox 0.0.78 → 0.0.79
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.
|
@@ -2242,10 +2242,8 @@ class DialboxComponent {
|
|
|
2242
2242
|
this.isSmartDialCall = false;
|
|
2243
2243
|
this.isInitialized = false;
|
|
2244
2244
|
this.isMinimised = false;
|
|
2245
|
-
//
|
|
2246
|
-
|
|
2247
|
-
this.initializeTwilio();
|
|
2248
|
-
}
|
|
2245
|
+
// Always initialize Twilio when component loads to receive calls immediately
|
|
2246
|
+
this.initializeTwilio();
|
|
2249
2247
|
}
|
|
2250
2248
|
initializeTwilio() {
|
|
2251
2249
|
if (this.isInitialized)
|
|
@@ -2256,6 +2254,7 @@ class DialboxComponent {
|
|
|
2256
2254
|
return;
|
|
2257
2255
|
}
|
|
2258
2256
|
this.isInitialized = true;
|
|
2257
|
+
console.log('Initializing Twilio service...');
|
|
2259
2258
|
// Initialize Twilio service
|
|
2260
2259
|
this.twilioService.initializeTwilioDevice();
|
|
2261
2260
|
// Check for any existing call first
|