XML BASED DOWNLOADABLE PHONEBOOK GUIDE                                          Page 2 of 15 
                                                                 
 
INTRODUCTION 
 
The Grandstream GXP2130/GXP2140/GXP2160 support XML based downloadable phone book for users 
to share and maintain a phone book remotely easily.   
 
For the ease of efficient deployment and management, the XML phone book file could be stored on a web 
server for the phones to download. There are also applications that require a centralized directory server 
and have all phones synchronized with the server periodically.   
 
This document specifies the Grandstream XML based downloadable phone book configuration that will be 
applied to GXP2130/GXP2140/GXP2160  firmware version 1.0.0.17 or  newer.  An  example  XML  phone 
book file is provided at the end of this guide. Users could start a phone book by adding contacts to the 
example file or exporting the existed phone book file from phone's LCD. 
 
WHAT IS XML 
 
XML (eXtensible Markup Language)  is a markup language* for documents and applications containing 
structured information. This information contains both content (text, pictures, input box and etc.) and an 
indication of what role that content plays (e.g. contents in a section header are different from contents in a 
footnote). Almost all documents are structured. 
 
*A markup language is a mechanism to identify structures in a document. The XML specification defines a 
standard way to add markup to documents. 
 
WHY XML 
 
What benefits  does  XML  provide  to SIP  endpoints?  XML  enables  our  SIP phones  to serve  as output 
devices  and  allows  the  phones  to  interact  with  external  applications  in  a  flexible  and  programmable 
manner. 
 
XML API ARCHITECTURE 
 
The XML based phone book downloading for the GXP2130/GXP2140/GXP2160 could use HTTP or TFTP 
as the transport protocol. The following figure shows how it works via HTTP as an example. First, the 
GXP2130/GXP2140/GXP2160  initiates  the  HTTP GET Request  to  the  HTTP  server  and  waits  for  the 
response. Once the phone receives the response with XML content in BODY, it displays the information.