Getgmiversion, Getphonestatus – Grandstream GXV3275 GMI Web Service Guide User Manual
Page 40
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 39 of 44
getGMIVersion
Description
Get phone's GMI version number
Parameters
N/A
Http Request
• URL: http://" + ip +"/manager?"
• action: "gmiVersion"
• For example:
http://192.168.121.230/manager?action=gmiVersion
Return
GMI Version number. For example, 6. The version number increases by
1 on each new GMI version.
getPhoneStatus
Description
Get phone's process status (GMI version 6 or newer)
Parameters
funcname: Process name
Http Request
• URL: http://" + ip +"/manager?"
• action: "phoneStatus"
• 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_g
ui&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 process status will be returned directly, for example,
S. The status are listed as below:
R: running
S: sleeping in an interruptible wait
D: waiting in uninterruptible disk sleep
Z: zombie
T: traced or stopped (on a signal)
W: paging