This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:custom_development_guide:apis [2014/06/13 02:05] solo [Call events for system] |
en:custom_development_guide:apis [2017/12/12 03:05] (current) |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== WebService ===== | ===== 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. | ||
| + | |||
| + | * [[en:custom_development_guide:apis:WebService]] | ||
| ===== HTTP ===== | ===== 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. | ||
| + | |||
| + | * [[en:custom_development_guide:apis:HTTP]] | ||
| ===== JavaScript ===== | ===== 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. | ||
| + | |||
| + | * [[en:custom_development_guide:apis:JavaScript]] | ||
| ===== Call events for agents ===== | ===== Call events for agents ===== | ||
| - | ===== Call events for system ===== | ||
| System will push call event of a specific agent to client (Browser most time) | 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. | ||
| + | |||
| + | * [[en:custom_development_guide:apis:receive call events via http post]] | ||
| ===== Appendix ===== | ===== Appendix ===== | ||
| * [[en:custom_development_guide:apis:Language Codes]] | * [[en:custom_development_guide:apis:Language Codes]] | ||
| * [[en:custom_development_guide:apis:Return Messages]] | * [[en:custom_development_guide:apis:Return Messages]] | ||