Get recording file URL

  • Function:

getMonitorCJI (sessionid, calldate, callbackFuc, mp3)

  • Description:

According to sessionId and call date, get URL of the recording file for play or download

To use this API, you need to configure /etc/astercc.conf section [system] webroot_address first, it is supposed to be call center web URL, such as webroot_address = http://192.168.1.100:80/

  • Parameters:
Parameters Type Description
sessionidStringsessionId of the call
calldateStringcall date, such as: 2013-02-09
callbackFucStringcallback function
mp3Stringno / yes if you want mp3 format, no by default
  • Return Format:

{code:code,message:message}

  • Type of the Return Value:JSON
  • Return values:
Value Description
{code:1,message:URL}
{code:sucessed,message:URL}
ex:
{code:1,message:http://192.168.1.100:8880/getMonitor/ 20130123114549-2227-1986.wav}
{code:2,message:message}
{code:failed,message:message}
en/custom_development_guide/apis/javascript/get_recording_url.txt · Last modified: 2018/12/29 06:04 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki