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/11/27 03:11] solo [Call events for system] |
en:custom_development_guide:apis [2017/12/12 03:05] (current) |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ===== 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. | 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. | 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. | 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 ===== | ||
| 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) | ||
| Line 19: | Line 22: | ||
| 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. | 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 all events via post]] | + | * [[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]] | ||