Grandstream Networks, Inc.
XML Application Guide
Page 22 of 24
Last Updated: 3/2009
E
XAMPLE
XML
F
ILE
The following XML file syntax uses Dial action and Event elements and the Line Labels turned off. This
syntax will display this introduction screen:
XML
S
YNTAX
<GS_XML_Application>
<Display>
<Screen
showLineLabels=”false”>
<DisplayString>
<X>0</X>
<Y>0</Y>
<DisplayStr wrap = “true”> Hello. Please press Dial to start
dialing and hang up the phone to exit the application.
</DisplayStr>
</DisplayString>
</Screen>
</Display>
<SoftKeys>
<SoftKey>
<Label>Dial</Label>
<Action>
<Dial>
<Account>0</Account>
<Number>3051</Number>
</Dial>
</Action>
</SoftKey>
</SoftKeys>
<Events>
<Event>
<State>Onhook</State>
<Action>
<QuitApp/>
Thank You for taking the
Survey
Surveyor
Previous
Quit
Hello. Please press Dial to start
and hang up the phone to exit
the application.
Dial