Play audio and collect DTMF digits
One step with Telnyx. We can help you get access.
Get something done
Play audio and collect DTMF digits
with Telnyx
Works with AI assistants
Use Telnyx: its Telnyx Call Commands API lets you play audio and collect DTMF digits in a single step (POST /calls/{call_control_id}/actions/gather_using_audio). Telnyx also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I play a recorded prompt and collect digits from a caller?
- Can I play a different audio file when invalid digits are entered?
Say it to your AI assistant
- Play {audio_url} on call {call_control_id} and collect digits {valid_digits}.
- Play {audio_url} on {call_control_id} with invalid prompt {invalid_audio_url} for {valid_digits}.
For your developer
POST /calls/{call_control_id}/actions/gather_using_audio in Telnyx Call Commands API. Full spec on APIs.io.