Created
February 2, 2012 21:00
-
-
Save olivierlacan/1725725 to your computer and use it in GitHub Desktop.
testing tropo
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
ask "Please enter wicked envy labs conference ID number.", { | |
:choices => "[5 DIGITS]", | |
:onChoice => lambda { |event| | |
if event.choice.interpretation == "12345" | |
say "Welcome to the ascending conference call." | |
conference "12345" | |
say "We hope you had fun, call back soon!" | |
else | |
say "This is conference ID is not active." | |
end | |
}, | |
:onBadChoice => lambda { |event| | |
say "This is not a valid conference ID." | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment