diff --git a/package.json b/package.json
index f50e84428526c543a0e717d2a105f1d845aa5faf..de30e92f0ea637072cea7f1d6fa65d64e7a7a2ff 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
 	"name": "boxdialer",
-	"version": "4.8.23",
+	"version": "4.8.24",
 	"description": "",
 	"main": "src/boxDialer.js",
 	"scripts": {
diff --git a/src/lib/boxDIaler.js b/src/lib/boxDIaler.js
index da90f11eb0771e761930570de7b134dcb2aaf88f..75c0a4a891db5cec10a05f81355a6fdcb58a7d4a 100644
--- a/src/lib/boxDIaler.js
+++ b/src/lib/boxDIaler.js
@@ -761,7 +761,7 @@ export class BoxDialer {
 				},
 			});
 		} else if (
-			!window?.alovoice_wsphone.iscloud &&
+			window?.alovoice_wsphone.iscloud &&
 			window?.alovoice_wsphone &&
 			!stateCode?.length &&
 			!!funcName &&