Grandstream Networks, Inc.
XML Application Guide
Page 3 of 24
Last Updated: 3/2009
W
HAT IS
XML?
XML is a markup language* for documents and applications containing structured information. This
information contains both content (words, pictures, etc.) and an indication of what role that content plays
(e.g. content in a section heading is different than content in a footnote, which is different than content in a
figure caption or content in a database table, etc.). Almost all documents have some structure.
*
A markup language is a mechanism to identify structures in a document. The XML specification defines a standard
way to add markup to documents.
W
HY
XML?
What benefits does XML provide to SIP endpoints? XML enables our SIP phones to serve as output devices
for many exciting applications. The XML infrastructure allows our phones to interact with external
applications in a flexible and programmable manner. Three specific XML applications supported by
Grandstream include
XML Custom Screen
,
XML Phonebook
, and
XML Survey Application
. The last
application is a custom application where the XML framework is an interactive, real-time implementation and
XML messaging is dynamic, depending on a configurable object set.
XML
A
RCHITECTURE
XML applications can be initiated in several ways.
1. The first architecture is if the phone initiates a request for a service. In this instance, the GXP will
receive a 200 OK with a XML document as its content.
.
2. The second architecture is in a closed network. An application in a closed network may exchange
information in the following manner: