Member Junction
    Preparing search index...

    What the executor needs.

    interface TelephonyToolExecutorDeps {
        CancelPendingWork: () => number;
        Controls: () => TelephonyCallControls | undefined;
        EndCall: (reason: string) => Promise<void>;
        Features: TelephonyToolFeatures;
        NotifyModel: (note: string) => void;
        Policy: OutboundCallPolicy;
        SettleMs?: number;
        TransferTargets: readonly TransferTarget[];
    }
    Index

    Properties

    CancelPendingWork: () => number

    Aborts the delegated work in flight; returns how many runs were aborted.

    Controls: () => TelephonyCallControls | undefined

    The call's controls — resolved lazily because the bridge does not exist until the bridge engine has started.

    EndCall: (reason: string) => Promise<void>

    Ends the call (stops the bridge session).

    The features the carrier supports (a tool for an unsupported one is refused even if the model invents the call).

    NotifyModel: (note: string) => void

    Tells the model something happened out-of-band (a failed transfer) so it can tell the caller.

    The outbound policy a transfer destination is checked against.

    SettleMs?: number

    Override for the goodbye settle delay (tests).

    TransferTargets: readonly TransferTarget[]

    The transfer directory — the only destinations transfer_call can reach.