Get recording file URL

EVENT=GetMonitor&sessionid=sessionid&calldate=calldate&mp3=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
EVENTStringGetMonitor
sessionidStringsessionId of the call
calldateStringcall date, such as: 2013-02-09
mp3Stringno / yes if you want mp3 format, no by default

|Retuen|code|Retuen|message

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