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

    Class MonitorCall

    Monitors a provided ongoing call of another agent.

    The taskSid of the task to monitor the call for.

    The reservationSid of the task to monitor the call for.

    Optional configuration parameters for customizing the monitor call process.

    A promise that resolves to a VoiceCall object, representing the call.

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

    async function example() {
    const client = await createClient("SDK_TOKEN");
    const monitorCall = new MonitorCall("WTXXXXXXXXXXXXXXXXXXXXXXXXX", "WRXXXXXXXXXXXXXXXXXXXXXXXXX");
    const call = await client.execute(monitorCall);
    }

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods