This commit is contained in:
Christopher Cookman 2026-06-21 23:38:11 -06:00
parent b779c6eaf0
commit cd97222557

View file

@ -14,9 +14,9 @@ agi.on('call', async (call) => {
});
console.log(`Call from ${callerid} (${calleridname}) to ${extension} in context ${context} on channel ${channel} with uniqueid ${uniqueid}`);
setInterval(() => {
call.Playback("beep");
}, 1500)
// setInterval(() => {
// call.Playback("beep");
// }, 1500)
while (true) {
await call.Read("EXTEN_INPUT,,1,,10000");
const exten = await call.getVariable("EXTEN_INPUT");