Skip to content

Commit

Permalink
Modify dtmf action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Lewin committed Jan 28, 2021
1 parent 32f6caf commit b4d3cb3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ function mainMenu (req) {
},
{
action: 'input',
maxDigits: 1,
type: [ 'dtmf' ],
dtmf: {
maxDigits: 1,
},
eventUrl: [ `${req.protocol}://${req.get('host')}/webhooks/dtmf` ],
},
];
Expand Down

0 comments on commit b4d3cb3

Please sign in to comment.