This commit is contained in:
Christopher Cookman 2025-10-28 07:52:57 -06:00
parent 4e8cd9c23f
commit b5add30dda

View file

@ -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(() => {