beautypg.com

Grandstream GXV3140 GMI Guide User Manual

Page 23

background image

Grandstream Networks, Inc.

GMI HTML SDK and API Guide

Page 23 of 43

www.grandstream.com

Last Updated: 09/2010

td

>

<

td

onclick="GMIEngine.refresh

()

;"

width

=

"100px"

align

=

"center"

>

<

a

><

font

class

=

"softkey"

>

Refresh

font

>

a

>

td

>

<

td

width

=

"100px"

align

=

"center"

>

<

a

><

font

class

=

"softkey"

>

Call

font

>

a

>

td

>

<

td

onclick="GMIEngine.historypage

(-1)

;"

width

=

"100px"

align

=

"center"

>

<

a

><

font

class

=

"softkey"

>

Back

font

>

a

>

td

>

<

td

width

=

"40px"

>

td

>

tr

>

table

>

body

>

File: call-iframe.html

……

function

cb_call

(

result

)

//Callback function for initiating call

{

//Process call result here

//alert(result['Response']);

}

function

call

(

user

)

{

GMIEngine.call

(0

, user, cb_call

)

;

//Initiate Call

}

function

cb_launch

(

result

)

//Callback function for launching application

{

//Process launch result here

//alert(result['Response']);

}

function

launch

(

program

)

{

GMIEngine.launch

(

program, cb_launch

)

;

//launch application