Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- event = ask("welcome please select New, buy, or sell", {
- "choices":"buy, sell, new",
- "timeout":10.0,
- "onBadChoice": lambda event : say("I'm sorry, I didn't understand that. You can select New, buy, or sell."),
- })
- say("you have chosen " + event.value)
- r = record("tell me your buying details", {
- "beep":True,
- "maxTime":60,
- "silenceTimeout":7,
- "terminator":"#",
- "transcriptionOutURI": "http://app.inflack.com:8800/record/?type=buy",
- "transcriptionOutFormat": "json",
- "transcriptionID": callerID
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement