beautypg.com

Introduction, What is xml, Why xml – Grandstream XML Application Guide User Manual

Page 4: Xml api architecture

background image

FIRMWARE VERSION 1.0.5.15 XML BASED DOWNLOADABLE PHONEBOOK GUIDE Page 4 of 15

INTRODUCTION

The Grandstream GXP21xx/GXP14xx/GXP116x supports XML based downloadable phone book for users

to share and maintain a phone book via the web easily. Besides LDAP support and manually editing from

LCD or Web GUI, the GXP21xx/GXP14xx/GXP116x offers this XML API as a user-friendly

download/upload method via the phone's web GUI.

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 GXP21xx/GXP14xx/GXP116x firmware version 1.0.5.15. 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

by exporting the existing phone book file from phone's Web GUI.

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 is 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. The GXP21xx/GXP14xx/GXP116x supports three specific XML API: XML Custom Screen, XML

Phone Book, and XML Application (GXP21xx only).

XML API ARCHITECTURE

The XML based phone book downloading for the GXP21xx/GXP14xx/GXP116x could use HTTP/HTTPS