beautypg.com

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

Page 4: Xml api architecture

background image

GXV3275 XML Based Downloadable Phonebook Guide

Page 3 of 21

INTRODUCTION

The Grandstream GXV3275 supports XML based downloadable phone book for users to share and

maintain a phone book remotely with ease. Besides directly importing vcard/csv format contacts, loading

contacts from synced-up accounts and manually editing from LCD, the GXV3275 offers this XML API as a

user-friendly download method via the phone's LCD and web UI.

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 GXV3275 firmware version 1.0.1.20 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 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.

XML API ARCHITECTURE

The XML based phone book downloading for the GXV3275 could use HTTP or TFTP as the transport

protocol. The following figure shows how it works via HTTP as an example. First, the GXV3275 initiates the

HTTP GET Request to the HTTP server and waits for the response. Once the phone receives the

This manual is related to the following products: