Updated on 2023-10-12 GMT+08:00

Verification

Prerequisites

The OpenEye has been installed based on OpenEye Installation Guide and is running properly.

The WebDemo has been obtained from R&D engineers. The download URL is https://bbs.huaweicloud.com/forum/thread-132809-1-1.html.

You have run the command for starting the OpenEye through a command line or JS script (that is, start the OpenEye without opening the OpenEye GUI).
  1. To start the OpenEye through a command line, run the following command in the program directory:
    ClientApp.exe -mode 2
  2. To start the OpenEye through a web page integration JS script, run the following command:
    window.location.href='OpenEyeWebApiShell://-mode,2/';

Procedure

  1. Use the text editor to open the param.js file in WebDemo\ in the webdemo package, as shown in the following figure.

    Figure 1 param.js

  2. Modify the configuration information in Table 1 and save the modification. If the pool mode is used, set EnablePoolMode to true.

    Table 1 Configuration information to be modified

    Parameter

    Description

    sipIp

    Signaling IP address of the UAP.

    sipPort

    Port number of the SIP server. The default value is 5060.

    sipIp1~sipIp4

    Signaling IP address of the UAP on the pool network.

    sipPort1~sipPort4

    Port number of the SIP server on the pool network. The default value is 5060.

  3. Use the Google Chrome to open the WebDemo/index.html file. The page shown in the following figure is displayed. Click SetParam to perform basic configuration.

    Figure 2 index.html

  4. Set PhoneNumber and click Register. After the registration is successful, the page shown in the following figure is displayed.

    Figure 3 Registration result

  5. In the Voice Control area, set Phone Number to the number of another phone that has been registered with the USM (that is, the registered softphone number, for example, 444002), and click startVoiceCall, as shown in the following figure.

    Figure 4 Outbound call operation

  6. Answer the call from the number 444002, as shown in the following figure.

    Figure 5 Outbound call result