openclaw/extensions/voice-call/src
Juno c4ac0d2722 fix(voice-call): skip stale calls on load to prevent stuck concurrent limit
When the gateway restarts, loadActiveCalls() reloads non-terminal calls from
calls.jsonl. However, these calls may have already ended (e.g., Twilio timed
them out) and are now stale. This causes the concurrent call limit to be
reached with phantom calls that can never be cleared.

Fix: Skip loading calls that are older than maxDurationSeconds, as they
cannot possibly still be active.

Fixes calls getting stuck in 'initiated' state after gateway restarts.
2026-01-27 14:42:37 +00:00
..
manager feat: add prek pre-commit hooks and dependabot (#1720) 2026-01-25 10:53:23 +00:00
providers fix: gate ngrok free-tier bypass to loopback 2026-01-26 22:26:26 +00:00
cli.ts docs(cli): add per-command CLI pages 2026-01-15 06:13:10 +00:00
config.test.ts fix: gate ngrok free-tier bypass to loopback 2026-01-26 22:26:26 +00:00
config.ts fix: gate ngrok free-tier bypass to loopback 2026-01-26 22:26:26 +00:00
core-bridge.ts refactor: align voice-call TTS with core config 2026-01-25 09:29:57 +00:00
manager.test.ts fix: restore notify init + Plivo numbers (#846) (thanks @vrknetha) 2026-01-15 07:28:14 +00:00
manager.ts fix(voice-call): skip stale calls on load to prevent stuck concurrent limit 2026-01-27 14:42:37 +00:00
media-stream.test.ts fix(voice-call): prevent audio overlap with TTS queue (#1713) 2026-01-25 12:02:17 +00:00
media-stream.ts fix(voice-call): prevent audio overlap with TTS queue (#1713) 2026-01-25 12:02:17 +00:00
response-generator.ts feat: restore voice-call plugin parity 2026-01-12 21:44:19 +00:00
runtime.ts fix: gate ngrok free-tier bypass to loopback 2026-01-26 22:26:26 +00:00
telephony-audio.ts refactor: align voice-call TTS with core config 2026-01-25 09:29:57 +00:00
telephony-tts.ts refactor: align voice-call TTS with core config 2026-01-25 09:29:57 +00:00
tunnel.ts Voice-call: fix tailscale tunnel path 2026-01-18 18:59:58 -08:00
types.ts fix: gate ngrok free-tier bypass to loopback 2026-01-26 22:26:26 +00:00
utils.ts feat: restore voice-call plugin parity 2026-01-12 21:44:19 +00:00
voice-mapping.ts feat: restore voice-call plugin parity 2026-01-12 21:44:19 +00:00
webhook-security.test.ts fix: gate ngrok free-tier bypass to loopback 2026-01-26 22:26:26 +00:00
webhook-security.ts fix: gate ngrok free-tier bypass to loopback 2026-01-26 22:26:26 +00:00
webhook.ts fix: gate ngrok free-tier bypass to loopback 2026-01-26 22:26:26 +00:00