Skip to content

bodhi-realtime-agent / RecoverUpstreamResult

Interface: RecoverUpstreamResult ​

Defined in: src/core/host-recovery.ts:61

What VoiceSession.recoverUpstream() returns, complete at return time.

Properties ​

activated ​

activated: Promise<void>

Defined in: src/core/host-recovery.ts:72

Resolves once the replacement connection is ACTIVE; rejects when the dial or another recovery step fails (the session is then parked in UPSTREAM_LOST) or the session closes or is parked first.


attemptEpoch ​

attemptEpoch: number

Defined in: src/core/host-recovery.ts:68

The DIAL generation the replacement connection dials on: the domain of turn.start.attemptEpoch and of the lifecycle att_<n> attempt id. Not turn.start.transportGeneration, the post-setup counter, which is legitimately lower (the dial counter also advances on failed and aborted dials). A turn.start carrying a lower attemptEpoch belongs to an earlier connection.


incumbentClosed ​

incumbentClosed: Promise<"closed" | "forced">

Defined in: src/core/host-recovery.ts:74

Close of the abandoned connection: bounded, never rejects.

Built with VitePress