Get recording file URL

  • Function:

getMonitor (sessionid, calldate, 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
mp3Stringno / yes if you want mp3 format, no by default
  • Return Format:

|Retuen|code|Retuen|message

  • Type of the Return Value:String
  • Return values:
Value Description
|Retuen|1|Retuen|address
|Retuen|succeed|Retuen|record address
ex:
|Retuen|1|Retuen|http://192.168.1.100:8880/getMonitor/ 20130123114549-2227-1986.wav
|Retuen|2|Retuen|message
|Retuen|failed|Retuen|message
en/custom_development_guide/apis/webservice/get_recording_url.txt · Last modified: 2019/01/03 17:12 by donnie
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki