Grandstream Networks GXV3240 User Manual page 22

Hide thumbs Also See for GXV3240:
Table of Contents

Advertisement

Return
GXV3240/GXV3275 GMI WEB SERVICE GUIDE V1.9
For example:
http://192.168.121.230/manager?action=putportphbk&opmode=1
&flag=0&portType=0&portEncode=UTF-8&format=json&jsoncall
back=?
(2) Save phonebook.xml
url: "http://"+ ip + "/manager?"
action: "savephbk"
format: "json"
jsoncallback ------"?"
For example,
http://192.168.121.230/manager?action=savephbk&format=json
&jsoncallback=?
(3) When "savephbk" succeed, the phoneook.xml will be exported to
the phone, then you can download the phonebook.xml from link as
follow:
http://192.168.121.230/phonebook/phonebook.xml
2. Import phonebook
(1) Upload the local phonebook.xml to the phone first.
Then use the HTTP POST method to send the phonebook
content.
HTTP request header:
http://192.168.121.230/upload?type=phonebook&format=json
(2) Import phonebook
url: "http://" + ip +"/manager?"
action: "putportphbk"
flag: "1"
opmode: "0"
portEncode: "UTF-8"
portType: "0"
portReplace: "0"
portClear: "1"
format: "json"
jsoncallback: "?"
For example:
http://192.168.121.230/manager?action=putportphbk&opmode=0&fla
g=1&portType=0&portEncode=UTF-8&portReplace=0&portClear=1&
format=json&jsoncallback=?
1. HTTP request return:
"putportphbk": Import successful
"{"res": "success", "flag":"1"}"
"putportphbk": Import failed
"{"res" : "error", "msg" : "configuration file not found"}"
"savephbk": Save successful
"{"res": "success"}"
2. callbackFunction(data) will process the data returned from HTTP
Page 21 of 40

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gxv3275

Table of Contents