From Bright Pattern Documentation
Jump to: navigation, search

mergeAllCallsIntoConference

This method allows you to automatically merge all your calls into one conference call.

It is expected to work when you have 1 external call and multiple internal consult calls with other agents.

Request

Syntax

mergeAllCallsIntoConference(customTransferData?: CustomTransferData): Promise<OperationResult<null>>

Where:

type CustomTransferData = Record<string, string | number | boolean | undefined | null>

Parameters

Parameter Parameter Values Data Type Optional/Required Description
customTransferData object Optional You can send any custom data to be available for new agents at the conference

Example Request

    mergeCallsButton.onclick = () => {

        const customerContactNumber = getCurrentCustomerID()

        const transferData = {

            cid: customerContactNumber,

        }

        adApi.mergeAllCallsIntoConference(transferData)

    }

Return Value

null

< Previous | Next >