Invoked (once) when a call's TTL elapses with no socket ever attached. The entry has already been removed by then.
TTL applied when Expect is not given one explicitly.
Cancels every outstanding TTL timer and clears the store (registry/service shutdown).
Registers (or re-registers) a call's token and starts its connect TTL. Re-registering the same key replaces the earlier expectation and restarts the timer.
The carrier call id (or correlation id).
The per-call secret the socket must present.
Optional TTL override in milliseconds.
Removes a call's expectation and cancels its TTL timer. Safe for unknown keys.
Whether an expectation (attached or not) exists for the key.
Records that a socket attached; the connect TTL no longer applies.
Moves an expectation to a new key (Vonage: correlation id → call UUID), keeping its token and timer.
Decides whether a connecting socket may attach to the call. The order matters: an unknown call is reported before the token is examined, and a wrong token before "already attached", so a probe never learns whether a given call currently has a live socket.
The set of calls MJ is expecting a media socket for, keyed by the carrier's call identifier (or, for a Vonage outbound call whose UUID is not yet known, a correlation id). Pure bookkeeping — no sockets, no I/O.