Phonebook xml element, Root element <addressbook, Contact> element – Grandstream XML Application Guide User Manual
Page 12: Table 1: <addressbook> element

FIRMWARE VERSION 1.0.5.15 XML BASED DOWNLOADABLE PHONEBOOK GUIDE Page 12 of 15
PHONEBOOK XML ELEMENT
This section describes details of the XML element used in GXP21xx/GXP14xx/GXP116x XML phone book
file. Please note that the element name is case-sensitive when being used in XML document.
ROOT ELEMENT <AddressBook>
<AddressBook> is the root element of the XML document. This element is mandatory.
Table 1: <AddressBook> Element
Object
Position
Type
Values
Comments
AddressBook Root element
Mandatory
-
Root element of the XML document
Contact
Child element
Mandatory
-
Each contact is a phone book entry
<Contact> ELEMENT
<AddressBook>
<!-- Enter phone book information here -->
</AddressBook>
<Contact>
<LastName>
Enter last name here
</LastName>
<FirstName>
Enter first name here
</FirstName>
<Phone>
<phonenumber>
Enter phone number here
</phonenumber>
<accountindex>
Enter account index here
</accountindex>
</Phone>
<Groups>
<groupid>
Enter group ID here
</groupid>
</Groups>
</Contact>