Keypad (DTMF)

Collect and send DTMF keypad input.
View as Markdown

Keypad input lets your application receive keypad presses from a caller or send them to a remote party on a Session. Telephone keypads represent these presses using DTMF signals.

For inbound input, handle dtmf.received events when each key press matters. Use Play prompt and collect DTMF digits when you need a complete response, and cancel the collection if it should end early. The completed response is delivered as a digits.collected event.

For outbound input, use Send DTMF sequence to send keys and timed waits to the remote party, such as when navigating an automated phone menu.