From ac0338d220b66ea5000bddaa02cf76a6e7a7f07f Mon Sep 17 00:00:00 2001 From: stephen Date: Fri, 29 Apr 2022 17:22:57 -0400 Subject: [PATCH] Adding config to enable/disable calls. --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 6bda016..72985a1 100755 --- a/index.js +++ b/index.js @@ -16,6 +16,8 @@ try { const config = ini.parse(fs.readFileSync('./config.ini', 'utf-8')); // check if user debugging is enabled const debugging = config.debug; + // check if user wants phone calls with commands are run + const callme = config.calls; // Asterisk config const asterisk_callfrom = config.asterisk.callfrom;