Grandstream Networks, Inc.
XML Application Guide
Page 19 of 24
Last Updated: 3/2009
Valign
DisplayString
Attribute
Optional Top,
Center,
Bottom
Vertical Axis
Alignment
Wrap
DisplayString
Attribute
Optional
Boolean
Wrap the text to the
next line
X DisplayString
Body
Mandatory
Integer
Horizontal
starting
position depending
on halign
Y
DisplayString Body
Mandatory
Integer
Vertical starting
position depending
on valign
DisplayStr
DisplayString Body
Mandatory
String
A String to display
Softkeys Object XML Description
Name Location
Type Values
Comments
SoftKey Display
Body
Optional -
Programmable
Softkey
Label
Softkey body
Mandatory
String
Label for the index
Action
Softkey Body
Mandatory
Enum String
Local Action
Action Object XML Description
Name Location
Type Values
Comments
Action
Softkey Body
Mandatory
-
Action to be taken
UseURL
Action body
Choice
-
URL to call to
QuitApp
Action Body
Choice
-
Quit the current XML
application
Dial
Action Body
Choice
-
Dial a number
The remote server may specify actions for the local phone. These actions must be pre-defined
locally
before
they can be executed. Currently, the local action is to quit the current XML application.
Dial Object XML Description
Name Location
Type Values
Comments
Dial
Action Body
Choice
-
Dial a number
Account
Dial body
Mandatory
Integer
Account to be used
Number
Dial Body
Mandatory
Integer
Number to dial
Events Object XML Description
Name Location
Type Values
Comments
Event Events
body
Optional
- Describe
a
specific
event
Event Object XML Description
Name Location
Type Values
Comments
State Event
Body
Mandatory
Enumerated
string
The possible state of
the phone
Action
Event Body
Mandatory
-
Action to be taken if
phone changes to
that state
An action is triggered only if the phone
transition INTO
such state.