Bleghghgh

This commit is contained in:
Christopher Cookman 2026-06-21 22:58:29 -06:00
parent 8f597b9f96
commit d217d6dd76

View file

@ -15,7 +15,7 @@ x.on('call', async (call) => {
await call.Playback("beep"); await call.Playback("beep");
while (true) { while (true) {
await call.ReadExten("EXTEN_INPUT", "beep"); await call.Read("EXTEN_INPUT", "beep", "", "", 0, 0);
const exten = await call.getVariable("EXTEN_INPUT"); const exten = await call.getVariable("EXTEN_INPUT");
console.log(`Got ${exten}`); console.log(`Got ${exten}`);
if (!exten) break; if (!exten) break;