Disable Auto-Close disableAutoClose

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

This method disables the automatic closing of the card for 60 seconds after the call ends. It also blocks incoming calls until the card is closed.

No parameters.

Code Examples

How to Use Examples in Documentation

Calling the placement method. The result is returned in the callback.

curl -X POST \
        -H "Content-Type: application/json" \
        -H "Accept: application/json" \
        -d '{"PLACEMENT":"disableAutoClose","PARAMS":{}}' \
        "https://**put_your_bitrix24_address**/rest/**put_your_user_id_here**/**put_your_webhook_here**/placement.call"
        
curl -X POST \
        -H "Content-Type: application/json" \
        -H "Accept: application/json" \
        -d '{"PLACEMENT":"disableAutoClose","PARAMS":{}}' \
        "https://**put_your_bitrix24_address**/rest/placement.call?auth=**put_access_token_here**"
        
BX24.placement.call('disableAutoClose', {}, function (result) {
            console.log(result);
        });
        
require_once('crest.php');
        
        $result = CRest::call(
            'placement.call',
            [
                'PLACEMENT' => 'disableAutoClose',
                'PARAMS' => (object)[]
            ]
        );
        
        echo '<PRE>';
        print_r($result);
        echo '</PRE>';
        

Continue Learning