-
-
Save getadeo/ac7a1c469d77eab019aedf2d0415c801 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wait(1500) | |
result = ask "Please enter 3 numbers", { | |
:choices => "[3 DIGITS]", | |
:terminator => '#', | |
:timeout => 15.0, | |
:mode => "dtmf", | |
:onChoice => lambda { |event| | |
say "Thank you." | |
} | |
} | |
say "You said " + result.value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment