https://retellai.com/?utm_source=discord&utm_medium=seo logo
can I use DTMF prefixes
# ❓・ai-evy-support
d
@AI Evy can I use DTMF prefixes ?
a
Thanks for tagging me @dropsofsteel. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available documentation, I don't have specific information about "DTMF prefixes" as a feature in Retell AI. The DTMF input options documented for Retell AI include: [(1) ]() , [(2) ]() , [(3) ]() -
digit_limit
– Maximum number of digits the user can enter -
termination_key
– A specific key (such as
#
,
*
, or any digit) that signals the end of input -
timeout_ms
– Time in milliseconds to wait after the last digit before timing out
Copy code
json
"user_dtmf_options": {
  "digit_limit": 25,
  "termination_key": "#",
  "timeout_ms": 8000
}
Could you clarify what you mean by "DTMF prefixes"? Are you looking to: - Detect a specific starting digit/sequence before capturing the rest? - Use a prefix to trigger DTMF capture mode? - Something else? With more context, I can better help or confirm whether this is supported.
​ To learn more, see the sources I considered: [[1] Capture DTMF input from user](https://docs.retellai.com/build/user-dtmf) [[2] Get Voice Agent](https://docs.retellai.com/api-references/get-agent) [[3] List Voice Agents](https://docs.retellai.com/api-references/list-agents) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy I mean A sequence of digits that must be dialed before the real number Example: I want to dial 777 + real number, and only then the system should continue.
a
Thanks for the follow-up, @dropsofsteel. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Capture DTMF input from user](https://docs.retellai.com/build/user-dtmf) [[2] User Keypad Input Detection (User DTMF) 2.0](

https://www.youtube.com/watch?v=AKyGlHr-vAM▾

) [[3] Get Agent Versions](https://docs.retellai.com/api-references/get-agent-versions) [[4] Update Voice Agent](https://docs.retellai.com/api-references/update-agent) [[5] User dtmf input issue / IIssue with IVR Node Keypress Handling](https://discord.com/channels/1186424376300679209/1397608688734175293) ​
### Answer Based on the available documentation, Retell AI does not have a built-in "DTMF prefix" feature that automatically requires a specific digit sequence (like
777
) before processing the actual input. [(1) ]() [(2) ](

▾

) The documented DTMF options focus on how input ends, not on validating a required prefix: [(1) ]() [(3) ]() [(4) ]() -
digit_limit
– Maximum digits allowed -
termination_key
– Key to signal end of input (e.g.,
#
,
*
) -
timeout_ms
– Time to wait after last digit before timing out Potential workaround: You could implement prefix validation logic in your prompt or through a Conversation Flow node. For example: 1. Capture the full DTMF input from the user [(1) ]() 2. Use a condition in your flow to check if the input starts with
777
[(5) ]() 3. If valid, extract the remaining digits as the "real number" and proceed 4. If invalid, prompt the user to re-enter This would require handling the validation on your side rather than having Retell natively filter by prefix. Would you like guidance on setting up a Conversation Flow to handle this validation?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.