APIs

This document is for users who want to develop a system for asterCC or integrate asterCC with with third-party system.

It provides three kinds of APIs to communicate between asterCC and your system.

WebService

The WebService embedded in astercc will response for the third-party application, call the appropriate action to finish the request, and send feedback messages. WebService API includes method to change agent status changes and control calls.

HTTP

The HTTP service embedded in astercc will response for the third-party application, call the appropriate action to finish the request, and send feedback messages. HTTP API includes method to change agent status changes and control calls.

JavaScript

Include asterCC JavaScript file in your web application, call javascript functions to execute the action and get json feedback messages. JavaScript API could be used to change agent status and control calls.

Call events for agents

System will push call event of a specific agent to client (Browser most time)

Call events for system

In asterCC, you can configure a url, when there're calls in system, asterCC will post all call events to the URL, then your script could generate your CDR or forward the event to corresponding application.

Appendix

en/custom_development_guide/apis.txt · Last modified: 2016/09/05 02:54 by solo
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki