Hello,
I am trying to make an interactive menu on my asterisk. What is the command to make asterisk wait for input for 5 seconds than do a timeout, instead of immediatly hanging up?
As soon as ‘beep’ it hangs up. No time to enter my select.
The only option in the pasted code is ‘1’ which is for voicemail.
Any ideas?
Thanks,
David
[menu]
exten => s,1,NoOp()
exten => s,n,Answer
exten => s,n,Background(beep)
exten => 1,1,Voicemail(u1001)
exten => t,1,Goto(s|1)
exten => i,1,Goto(s|1)
[local]
exten => 1234,1,Answer
exten => 1234,2,Goto(menu,s,1)