https://retellai.com/?utm_source=discord&utm_medium=seo logo
DTMF Collection Not Resetting - How to Allow Retry...
# ❓・bug-report
u
Quick technical Q about DTMF retry handling: Setup: digit_limit=6, no termination_key, timeout_ms=2000 Issue: After first DTMF is processed, Retell keeps sending the SAME old DTMF (same time_sec timestamp) in subsequent webhook events, even when user enters new keypresses. Logs: [15:02:24] DTMF: "482115", time_sec: 12.209 ❌ Wrong code [15:02:24] Our response: "Incorrect, try again" (content_complete:true) [15:02:40] User enters NEW digits, but webhook shows: DTMF: "482115", time_sec: 12.209 ← SAME old input! All 3 retry attempts consumed by the same keypress. Question: How do we trigger a NEW DTMF collection session after processing the first one? Is there a webhook response parameter or API call to reset DTMF state? This is blocking our OTP verification flow in custom LLM Thanks! 🙏 @Omar Ashraf | Community Lead @Colin - Integrations @ Retell AI
f
I can help with this! The issue happens because Retell keeps the original DTMF buffer alive unless you explicitly reset the collection state. Since your response only ends the content, the DTMF session doesn’t restart, so it keeps resending the same digits. To fix it, you usually need to tell Retell to start a new DTMF collection in your webhook response (or clear the buffer) depending on how you’ve set up the call session.
Which integration are you using: LLM Webhooks, Realtime API, or Server-side DTMF config? That determines the exact parameter to send back.
o
Hello @.mannankhan , can you share a call id ?
u
@Omar Ashraf | Community Lead here is the call id: call_fc2019fd9abc724ec16c4324253
Integration: Custom LLM WebSocket with transcript_with_tool_calls
Thanks man. I really appreciate this. could you please help me with the exact fix at my end?
@Omar Ashraf | Community Lead any update on How do I re-enable DTMF collection after sending a response in Custom LLM WebSocket mode? Our use case is OTP verification with retry on wrong code.?
@Omar Ashraf | Community Lead any update?
o
Hello @.mannankhan , You have opted out the data , I can't check the call.
u
tell me what all details you need? i will help you.
o
I need a call that have this problem , so I can check it and if there an issue i can escalate it to the team , but even the team can't check it if you opt it out the data, so disable this feature for a test call and reproduce it and share the call id with me.
u
okay. i will let you know. in the mean time can you pls comment on "How do I re-enable DTMF collection after sending a response in Custom LLM WebSocket mode? Our use case is OTP verification with retry on wrong code?"
@Omar Ashraf | Community Lead @support_29992 call id with call data on : call_cf0d5f667d07e222ddeaeca19ca I can see in the dashboard that I first entered the wrong OTP (222222), and then entered the correct OTP (577164). However, on the socket, Retell kept sending only the first (wrong) OTP. If Retell actually sends the correct OTP after a retry, can you guide me on how to read or capture that updated OTP?
@Colin - Integrations @ Retell AI ++
@Omar Ashraf | Community Lead Any update?
u
thanks it worked.