beautypg.com

Gmiengine.gotourl(), Gmiengine.call(), 3 gmiengine.gotourl() – Grandstream GXV3140 GMI Guide User Manual

Page 5: 4 gmiengine.call()

background image

Grandstream Networks, Inc.

GMI HTML SDK and API Guide

Page 5 of 43

www.grandstream.com

Last Updated: 09/2010

go forward.

For example, the user visited these web pages in this order:

www.google.com

,

www.yahoo.com

and

www.baidu.com

. When the

user is browsing the webpage

www.baidu.com

, the function call to

GMIEngine.historypage(-1) will allow the user to return to the last

page visited (returning to

www.yahoo.com

). At this point, the last

page visited will be

www.google.com

, if the function call

GMIEngine.historypage(-1) is called again, the user will return to

www.google.com

. If the num specified is a non-existent record,

nothing will take effect.

Return Value:

None

Additional Description:

This API function can be used to implement the “back” function for

the softkey, allowing users to re-visit the upper level menus.

4.3 GMIEngine.gotourl()

Function:

GMIEngine.gotourl(url)

Purpose:

Go to the URL address specified in the url parameter.

Parameter and Return

Value:

Parameter:

url – Can be any URL address.

Return Value:

None

Additional Description:

This API function is used to implement a hyperlink.

4.4 GMIEngine.call()

Function:

GMIEngine.call(acct, number, cb_call)

Purpose:

Used to call a specified number from a specified account.

Parameter and Return Parameter: