Skip to content

Instantly share code, notes, and snippets.

@mooyoul
Created February 22, 2017 19:13
Show Gist options
  • Save mooyoul/0f18f69eb9325291167396669d95eaeb to your computer and use it in GitHub Desktop.
Save mooyoul/0f18f69eb9325291167396669d95eaeb to your computer and use it in GitHub Desktop.
Nexmo IVR Application NCCO
[
{
"action": "talk",
"text": "Welcome to a Voice API I V R. ",
"voiceName": "Amy",
"bargeIn": false
},
{
"action": "talk",
"text": "Press 1 for maybe and 2 for not sure followed by the hash key",
"voiceName": "Amy",
"bargeIn": true
},
{
"action": "input",
"submitOnHash": "true",
"eventUrl": ["https://example.com/ivr"]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment