.mannankhan
12/04/2025, 7:31 PMAI Evy
12/04/2025, 7:31 PMAI Evy
12/04/2025, 7:31 PMallow_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) ]()
json
"user_dtmf_options": {
"digit_limit": 1,
"termination_key": "",
"timeout_ms": 2000
}AI Evy
12/04/2025, 7:31 PMAI Evy
12/04/2025, 7:31 PMAI Evy
12/04/2025, 7:31 PM.mannankhan
12/04/2025, 7:38 PMAI Evy
12/04/2025, 7:38 PMAI Evy
12/04/2025, 7:38 PMAI Evy
12/04/2025, 7:38 PMjson
{
"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.
---AI Evy
12/04/2025, 7:38 PM.mannankhan
12/04/2025, 9:04 PMAI Evy
12/04/2025, 9:04 PMAI Evy
12/04/2025, 9:04 PMallow_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:
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.
---
**AI Evy
12/04/2025, 9:04 PMAI Evy
12/04/2025, 9:04 PM.mannankhan
12/04/2025, 9:05 PMAI Evy
12/04/2025, 9:05 PMAI Evy
12/04/2025, 9:06 PMallow_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:
json
{
"response_type": "update_agent",
"agent_config": {
"allow_user_dtmf": false
}
}AI Evy
12/04/2025, 9:06 PMallow_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.
---
**AI Evy
12/04/2025, 9:06 PMAI Evy
12/04/2025, 9:06 PM