Savecallhistory(callbackfunction) – Grandstream GXV3275 GMI Web Service Guide User Manual
Page 30
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 29 of 44
• ID: "1"
• flag: "1"
• format: "json"
• jsoncallback: "?" (This is the HTTP request for the call back
function, usually used in AJAX and JQuery)
• For example:
http://192.168.121.230/manager?action=removecall&ID=1&flag=1&f
ormat=json&jsoncallback=?
Return
1. HTTP request return:
• Remove successful
"{"res": "success"}"
• Remove failed
"{"res" : "error", "msg" : "remove call failed"}"
• Parameters in wrong format (GMI version 9 or newer)
2. "{"res" : "error", "msg" : "wrong format"}"
saveCallHistory(callbackFunction)
Description
Save callhistory.xml
Parameters
callbackFunction: Call back function
Http Request
• URL: "http://"+ ip + "/manager?"
• action: "savecallhistory"
• format: "json"
• jsoncallback: "?" (This is the HTTP request for the call back
function, usually used in AJAX and JQuery)
• For example:
http://192.168.121.230/manager?action=savecallhistory&format=jso
n&jsoncallback=?
Return
HTTP request return:
• Save successful
"{"res": "success"}"
Note
After HTTP request returns saving successful, users could download
callhistory.xml to the phone with the following link:
http://192.168.121.230/callhistory/callhistory.xml