Grandstream GXV3275 GMI Web Service Guide Manual de usuario Pagina 35

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 45
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 34
GXV3240/3275 GMI Web Service v1.9 User Guide
Page 34 of 44
"{"res": "error", "msg":"phone rebooting"}"
2.
callbackFunction
(data) will process the data returned from HTTP
request
getParameter(confItem[ ], callbackFuntion)
Description
1. HTTP request return:
Configure successful
"{"res": "success", "flag":"1"}"
Configure failed
"{"res": "error", "msg":"phone rebooting"}"
2. c
allbackFunction(data) will process the data returned from HTTP
request
Parameters
ConfItem: Phone's configuration (array)
callbackFunction: Call back function
Http Request
URL: http://" + ip +"/manager?"
action: "get"
var-0000: val1 //Key
var-0001: val2 //Key
....
var-xxxx
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=get&var-0000=7044&var-00
01=904&format=json&jsoncallback=?
Return
1. HTTP request return:
Successful
"{"res": "success", "7044":"1", "904":"15"}"
Failed
"{"res": "error", "msg":"new memory failed or no value"}"
2. callbackFunction(data) will process the data returned from HTTP
request
launchService(name, arg, callbackFunction)
Description
Open an application.
GXV32xx/GXP2200 applications: Blue Background
Vista de pagina 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 44 45

Comentarios a estos manuales

Sin comentarios