I want to use DTMF to receive user input from an entity in a voice bot to an IVR

I want to use DTMF to receive user input from an entity in a voice bot to an IVR.
I want to receive DTMF input for numbers between 1 and 5. If the user enters any other number or letter, I want to hear a voice message saying, “Invalid input. Please enter a number between 1 and 5.” Then, I want to receive input again.

I want to receive input only via DTMF, not voice.

How can I do this?

You can mark an entity as DTMF input by following below steps.

  1. Define entity type as Custom with regex accepting 1 to 5 numbers
  2. Define call control parameter enableSpeechInput to false. Refer (Speech Customization (Call Control Parameters) - Kore ai Docs)
1 Like