OriginateHumanAgent: ((options) => Promise<void>)

Places the human agent call into the briefing room. See WarmTransferTaskOptions.originateHumanAgent.

Type declaration

    • (options): Promise<void>
    • Parameters

      • options: {
            identity: string;
            jobCtx: JobContext;
            room: Room;
            roomName: string;
            signal: AbortSignal;
        }
        • identity: string

          Participant identity the human agent joins with.

        • jobCtx: JobContext

          Job context of the caller session, for reaching LiveKit service APIs.

        • room: Room

          Connected client room, for observing the human agent join.

        • roomName: string

          Name of the room the human agent is dialed into.

        • signal: AbortSignal

          Aborts when the transfer is cancelled while the dial is pending.

      Returns Promise<void>