API setting
-
Enabling the API
Section titled “Enabling the API”To enable the API, open the Yeastar P-series PBX administration interface and go to the Integrations section on the API tab:

Enable the API by moving the checkbox next to the corresponding item in the interface. The data specified in the Client ID and Client Secret fields are the login and password for API connection and will be required when configuring the application in Bitrix24.

-
Connection security
Section titled “Connection security”After enabling the API interface, the settings will become available. For security reasons, we recommend restricting API access by specifying which hosts can use it. For this, enable the IP Restriction option and specify the integration application server address in the permitted list: 185.47.152.82 with a mask of 255.255.255.255

-
Enabling the API monitor
Section titled “Enabling the API monitor”For the API to work, enable the monitor for internal numbers and trunks by following these steps: On the Extension Status Monitor tab, enable monitoring for internal employee numbers that need to be integrated with Bitrix24.

After enabling monitoring of internal numbers, go to the Trunk Status Monitor tab and enable monitoring for lines that need to be integrated with Bitrix24.

Confirm the changes by clicking Save

