Skip to main content

Precautions:

  • It is recommended to use Chrome browser first. It is not supported for use in mobile H5 pages. This version has only been fully tested for PC browsers. There may be unknown compatibility issues when used in mobile H5 pages.
  • Since softphones need to rely on the WebRTC capabilities provided by the browser, when using softphones, it is recommended to use browsers with better support for WebRTC, such as Chrome or Firefox browsers.
  • Integrating the SDK requires the use of the HTTPS protocol.
  • Chrome browser needs to enable microphone and sound permissions. Firefox browser needs to enable microphone and speaker permissions.
  • When using in an iFrame, the iframe needs to add an allow attribute. iframe.allow = “midi;encrypted-media;microphone *;camera *;“Only in this way can the relevant capabilities of WebRTC be used in the iframe.

ui-sdk plug-in reference URL

Note: When using the SDK, please add the sysnum parameter in the following way. The sysnum corresponds to the enterprise ID of Sobot (which can be viewed in Sobot management background => Management Center => Account Management => Enterprise Account => Enterprise Information). Do not download the SDK code to the local area and use it on your own server to avoid being unable to obtain SDK updates in the future, resulting in the unavailability of the SDK.

Initialization

● Phone Bar Initialization

Request Param params Description
Table 1 themeColor param description
Table 2 appConfig param description
Table 3 actionConfig param description
Table 4 settingConfig param description

Call Operation

● Outbound

Request param