This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Get recording file URL ====== * Function: <code>getMonitorCJI (sessionid, calldate, callbackFuc, mp3) </code> * Description: According to sessionId and call date, get URL of the recording file for play or download <note important>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/ </note> * Parameters: ^ Parameters ^ Type ^ Description ^ |sessionid|String|sessionId of the call| |calldate|String|call date, such as: 2013-02-09| |callbackFun|String|callback function| |mp3|String|no / yes if you want mp3 format, no by default| * Return Format: <code> {code:code,message:message} </code> * Type of the Return Value:JSON * Return values: ^ Value ^ Description ^ |<code>{code:1,message:URL}</code>|<code>{code:sucessed,message:URL} ex: {code:1,message:http://192.168.1.100:8880/getMonitor/ 20130123114549-2227-1986.wav}</code>| |<code>{code:2,message:message}</code>|<code>{code:failed,message:message}</code>|

en/custom_development_guide/apis/javascript/get_recording_url.1473255730.txt.gz · Last modified: 2017/12/12 03:11 (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki