Set a Call on Hold from the CallCardSetHold Application

We are still updating this page

Some data may be missing here — we will complete it shortly.

Scope: telephony

Who can execute the method: any user

The CallCardSetHold method allows the application to place a call on hold.

The application must pass an object with the property held to the method, which contains a boolean value: true - to enable hold, false - to disable hold. No data is passed to the callback function.

Example

BX24.placement.bindEvent('BackgroundCallCard::initialized', event => {
            BX24.placement.call('CallCardSetHold', { held: true }, () => {
                // some code
            });
        });
        

How to Use Examples in Documentation