Contact> element, Table 3: <contact> element – Grandstream GXP2200 XML Phonebook Guide User Manual
Page 18

FIRMWARE VERSION 1.0.3.2 XML BASED DOWNLOADABLE PHONEBOOK GUIDE Page 17 of 21
<Contact> ELEMENT
Table 3: <Contact> Element
Object
Position
Type
Values
Comments
Contact
Element
Mandatory
-
Each contact is an entry
FirstName
Child element Optional
String
Specify first name and last name. At least
one of them has to be specified.
LastName
Child element Optional
String
Primary
Child element Optional
Number
Specify the default phone number.
For example, the contact has 3 different
phone numbers saved. If <Primary> value
is 0, the first number will be used as
default when dialing out. If <Primary>
value is 1, the second number will be used
as default when dialing out.
Frequent
Child element Optional
Number
0: Default
1: Mark this contact as frequent/favorite
Ringtone
Child element Optional
String
The directory/path to the ring tone file
stored in the GXP2200.
Phone
Child element Optional
-
Phone number information
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.
<Contact>
<FirstName>
Enter first name here
</FirstName>
<LastName>
Enter last name here
</LastName>
<Primary>
Primary number or not
</Primary>
<Frequent>
Favorite contact or not
</Frequent>
<Ringtone>
Enter ring tone URL here
</Ringtone>
<Phone type="
Specify phone type here
">
<phonenumber>
Enter phone number here
</phonenumber>
<accountindex>
Enter account index here
</accountindex>
</Phone>
<Mail type="
Specify mail type here
">
Enter Email address here
</Mail>
<Group>
Enter group ID here
</Group>
</Contact>