Handle user input with DTMF
A code snippet that shows how to handle a user input with DTMF. The user enters an option on the keypad and the selected option is acknowledged via a text-to-speech message.
Try it out
Call your Vonage Number. When the call is answered you will hear
a menu. Press 1 on the keypad followed by the # key. You will then hear
a text-to-speech message acknowledging your selected option.
Further Reading
- Interactive Voice Response (IVR) - Build an automated phone system for users to input information with the keypad and hear a spoken response.