Adding config to enable/disable calls.

This commit is contained in:
Stephen Vanderwarker 2022-04-29 17:22:57 -04:00
parent fae2c435ad
commit ac0338d220
Signed by: stephen
GPG Key ID: EF429EF847868C14

View File

@ -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;