Grandstream Networks GXV3240 Phonebook Manual
Grandstream Networks GXV3240 Phonebook Manual

Grandstream Networks GXV3240 Phonebook Manual

Ip multimedia phone for android
Hide thumbs Also See for GXV3240:

Advertisement

Grandstream Networks, Inc.
TM
GXV3240 IP Multimedia Phone for Android
XML Based Downloadable Phonebook Guide
GXV3240 XML Based Downloadable Phonebook Guide

Advertisement

Table of Contents
loading

Summary of Contents for Grandstream Networks GXV3240

  • Page 1 Grandstream Networks, Inc. GXV3240 IP Multimedia Phone for Android XML Based Downloadable Phonebook Guide GXV3240 XML Based Downloadable Phonebook Guide...
  • Page 2: Table Of Contents

    GXV3240 XML Based Downloadable Phone Book Guide Index INTRODUCTION ..................3 WHAT IS XML ............................3 WHY XML .............................. 3 XML API ARCHITECTURE ........................3 XML PHONEBOOK CONFIGURATION ............. 6 FIRMWARE ............................6 LCD CONFIGURATION ......................... 6 PROVISIONING ............................. 9 IMPORT/EXPORT PHONEBOOK ......................
  • Page 3 Table of Figures GXV3240 XML Based Downloadable Phone Book Guide Figure 1: GXV3240 XML API via HTTP ......................4 Figure 2: GXV3240 XML API Structure 1 ...................... 4 Figure 3: GXV3240 XML API Structure 2 ...................... 5 Figure 4: Contacts->Menu ..........................6 Figure 5: XML Phone Book Download ......................
  • Page 4: Gxv3240 Xml Based Downloadable Phonebook Guide

    The XML based phone book downloading for the GXV3240 could use HTTP or TFTP as the transport protocol. The following figure shows how it works via HTTP as an example. First, the GXV3240 initiates the HTTP GET Request to the HTTP server and waits for the response. Once the phone receives the...
  • Page 5: Figure 1: Gxv3240 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 GXV3240 sends a request to the web server via HTTP/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.
  • Page 6: Figure 3: Gxv3240 Xml Api Structure 2

    Figure 3: GXV3240 XML API Structure 2 As illustrated above, all the logic lies within the server side of the architecture. The GXV3240 phone just receives the XML documents and displays it accordingly. GXV3240 XML Based Downloadable Phonebook Guide Page 5 of 21...
  • Page 7: Xml Phonebook Configuration

    XML PHONEBOOK CONFIGURATION FIRMWARE Before the XML phone book is used on GXV3240, please make sure the firmware on the phone is upgraded to the latest version. Please refer to the following link for firmware upgrading information: http://www.grandstream.com/support/firmware LCD CONFIGURATION To download the XML phone book file to GXV3240, go to LCD Menu->Contacts and tap on...
  • Page 8: Figure 5: Xml Phone Book Download

     Delete the History If this option is set to "ON", all the existed entries in the GXV3240 Contacts will be automatically removed when the XML phone book is downloaded to the phone. The default value is "OFF". ...
  • Page 9 1. If "[:port]" is not specified, port 80 will be used as default for HTTP and Port 69 will be used as default for TFTP; 2. The GXV3240 will always look for the phone book file phonebook.xml for downloading if no file name is specified in the server path. Users could also change the phone book name if desired. In this case, the phone book file name needs to be specified in the server path.
  • Page 10: Provisioning

    IMPORT/EXPORT PHONEBOOK Besides downloading phone book file from remote server, users could also directly import phonebook.xml to the GXV3240 in the LCD from local storage/USB storage/SD card. If there is an existing phone book in GXV3240 XML Based Downloadable Phonebook Guide...
  • Page 11: Figure 6: Import And Export Phone Book Xml File

    Figure 6: Import and Export Phone Book XML File  Import Tap on "Import" in Contacts->Menu and the following figure will show. Figure 7: Import Phone Book XML File: Settings GXV3240 XML Based Downloadable Phonebook Guide Page 10 of 21...
  • Page 12: Figure 8: Import Phone Book Xml File: Choose File

    After selecting the file, tap on "OK" to start importing. Figure 9: Import Phone Book XML File: Import  Export Tap on "Export" in Contacts->Menu and the following figure will show. GXV3240 XML Based Downloadable Phonebook Guide Page 11 of 21...
  • Page 13: Figure 10: Export Phone Book Xml File: Settings

    Select "File encoding" format and "File Type" as "xml". Then tap on "Choose Directory" to specify the path where the phonebook.xml will be saved. Figure 11: Export Phone Book XML File: Choose Directory After specifying the path, tap on "OK" to start exporting. GXV3240 XML Based Downloadable Phonebook Guide Page 12 of 21...
  • Page 14: Figure 12: Export Phone Book Xml File: Export

    Figure 12: Export Phone Book XML File: Export GXV3240 XML Based Downloadable Phonebook Guide Page 13 of 21...
  • Page 15: Xml Phonebook Syntax

    Example: <?xml version="1.0" encoding="UTF-8"?> PHONEBOOK XML STRUCTURE An XML phone book example for GXV3240 can be found in the last section of this document. The main structure is represented as below. GXV3240 XML Based Downloadable Phonebook Guide Page 14 of 21...
  • Page 16: Phonebook Xml Element

    </Contact> </AddressBook> PHONEBOOK XML ELEMENT This section describes details of the XML element used in GXV3240 XML phone book file. Please note that the element name is case-sensitive when being used in XML document. GXV3240 XML Based Downloadable Phonebook Guide...
  • Page 17: Root Element

    Child element Optional Number To specify group ID. name Child element Mandatory String Group name. ringtones Child element Optional String The directory/path to the ring tone file stored in the GXV3240. GXV3240 XML Based Downloadable Phonebook Guide Page 16 of 21...
  • Page 18: Contact> Element

    Child element Optional Phone number information Mail Child element Optional String Specify Email address. It has attribute "type". type: Work/Home/Others Group Child element Optional number Specify group ID for this contact. GXV3240 XML Based Downloadable Phonebook Guide Page 17 of 21...
  • Page 19: Phone> Element

    Element Mandatory It has attribute "type". type: Work/Home/Mobile/Fax/Other phonenumber Child element Mandatory Number Phone number accountindex Child element Mandatory Number From 0 to 5 for account 1 to account 6 GXV3240 XML Based Downloadable Phonebook Guide Page 18 of 21...
  • Page 20: Xml Phonebook Example

    </pbgroup> <pbgroup> <id>3</id> <name>Friend</name> <ringtones/system/media/audio/ringtones/Bollywood.ogg</ringtones> </pbgroup> <Contact> <FirstName>John</FirstName> <LastName>Doe</LastName> <Primary>0</Primary> <Frequent>0</Frequent> <Ringtone>/system/media/audio/ringtones/Backroad.ogg</Ringtone> <Phone type="Work"> <phonenumber>8001</phonenumber> <accountindex>1</accountindex> </Phone> <Phone type="Home"> <phonenumber>3000001</phonenumber> <accountindex>0</accountindex> </Phone> <Phone type="Mobile"> <phonenumber>1234567890</phonenumber> <accountindex>0</accountindex> </Phone> <Mail type="Home">JohnDoe@mycompany.com</Mail> <Group>1</Group> GXV3240 XML Based Downloadable Phonebook Guide Page 19 of 21...
  • Page 21 <accountindex>0</accountindex> </Phone> <Mail type="Other">MichaelTsai@mywebsite.com</Mail> <Group>2</Group> </Contact> <Contact> <FirstName>Alex</FirstName> <LastName>Smith</LastName> <Primary>0</Primary> <Frequent>1</Frequent> <Ringtone>/system/media/audio/ringtones/bellcore-dr1.ogg</Ringtone> <Phone type="Work"> <phonenumber>8003</phonenumber> <accountindex>0</accountindex> </Phone> <Phone type="Home"> <phonenumber>3000002</phonenumber> <accountindex>0</accountindex> </Phone> <Phone type="Mobile"> <phonenumber>2345678888</phonenumber> <accountindex>0</accountindex> </Phone> <Mail type="Work">AlexSmith@myserver.com</Mail> <Group>3</Group> GXV3240 XML Based Downloadable Phonebook Guide Page 20 of 21...
  • Page 22 </Contact> </AddressBook> Note: 1. The maximum number of contacts supported on GXV3240 is 1000. Users could open Contacts->Options->Storage status to check the number of contacts. 2. The Ringtone setting in "Contact" has higher priority to the ringtone setting for "Group".

Table of Contents