diff --git a/wavefront/server/apps/call_processing/call_processing/services/pipecat_service.py b/wavefront/server/apps/call_processing/call_processing/services/pipecat_service.py index 56a276b5..477cc943 100644 --- a/wavefront/server/apps/call_processing/call_processing/services/pipecat_service.py +++ b/wavefront/server/apps/call_processing/call_processing/services/pipecat_service.py @@ -28,6 +28,10 @@ Frame, StopFrame, TTSSpeakFrame, + BotSpeakingFrame, + BotStartedSpeakingFrame, + UserSpeakingFrame, + UserStartedSpeakingFrame, ) from pipecat.pipeline.parallel_pipeline import ParallelPipeline from pipecat.pipeline.pipeline import Pipeline @@ -648,7 +652,13 @@ async def on_assistant_turn_stopped( # enable_usage_metrics=True, # report_only_initial_ttfb=True ), - idle_timeout_secs=20, + idle_timeout_frames=( + BotSpeakingFrame, + UserSpeakingFrame, + BotStartedSpeakingFrame, + UserStartedSpeakingFrame, + ), + idle_timeout_secs=300, enable_tracing=ENABLE_TRACING, enable_turn_tracking=ENABLE_TURN_TRACKING, conversation_id=None,