====== WebService ====== ===== Summarize ===== asterCC build-in Web Service engine accept third-party request, finish the task, and then response message feedback. Web Service function includes include an agent's state changes and call control interface. Webservice address: http://$(ipaddress):$(port)/$(appname) * $(ipaddress) - IP address of astercc server * $(port) - Web port of astercc service * $(appname) -astercc web service name(astcccwi.php?wsdl) there are two files under webroot directory(by default: /var/www/html/asterCC/app/webroot/): astcccwi.php and astcccwi.wsdl When you use, please modify IP address at the bottom of the file astcccwi.wsdl {{:zh:二次开发者指南:接口开发手册_v2.0:astercccwi.wsdl.jpg?|}} 192.168.1.45:4580 is IP and port of asterCC web service Use PHP login as example {{:zh:二次开发者指南:接口开发手册_v2.0:astcccwi.wsdl.sample.jpg?|}} ===== Web Service APIs ===== *[[en:custom_development_guide:apis:webservice:login]] *[[en:custom_development_guide:apis:webservice:logout]] *[[en:custom_development_guide:apis:webservice:agent group (checkin/checkout)]] *[[en:custom_development_guide:apis:webservice:pause/unpause]] *[[en:custom_development_guide:apis:webservice:switch ACW mode]] *[[en:custom_development_guide:apis:webservice:exit ACW]] *[[en:custom_development_guide:apis:webservice:switch work mode]] *[[en:custom_development_guide:apis:webservice:call]] *[[en:custom_development_guide:apis:webservice:consult]] *[[en:custom_development_guide:apis:webservice:transfer]] *[[en:custom_development_guide:apis:webservice:resume]] *[[en:custom_development_guide:apis:webservice:conference]] *[[en:custom_development_guide:apis:webservice:hangup]] *[[en:custom_development_guide:apis:webservice:barge-in]] *[[en:custom_development_guide:apis:webservice:spy]] *[[en:custom_development_guide:apis:webservice:get agent status]] *[[en:custom_development_guide:apis:webservice:whisper]] *[[en:custom_development_guide:apis:webservice:get agent group status]] *[[en:custom_development_guide:apis:webservice:hangup]] *[[en:custom_development_guide:apis:webservice:MOH]] *[[en:custom_development_guide:apis:webservice:exit MOH]] *[[en:custom_development_guide:apis:webservice:get recording URL]] *[[en:custom_development_guide:apis:webservice:import]] *[[en:custom_development_guide:apis:webservice:get waiting stat in agent group]] *[[en:custom_development_guide:apis:webservice:get agent stat in team]] *[[en:custom_development_guide:apis:webservice:get single agent stat]] *[[en:custom_development_guide:apis:webservice:get single agent stat in one group of the day]] *[[en:custom_development_guide:apis:webservice:send DTMF]] *[[en:custom_development_guide:apis:webservice:set data to agent]] *[[en:custom_development_guide:apis:webservice:transfer to IVR]] *[[en:custom_development_guide:apis:webservice:callback]] *[[en:custom_development_guide:apis:webservice:bind extension]]