Get recording file URL

getMonitorCJI (sessionid, calldate, callbackFuc, mp3)

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 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

{code:code,message:message}

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}