@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    Interface InteractionCallHeldEvent

    Emitted when the customer call is placed on hold.

    Fired after a successful Interaction.holdCall call. The customer call is now on hold and the isHold field in the payload is true.

    interaction.subscribe(InteractionEventType.INTERACTION_CALL_HELD, (event) => {
    console.log("Call on hold:", event.payload.interactionId, "isHold:", event.payload.isHold);
    });
    interface InteractionCallHeldEvent {
        type: INTERACTION_CALL_HELD;
        payload: InteractionCallStateChangedPayload;
        occurredAt: Date;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The event type identifier.

    The event payload containing event-specific data.

    occurredAt: Date

    The timestamp when the event occurred.