Gmiengine.message(), 9 gmiengine.message() – Grandstream GXV3140 GMI Guide User Manual

Page 10

Advertising
background image

Grandstream Networks, Inc.

GMI HTML SDK and API Guide

Page 10 of 43

www.grandstream.com

Last Updated: 09/2010

Video Setting--"video"

FXO Setting--"fxo"(This is only applicable to phones to FXO

support)

Personalize--"personalize"

Softkeys--"softkey_def"

Screen Saver--"screen_display"

RSS News--"rssnews"

Screen Layout--"screen_layout"

Language--"language"

My Profile--"myprofile"

Tones--"tones"

Horoscopes--"horoscope"

Info--"status"

cb_launch— Callback function after the launch request is sent.

The function prototype is function cb_launch(result), the

parameter “result” is the response to the launch request

result is a text string in json format. For example, {"Response":"

Success", ","Message": "

Launch Originate" } or {"Response":

"ERROR", ","Message": "

Program can't be null"");

“Response” returns the result. There are two possibilities-

“Success” or “ERROR”, “Message” returns the specific error

message.

Return Value:

None

Additional Description:

None

4.9 GMIEngine.message()

Function:

GMIEngine.message(acct, user, msg, cb_message)

Advertising