Help Center/
Cognitive Engagement Center/
Agent Integration-OpenEye H5 Softphone Interface Integration/
Development Guide to H5 Softphone Integration on the Agent Side/
Deactivating an Account
Updated on 2023-10-12 GMT+08:00
Deactivating an Account
Application Scenario
After signing out of the CTI platform, the agent also needs to deactivate the phone account.
Prerequisites
- An agent has signed in to the CTI platform.
- The account has been registered.
Process Description
Invoke the deRegister interface of the OpenEyeCall to deactivate the account.
/** * Deactivate */ function deRegister() { if (global_openEye_SDK!= null && global_openEye_SDK.openEyeCall!= null) { global_openEye_SDK.openEyeCall.deRegister(global_userPhoneNumber, { response: deRegisterResponse }); } } /** * Deactivation result * @param {*} data */ function deRegisterResponse(data) { if (data.result == 0) { writeLog("Phone DeRegister Success."); } else { writeLog("Phone DeRegister Failed."); } }
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot