dev
This commit is contained in:
parent
b6db2555b7
commit
7fb025a169
2
index.js
2
index.js
|
|
@ -15,7 +15,7 @@ x.on('call', async (call) => {
|
|||
|
||||
await call.Playback("beep");
|
||||
while (true) {
|
||||
await call.Read("EXTEN_INPUT,beep,1,,10000");
|
||||
await call.Read("EXTEN_INPUT,,1,,10000");
|
||||
const exten = await call.getVariable("EXTEN_INPUT");
|
||||
console.log(`Got ${exten}`);
|
||||
if (!exten) break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue