====== 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 ^
|sessionid|String|sessionId of the call|
|calldate|String|call date, such as: 2013-02-09|
|mp3|String|no / 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|