beautypg.com

Gmi web service interface – Grandstream GXV3275 GMI Web Service Guide User Manual

Page 2

background image

GXV3240/3275 GMI Web Service v1.9 User Guide

Page 1 of 44

GXV3240/3275 GMI Web Service v1.9 User Guide

Index

OVERVIEW .................................................................................................. 3

GMI WEB SERVICE INTERFACE ............................................................... 4

webServiceLogin(ip, username, password, callbckFunction) ................................................................ 4

getUptime(callbackFunction) ................................................................................................................. 5

getPN(callbackFuntion) .......................................................................................................................... 5

getHardware(callbackFunction) ............................................................................................................. 6

getVendor(callbackFuntion) ................................................................................................................... 6

getProduct(callbackFuntion) .................................................................................................................. 7

getProductInfo(callbackFunction) .......................................................................................................... 8

originateCall(account, isvideo isdialplan, destnum, headerstring, callbackFuntion) ............................. 8

getNetworkInfo(callbackFunction) ......................................................................................................... 9

getAccountInfo(callbackFunction) ........................................................................................................ 10

getGroup(gpID, callbackFuntion) ......................................................................................................... 10

getContact(ctID, gpID, ctName, callbackFuntion)................................................................................ 11

getGroupCount(callbackFuntion) ......................................................................................................... 12

getContactCount(callbackFuntion) ...................................................................................................... 13

phbkresponse(phbkGroup, callbackFuntion) ....................................................................................... 13

setContact(phbkContact, callbackFuntion) .......................................................................................... 14

removeContact(ctID, callbackFunction) ............................................................................................... 15

clearGroup(gpID, callbackFunction) .................................................................................................... 16

removeGroup(gpID, callbackFunction) ................................................................................................ 17

moveToDefault(ctID, callbackFuntion) ................................................................................................. 18

downloadPhonebook(phbkConfigure, flag, callbackFunction)............................................................. 19

setPhonebook(phbkConfigure, flag, callbackFunction) ....................................................................... 21

getMessage(id, callFunction) ............................................................................................................... 24

setNewMessage(num, account, text, flag, callbackFunction) .............................................................. 25

sendDraftMessage(id, callbackFunction)putportphbk ......................................................................... 26

removeMessage(id, flag, callbackFunction) ........................................................................................ 26

saveMessage(callbackFunction) ......................................................................................................... 27

getLastCall(type, callbackFunction) ..................................................................................................... 28

removeCall(id, flag, callbackFuntion) ................................................................................................... 28

saveCallHistory(callbackFunction) ....................................................................................................... 29

setUpgrade(upgradeConf, reboot, callbackFunction) .......................................................................... 30

setParameter(confItem[ ], callbackFuntion) ......................................................................................... 33

This manual is related to the following products: