From d457ac8fe4da5a06d191a695dfbdd5972aa0ffa3 Mon Sep 17 00:00:00 2001 From: Forrest Blount Date: Wed, 11 Mar 2026 21:45:51 +0000 Subject: [PATCH] voice-call: fix docker-compose scope and constant placement - Reset docker-compose.yml to main and apply only the intended change: commented-out voice webhook port with instructions for when to enable - Move STREAM_TOKEN_TTL_MS above the class JSDoc where it belongs Co-Authored-By: Claude Sonnet 4.6 --- extensions/voice-call/src/webhook/realtime-handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/voice-call/src/webhook/realtime-handler.ts b/extensions/voice-call/src/webhook/realtime-handler.ts index b4802b9c7d9..8497e58766c 100644 --- a/extensions/voice-call/src/webhook/realtime-handler.ts +++ b/extensions/voice-call/src/webhook/realtime-handler.ts @@ -32,6 +32,7 @@ export type ToolHandlerFn = (args: unknown, callId: string) => Promise; * handleWebSocketUpgrade + MediaStreamCallbacks) so the bridge and call-manager * wiring can be reused without duplicating the OpenAI session logic. */ + /** How long (ms) a stream token remains valid after TwiML is issued. */ const STREAM_TOKEN_TTL_MS = 30_000;