Handle multiple user inputs from the user when a voicemail is detected; add a configurable timeout to emitting the callback

This commit is contained in:
Mark Backman
2025-08-09 07:23:51 -04:00
parent 5ca82ec61e
commit 9da33f3897
2 changed files with 176 additions and 18 deletions

View File

@@ -61,9 +61,6 @@ async def handle_voicemail(processor):
"""
logger.info("Voicemail detected! Playing greeting...")
# Wait a moment for interruption to clear
await asyncio.sleep(1)
# Push frames using standard Pipecat pattern
await processor.push_frame(
TTSSpeakFrame("This is Mattie. Call me back when you can!"),