@twilio/flex-sdk
    Preparing search index...

    Class BargeCall

    Switches a supervisor (already joined via MonitorCall) into barge mode on the task's conference. The supervisor becomes audible to both the agent and the customer.

    The task SID for the call to barge into

    A promise that resolves when the barge call operation is complete

    import { createClient } from "@twilio/flex-sdk";
    import { BargeCall } from "@twilio/flex-sdk/actions/Voice";

    async function example() {
    const client = await createClient("SDK_TOKEN");
    const bargeCall = new BargeCall("WTXXXXXXXXXXXXXXXXXXXXXXXXX");
    const call = await client.execute(bargeCall);
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    • Creates a new BargeCall action.

      Parameters

      • taskSid: string

        The task SID for the call to barge into

      Returns BargeCall

    Methods

    • Parameters

      • ctx: {}

      Returns Promise<void>