Adding config to enable/disable calls.
This commit is contained in:
parent
fae2c435ad
commit
ac0338d220
2
index.js
2
index.js
|
@ -16,6 +16,8 @@ try {
|
||||||
const config = ini.parse(fs.readFileSync('./config.ini', 'utf-8'));
|
const config = ini.parse(fs.readFileSync('./config.ini', 'utf-8'));
|
||||||
// check if user debugging is enabled
|
// check if user debugging is enabled
|
||||||
const debugging = config.debug;
|
const debugging = config.debug;
|
||||||
|
// check if user wants phone calls with commands are run
|
||||||
|
const callme = config.calls;
|
||||||
|
|
||||||
// Asterisk config
|
// Asterisk config
|
||||||
const asterisk_callfrom = config.asterisk.callfrom;
|
const asterisk_callfrom = config.asterisk.callfrom;
|
||||||
|
|
Reference in New Issue
Block a user