What is gmi, Gmi working model, 1 what is gmi – Grandstream GXV3140 GMI Guide User Manual
Page 2: 2 gmi working model

Grandstream Networks, Inc.
GMI HTML SDK and API Guide
Page 2 of 43
www.grandstream.com
Last Updated: 09/2010
1 What is GMI?
GMI (Grandstream Manager Interface) is a management API developed by
Grandstream Networks. It is designed for our IP Multimedia phones, and allows partners
to develop customized applications on the phone.
GMI supports standard HTML/CSS/Javascript code, so that users can use these
dynamic web page development languages to develop their customized application. GMI
will display the application on the phone based on the pages generated.
Additionally, GMI provides several basic API functions (packaged in Javascript) so
that users can call the existing applications on the multimedia phone or obtain the phone
status etc… This allows users with basic web application programming skills to develop
their customized application on the multimedia phone easily, without learning a new
programming language. All that is required is for the user to understand how the GMI
works and how to use these simple APIs to interact with the phone.
2 GMI Working Model
The GMI working model is a cross-domain model; it must interact with servers in two
domains to implement the functions needed.
Interact with the user’s web server: Send page request, obtain page content and
remodel it for display as an application on the multimedia phone.
Interact with the GMI server on the phone:Control the phone behavior (e.g. initiate
a call, launch the phonebook application etc...) by calling the Javascript packaged
GMI interface.
Therefore, by interacting with the user’s web server, it obtains the user-defined
display content, style and data for the customized application and redraw it for display
on the phone (at this point, it is similar to a browser). When any action from the phone
is needed (e.g. making a call, launching some applications on the phone etc…), it is
then required to control the phone behavior through calling the GMI API functions.
Refer to the GMI Working Model below: