From c5be67f2935e8909a4fabd3573c258038689bcbd Mon Sep 17 00:00:00 2001 From: ssillerom Date: Wed, 28 Jan 2026 17:56:21 +0100 Subject: [PATCH] fix: create disconnect message passing output vars --- src/pipecat/serializers/genesys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/serializers/genesys.py b/src/pipecat/serializers/genesys.py index cced94997..31e32f4dc 100644 --- a/src/pipecat/serializers/genesys.py +++ b/src/pipecat/serializers/genesys.py @@ -572,7 +572,7 @@ class GenesysAudioHookSerializer(FrameSerializer): the frame type is not handled or session is not open. """ if isinstance(frame, (EndFrame, CancelFrame)): - return json.dumps(self.create_disconnect_message(reason="completed")) + return json.dumps(self.create_disconnect_message(output_variables=self.output_variables, reason="completed")) elif isinstance(frame, AudioRawFrame): if not self._is_open or self._is_paused: