Skip to content

Instantly share code, notes, and snippets.

@DanyF-github
Created September 3, 2021 14:41
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 DanyF-github/5b6eeb4e4672e1521c1b78401d15ed06 to your computer and use it in GitHub Desktop.
Save DanyF-github/5b6eeb4e4672e1521c1b78401d15ed06 to your computer and use it in GitHub Desktop.
res.json([{
action: 'talk',
text: 'Please enter a phone number in international format, omitting the leading plus sign. End with the pound key.'
},
{
action: 'input',
type: ['dtmf'],
dtmf: {
timeOut: 10,
maxDigits: 15,
submitOnHash: true
},
eventUrl: ["https://europe-west2-my-proxy-calling-project.cloudfunctions.net/proxy-call"]
}
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment