Skip to content

Instantly share code, notes, and snippets.

@cloudvoxcode
Created October 8, 2009 06:48
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 cloudvoxcode/204820 to your computer and use it in GitHub Desktop.
Save cloudvoxcode/204820 to your computer and use it in GitHub Desktop.
Uses phone API with JSON
# use any language, or static JSON:
[{"name":"speak", "phrase":"Hello! Enter a 6-digit number."},
{"name":"getdigits", "max":6, "url":"http://a.web.server/step-2"}]
# input is passed to you. Act on it:
[{"name":"speak", "phrase":"You entered $_GET['result']"},
{"name":"playback", "filename":"thanks-for-calling"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment