From 5d3b564356dba94bee3de9f7a7b3c18c141ea7fa Mon Sep 17 00:00:00 2001 From: saridsa2 Date: Fri, 20 Mar 2026 18:39:33 +0530 Subject: [PATCH] fix: reset outboundPending on call end to prevent inbound poisoning Co-Authored-By: Claude Opus 4.6 (1M context) --- src/state/sip-manager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/state/sip-manager.ts b/src/state/sip-manager.ts index 74254c9..7f4baa4 100644 --- a/src/state/sip-manager.ts +++ b/src/state/sip-manager.ts @@ -75,6 +75,7 @@ export function connectSip(config: SIPConfig): void { // Reset outbound flag when call ends if (state === 'ended' || state === 'failed') { outboundActive = false; + outboundPending = false; } }, );