Sippy XML-RPC API is developed to make it possible to integrate third party software with Sippy SoftSwitch.
- The XML-RPC is used as a communication protocol.
- Access to this service is protected by HTTP-Digest authentication and optionally by SSL encryption.
- The interface supports the <nil/> element to represent NULL values. There is no such or similar element in the XML-RPC specification but most implementations support it so it can be considered to be de-facto standard.
- URL to access the service is https://<YOUR_SWITCH_IP>/xmlapi/xmlapi.
Access Control and Authentication
In Normal Mode the XMLRPC client should authenticate itself with username and password, which will be used to restrict scope of the access to a particular Customer account.
Service is accessed on per Customer basis, you have to set the API checkbox form the upper level customer in the Permissions for the sub-customer you want to let API usage (image below).
Authentication is performed using Web Login and API Password and requires Allow API Calls parameter to be enabled on the Customer's My Preferences page.
There is also a trusted mode of operation, allowing to permit full access to a specified IP address or a range of IP addresses without performing username-based authentication. In order for the request to be treated as trusted the IP of the calling HTTP client has to be present in trusted_hosts table and no authentication has to be used. In trusted mode the customer scope limitation is not applied and requests can be made against any customer. This mode is intended mainly for use by switch components and external uses are discouraged.