Skip to content

Instantly share code, notes, and snippets.

@olivierlacan
Created February 2, 2012 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olivierlacan/1725725 to your computer and use it in GitHub Desktop.
Save olivierlacan/1725725 to your computer and use it in GitHub Desktop.
testing tropo
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