Files
hideck/internal/api
yibaiba 239feb172b feat(voice): keep two live calls and switch between them
Why: conference and ECT need more than activeCall plus a ring-only waitingCall; a second answered call was rejected as busy.
Why this works: occupancy is the live call map, capped at two, and a second call is allowed only after the first is connected. SwitchCall changes focus; hangup promotes the remaining call.
Remaining: inbound Replaces, conference, and ECT are still separate rows.
2026-08-31 14:26:12 +08:00
..