https://retellai.com/?utm_source=discord&utm_medium=seo logo
How do I re-enable DTMF collection after sending a...
# ❓・ai-evy-support
u
@AI Evy 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.
a
Thanks for tagging me @.mannankhan. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] LLM WebSocket](https://docs.retellai.com/api-references/llm-websocket) [[2] DTMF Collection Not Resetting - How to Allow Retry Attempts?](https://discord.com/channels/1186424376300679209/1443925015878832138) ​
### Answer Based on the available documentation, I don't have explicit information about re-enabling or resetting DTMF collection sessions in Custom LLM WebSocket mode after processing a response [(1) ]() . The LLM WebSocket documentation describes how to receive DTMF input through the
transcript_with_tool_calls
field when
transcript_with_tool_calls
is set to true in the config event . However, it doesn't specify a mechanism to explicitly reset or restart DTMF collection after you've processed the first input . A community discussion indicates this is a known issue where Retell keeps sending the same DTMF input (with the same timestamp) in subsequent webhook events, even when users enter new keypresses [(2) ]() . The discussion mentions that "Retell keeps the original DTMF buffer alive unless you explicitly reset the collection state" , but the exact parameter or method to reset this state isn't documented in the official sources. For your OTP verification with retry scenario, I recommend: Check out these potentially useful sources: - [LLM WebSocket]() - [Setup WebSocket Server]() Would you like me to try to provide a general answer based on common patterns, or would you prefer to reach out to support for the specific DTMF reset mechanism? Visit [Contact Sales]() or [)
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
u
@AI Evy 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?
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] DTMF Support with Custom LLM](https://discord.com/channels/1186424376300679209/1351879874259976202) ​
### Answer Based on the available documentation, I don't have explicit information about how to reset or re-capture DTMF input after the first collection in Custom LLM WebSocket mode [(1) ]() . The LLM WebSocket documentation shows that DTMF input is included in the
transcript_with_tool_calls
field when you set
transcript_with_tool_calls
to true in the config event . However, the documentation doesn't specify a mechanism to explicitly reset the DTMF collection state or capture subsequent keypad entries after processing the first input . A community discussion confirms this is a known limitation where DTMF input with Custom LLM is not fully supported for retry scenarios [(2) ]() . When asked about DTMF support with Custom LLM, the response indicated "not supported as of now" . For your OTP verification with retry use case, the current Custom LLM WebSocket implementation may not support capturing multiple sequential DTMF inputs as separate events. The system appears to buffer the first DTMF input but doesn't provide a documented way to clear that buffer and capture new input. Check out these potentially useful sources: - [LLM WebSocket]() - [DTMF Support with Custom LLM]() I recommend reaching out to Retell support for guidance on implementing OTP retry logic with DTMF in Custom LLM mode, as this specific workflow isn't documented in the available sources. Visit [Contact Sales]() or [)
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.