Merge dev to main #1
9
index.js
9
index.js
|
|
@ -100,12 +100,13 @@ const main = () => {
|
||||||
console.log(`-----> Call forward removed successfully.`);
|
console.log(`-----> Call forward removed successfully.`);
|
||||||
hook.send(`:no_entry: **Call Forward Removed** :no_entry:\nExtension **${cf.extension}** had a **${cfTypes[cf.type]}** call forward to **${cf.target}** The call forward has been removed.`);
|
hook.send(`:no_entry: **Call Forward Removed** :no_entry:\nExtension **${cf.extension}** had a **${cfTypes[cf.type]}** call forward to **${cf.target}** The call forward has been removed.`);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
setTimeout(main, 1000); // Repeat every 60 seconds
|
setTimeout(main, 1000); // Repeat every 60 seconds
|
||||||
|
};
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
})
|
||||||
};
|
}
|
||||||
|
|
||||||
const startup = async () => {
|
const startup = async () => {
|
||||||
sock.connect().then(() => {
|
sock.connect().then(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue