https://retellai.com/?utm_source=discord&utm_medium=seo logo
Does Retell AI support DTMF inputs after the call ...
# ❓・ai-evy-support
u
@AI Evy Does Retell AI support DTMF inputs after the call is handed off to a custom LLM/agent? During OTP/auth flows DTMF works fine, but once the call is connected to the agent, pressing keypad digits causes the agent to stop responding or get interrupted. How can we continue receiving DTMF events without breaking the agent’s response flow?
a
Thanks for tagging me @.mannankhan. I'll look through relevant sources and get back to you shortly.
### Answer Yes, Retell AI supports DTMF inputs during active calls with custom LLM agents, but you need to configure the settings properly to prevent interruptions. [(1) ]() [(2) ]() Configuration for DTMF During Active Calls: You can control DTMF behavior using the
allow_user_dtmf
and
user_dtmf_options
settings: The
allow_user_dtmf
field determines whether DTMF input is accepted - set it to
true
to enable DTMF processing. The
user_dtmf_options
object lets you configure how DTMF digits are captured: Key Settings to Prevent Agent Interruption: Based on community feedback, the main issue causing agent interruption is improper DTMF timeout configuration. [(3) ]() [(4) ]() Configure your DTMF options like this to ensure digits are recognized immediately without waiting for the full agent response: [(3) ]()
Copy code
json
"user_dtmf_options": {
  "digit_limit": 1,
  "termination_key": "",
  "timeout_ms": 2000
}
This ensures any single digit is read immediately and triggers recognition without needing a termination key. Additional Recommendations: For conversation flow nodes where you want DTMF input, make sure your node is configured to allow barge-in, which allows the system to stop speaking when a digit is pressed. Avoid using "Skip Response" as this delays recognition until the end of playback. If you're experiencing issues with repeated digits (like "111" being recognized as "11") , adjust the timeout values in your agent's Call Settings > DTMF options. [(4) ]() For Custom LLM WebSocket Integration: When using the LLM WebSocket, DTMF events should be handled through the standard agent configuration rather than being sent directly through the WebSocket protocol. [(2) ]()
​ To learn more, see the sources I considered: [[1] Get Agent](https://docs.retellai.com/api-references/get-agent) [[2] Get Agent Versions](https://docs.retellai.com/api-references/get-agent-versions) [[3] User dtmf input issue / IIssue with IVR Node Keypress Handling](https://discord.com/channels/1186424376300679209/1397608688734175293) [[4] Bug. Agent doesn't recognize when 3 same digits are entered on the phone consequently](https://discord.com/channels/1186424376300679209/1382706828055548004) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
u
@AI Evy We don’t use DTMF after the call is connected to our Custom LLM agent. During the OTP flow (before authentication), DTMF works correctly — the user enters the OTP and everything behaves as expected. However, after the OTP is verified and the call is handed off to our Autonoums agent/Custom LLM URL, pressing any keypad digits during the agent’s conversation causes the LLM to stop responding or get interrupted. We want DTMF to be completely ignored once the call reaches our custom LLM. How can we disable or block DTMF inputs during the LLM phase so that user key presses do not interrupt or interfere with the agent's response?
a
Thanks for the follow-up, @.mannankhan. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] LLM WebSocket](https://docs.retellai.com/api-references/llm-websocket) [[2] Capture DTMF input from user](https://docs.retellai.com/build/user-dtmf) ​
### Answer --- ### Disabling DTMF After Call Handoff to Custom LLM To disable DTMF inputs once the call is handed off to your custom LLM agent, you need to configure the agent settings to turn off DTMF processing during the LLM phase. Solution: You can send an Update Agent Event via the LLM WebSocket to dynamically disable DTMF after the OTP flow completes. [(1) ]() From Thursday, December 04, 2025 (2025-12-04) , the Update Agent Event allows you to modify agent configurations during an active call, including DTMF settings. Here's how to disable DTMF by sending an update event from your server:
Copy code
json
{
  "response_type": "update_agent",
  "agent_config": {
    "allow_user_dtmf": false
  }
}
When to Send This Event: Send this update immediately after the OTP is verified and before handing off to your custom LLM agent. This ensures that any subsequent keypad presses are ignored and won't interrupt the agent's responses. Additional Context: By default, DTMF input from users is captured and taken into account when the agent generates responses. [(2) ]() However, once you set
allow_user_dtmf
to
false
via the Update Agent Event, keypad inputs will no longer be processed or passed to your LLM. [(1) ]() This approach gives you fine-grained control over when DTMF is active versus when it should be completely disabled during different phases of your call flow. ---
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
u
@AI Evy Does allow_user_dtmf: false actually prevent DTMF interruptions, or just prevent DTMF from being sent to the LLM? If it doesn't prevent interruptions, what DOES prevent them?"
a
Thanks for the follow-up, @.mannankhan. I'll get back to you soon.
### Answer [(1) ]() [(2) ]() [(3) ]() [(4) ]() [(5) ]() --- ### Answer Based on the available documentation,
allow_user_dtmf
controls whether DTMF input will be accepted and processed. When
allow_user_dtmf
is set to
false
, DTMF input is ignored entirely — meaning the system won't process or pass DTMF digits to your LLM. The documentation states: "If set to true, DTMF input will be accepted and processed. If false, any DTMF input will be ignored." What This Means for Interruptions: The sources don't explicitly state whether setting
allow_user_dtmf: false
prevents DTMF from causing audio interruptions at the telephony layer versus just preventing DTMF from being sent to the LLM. However, the documentation indicates that when DTMF is "ignored," it suggests the system won't react to those inputs at all during the call. Configuration Example: To disable DTMF processing for your agent, set:
Copy code
json
{
  "allow_user_dtmf": false
}
This should prevent DTMF from being processed or causing interruptions once the call is handed off to your custom LLM. --- **
​ To learn more, see the sources I considered: [[1] Get Agent Versions](https://docs.retellai.com/api-references/get-agent-versions) [[2] List Voice Agents](https://docs.retellai.com/api-references/list-agents) [[3] Create Voice Agent](https://docs.retellai.com/api-references/create-agent) [[4] Get Voice Agent](https://docs.retellai.com/api-references/get-agent) [[5] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
u
@AI Evy "We're sending update_agent with allow_user_dtmf: false after OTP verification (you can see it in our logs at 20:56:36.173). Retell acknowledges receiving it with 'Update agent event received'. However, DTMF is still being captured and causing interruptions after that (see dtmf events at 20:56:47, 20:56:56, etc.).
a
Thanks for the follow-up, @.mannankhan. I'll get back to you soon.
### Answer --- Based on the available sources, I can confirm that the Update Agent Event should modify the agent's DTMF settings during an active call. [(1) ]() However, the sources don't provide specific troubleshooting steps for when
allow_user_dtmf: false
is acknowledged but DTMF events continue to be captured. Potential Issues to Check: 1. Timing of the Update - Verify that the update_agent event is being sent through the LLM WebSocket connection and not just logged locally. The event must be transmitted to Retell's servers via the WebSocket. 2. Event Structure - Ensure your update_agent event follows the exact structure documented:
Copy code
json
{
  "response_type": "update_agent",
  "agent_config": {
    "allow_user_dtmf": false
  }
}
3. WebSocket Connection State - Confirm that the WebSocket connection to Retell is active and stable when you send the update_agent event. What the Documentation States: The Update Agent Event allows you to modify agent configurations during an active call, including DTMF settings. When
allow_user_dtmf
is set to false, DTMF input should be ignored. [(2) ]() [(3) ]() [(4) ]() [(5) ]() Since you're experiencing continued DTMF capture despite sending the update and receiving acknowledgment, this appears to be a behavior that requires direct support investigation. I don't have information in the sources about known issues or delays in applying DTMF configuration updates mid-call. Recommended Next Steps: * Visit [Contact Sales]() * Visit [) Provide them with your call logs showing the update_agent event being sent and acknowledged, along with the subsequent DTMF events that should have been blocked. --- **
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.