Directory
324
Example: Using EDK Macro Strings as the Contact Number
XML Conversion Table
Customizing Local Contact File
1.
Open the local contact file.
2.
To add a group, add <group display_name="" ring=""/ > to the file. Each starts on a new line.
3.
To add a contact, add <contact display_name="" office_number="" mobile_number="" other_number="" line=""
ring="" group_id_name="" default_photo="" auto_divert = “”/ > to the file. Each starts on a new line.
4.
Specify the values within double quotes.
For example:
<group display_name="Friend" ring="Splash.wav"/ >
<contact display_name="Lily"office_number="1020" mobile_number="1021" other_number="1112" line="1"
ring="Ring1.wav" group_id_name="Friend" default_photo="Lily_photo.jpg" auto_divert = “2022”/ >
<contact display_name="Tom" office_number="2020" mobile_number="2021" other_number="2112" line="2"
ring="Ring1.wav" group_id_name="Friend" default_photo=" Resource:icon_family_b.png" auto_divert = “2023”
/ >
5.
Save the changes and place this file to the provisioning server.
Local Contact Files and Resource Upload
You can upload local contact files to add multiple contacts at a time or upload the contact resource, such as contact
avatar and icon pictures.
The following table lists the parameters you can use to upload the local contact files and resource.
Parameter
local_contact.data.url
<y0000000000xx>.cfg
Description
It configures the access URL of the local contact file (*.xml).
Example
:
local_contact.data.url = http://192.168.10.25/contact.xml
Note
: If "static.auto_provision.local_contact.backup.enable" is set to 1 (Enabled), the contacts in the
contact file “contact.xml” downloaded from the provisioning server do not take effect.
Permitted
Values
URL within 511 characters
Default
Blank
Web UI
Directory > Local Directory > Import
Parameter
local_contact.data.delete
<y0000000000xx>.cfg
Description
It deletes all local contacts.
Example
:
local_contact.data.delete = http://localhost/all
Permitted
Values
String
Default
Blank
Parameter
local_contact.photo.url
<y0000000000xx>.cfg
Description
It configures the access URL of a contact avatar file.
The format of the contact avatar must be *.png, *.jpg, *.bmp, *.jpeg.
The contact avatar file should be uploaded to the provisioning server in advance.
Example
: