disableClickToDial() for Salesforce Classic

Disables click-to-dial.

NameTypeDescription
callbackfunctionJavaScript method executed when the API method call is completed.

This method is asynchronous. The response is returned in an object passed to a callback method. The response object contains the following fields.

NameTypeDescription
resultbooleantrue if click-to-dial was disabled, false if click-to-dial wasn’t disabled.
errorstringIf the API call was successful, this variable is undefined. If the API call failed, this variable returns an error message.