Integration Procedure
After learning about integration principles, you can perform integration development by referring to Figure 1.
- Before the development, prepare resources and configure the voice and video agent functions in the CEC. For details, see Preparations.
- Invoke the sign-in authentication API TokenByAkSk. For details, see Authentication Before Sign-In.
- Invoke the QueryAgentInfo API to query softphone information about all agents and synchronize sign-in account information to your business system, including agent IDs, softphone numbers, and softphone passwords. For details, see Obtaining CEC Account Information.
- Develop a token generation mechanism and provide a verification API for the AICC. After the authentication is successful, the AICC sends the token to a third-party system. The third-party system checks whether the request is sent by the system. For details about development requirements, see Developing a Token Generation Mechanism and Verification API.
Huawei uses HTTPS to ensure the security of information transmission channels. Third-party systems must ensure that the developed authentication functions have security protection capabilities, such as password complexity verification, anti-brute force cracking, and anti-DoS attack.
- Construct request parameters to request for ccbarclient.js to integrate the lightweight connection control. For details, see Developing an Integration Page.
- Use the OpenEye terminal to test and verify whether the integration is successful. For details, see Test and Verification. You can also use other tools that support SIP softphone, such as WebRTC and mobile app, to verify the integration.
Only OAuth authentication is supported between the CEC and enterprise authentication systems. The WebRTC registration does not support the HTTP protocol. Therefore, the client page must use the HTTPS protocol.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot