Skip to content

Instantly share code, notes, and snippets.

@loopingrage
Created January 12, 2010 23:25
Show Gist options
  • Save loopingrage/275748 to your computer and use it in GitHub Desktop.
Save loopingrage/275748 to your computer and use it in GitHub Desktop.
{"tropoml": [
{"on":
{"event":"continue","next":"test.json",
"say":[
{"value":"hello world"},
{"value":"this is some text"}
]
}
},
{"say":
{"value":"Welcome to my application"}
},
{"ask":
{"name":"mailbox", "bargein":"true", "timeout":"30", "required":"false",
"say":[
{"value":"Oh no! Either no input or no match 1.","event":"nomatch:1 noinput"},
{"value":"No match 2.","event":"nomatch:2"},
{"value":"Please enter your friend's mailbox number."}
],
"choices":{"mode":"dtmf", "value":"[5 DIGITS]"}
}
},
{"conference":
{"name":"conference", "id":"1234", "mute":false, "maxTime":120, "sendTones":true, "exitTone":"#",
"on":[
{"event":"join", "say":[{"value":"you are now joining the conference"}]},
{"event":"unjoin", "say":[{"value":"you are now joining the conference"}]}
]
}
}
]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment