crooked-tiger-31253
12/18/2025, 3:09 AMtall-airline-16756
12/18/2025, 3:09 AMtall-airline-16756
12/18/2025, 3:10 AMdtmf_input_timeout in the GetDtmfTask (default ~4.0s). Example:
result = await GetDtmfTask(
num_digits=4,
dtmf_input_timeout=2.0,
chat_ctx=self.chat_ctx
)
• If your flow accepts single-digit choices, process the digit as soon as it arrives in your DTMF event handler instead of waiting for a stop digit or timeout:
@room.on("sip_dtmf_received")
def on_dtmf_received(dtmf: rtc.SipDTMF):
handle_menu_selection(dtmf.digit)
• Check any other agent timeouts like inter_digit_timeout / dtmf_timeout and lower them if configured.
If you share which task/config you’re using and whether you need multi-digit input or single-key menus, I’ll suggest the exact timeout values and code changes.
Sources: Handling DTMF | LiveKit docs | Tasks and task groups | LiveKit docscrooked-tiger-31253
12/18/2025, 3:48 AMtall-airline-16756
12/18/2025, 3:49 AM