Object
Position
Mandatory Type
Description
FirstName
Child
element
Either
FirstName
or the
LastName
element is
present
String
The first name of the contact.
Phone
Child
element
Yes
-
The phone number and the account
index.
Groups
Child
element
No
-
The group ID of the contact.
<Phone> element
Object
Position
Mandatory Type
Description
Phone
Element
Yes
-
Root element of the XML
document.
phonenum
ber
Child
element
Yes
int
The phone number of the contact.
accountind
ex
Child
element
Yes
int
The account index.
<Groups> element
Object
Position
Mandatory Type
Description
Groups
Element
No
-
The group ID of the contact.
groupid
Child
element
Yes
int
Valid values are from 0 to 9, where:
• 0: Family
• 1: Friends
• 2: Work
The values 3 to 9 are the user-
entered values.
XML phone book example
<?xml version="1.0" encoding="UTF-8"??\>
<AddressBook>
<Contact>
<LastName>Doe</LastName>
<FirstName>John</FirstName>
<Phone>
<phonenumber>8000</phonenumber>
<accountindex>1</accountindex>
</Phone>
<Groups>
<groupid>0</groupid>
Managing the phone book
Administering Avaya E129 SIP Deskphone
April 2014 57