Created
June 18, 2010 00:13
-
-
Save cloudvoxcode/442998 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
[{"name":"speak","phrase":"Thanks for calling My Company. Press 1 for Bob or 2 for Sally."}, | |
{"name":"getdigits","max":"1","url":"http://my.server/send-caller-somewhere.json"}] |
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
# grab the parameter "result", which is the digit pressed. could generate this | |
# JSON in any language; this assumes your language stores it in $result | |
# more: http://help.cloudvox.com/faqs/getting-started/http-api#handling_caller_input | |
[{"name":"dial","destination":$result}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment