Figure 1: gxp21xx/gxp14xx/gxp116x xml api via http – Grandstream XML Application Guide User Manual
Page 5
FIRMWARE VERSION 1.0.5.15 XML BASED DOWNLOADABLE PHONEBOOK GUIDE Page 5 of 15
or TFTP as the transport protocol. The following figure shows how it works via HTTP as an example. First,
the GXP21xx/GXP14xx/GXP116x 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.
Figure 1: GXP21xx/GXP14xx/GXP116x XML API via HTTP
Two types of XML API architecture are introduced below, depending on whether the transaction is via LAN
or Internet.
1. A transaction in the LAN may exchange information in the following manner. The
GXP21xx/GXP14xx/GXP116x sends a request to the web server via HTTP/HTTPS/TFTP and waits for
a response with the XML contents. The web server will handle the request and communicate with the
application server to get the information for the XML phone book content display. The following figure
shows downloading XML phone book file via HTTP within a LAN.
Figure 2: GXP21xx/GXP14xx/GXP116x XML API Structure 1
2. If the above Web Server accesses Internet, it could interact with outside web server and respond with
real-time content to the GXP21xx/GXP14xx/GXP116x.