Getphonemem, Getcstatus – Grandstream GXV3275 GMI Web Service Guide User Manual
Page 41
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 40 of 44
Unknown: unknown status or cannot get status return data
getPhoneMem
Description
Get phone's memory status (GMI version 6 to 8)
Parameters
funcname: Process name
Http Request
• URL: http://" + ip +"/manager?"
• action: "phoneMem"
• funcname: process name
• 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=phoneStatus&funcname=gs_g
ui
http://192.168.121.230/manager?action=phoneStatus&funcname=gs_p
hone&format=json&jsoncallback=?
Return
• If the return data is retrieved in json format and there is jsoncallback,
the return data is as follows:
jsoncallback(S)
where jsoncallback is the callback function name
• Otherwise, the physical memory of the process will be returned. For
example, 3176 kB
• If the process memory is unknown or cannot get memory,
"Unknown" will be returned.
getcStatus
Description
Get phone's line status (GMI version 8 or newer)
Parameters
line: Line index number. From 0 to 2 for line 1 to line 3
Http Request
• URL: http://" + ip +"/manager?"
• action: "lineStatus"
• 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=lineStatus&line=0
Return
1. If the return data is retrieved in json format and there is jsoncallback,