mirror of
https://dev.azure.com/globalhealthx/EMR/_git/helix-engage
synced 2026-04-11 18:28:15 +00:00
fix: reset outboundPending on call end to prevent inbound poisoning
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -75,6 +75,7 @@ export function connectSip(config: SIPConfig): void {
|
|||||||
// Reset outbound flag when call ends
|
// Reset outbound flag when call ends
|
||||||
if (state === 'ended' || state === 'failed') {
|
if (state === 'ended' || state === 'failed') {
|
||||||
outboundActive = false;
|
outboundActive = false;
|
||||||
|
outboundPending = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user