Yealink Forums

Full Version: Not able to auto-provisioning an xml file to my T22p
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Dear sir,

i have the t22p sip phone with
Firmware Version 7.72.0.80
Hardware Version 5.0.0.61

i have set up a tftp server and in the root directory i put the
y000000000005.cfg file with the following. When the phone is boot my dhcp server uses the option 66 to tell to the phone where the cfg file is located. This works ok because the language and the time zone are changed successfully. My problem is the contact list that is never uploaded. Can anyone advise?

Thanks,

#!version:1.0.0.1
lang.wui = English
lang.gui = English
local_time.time_zone = +2
local_time.time_zone_name = Greece(Athens)
local_time.ntp_server1 = pool.ntp.org
local_time.ntp_server2 = europe.pool.ntp.org
local_time.summer_time = 1
local_time.dst_time_type = 1
local_time.start_time = 3/5/7/1
local_time.end_time = 10/5/7/1
local_time.interval = 1000
local_time.offset_time = 60
local_time.time_format = 1
local_time.date_format = 5
network.web_server_type = 1
[ Lang ]
path = /config/Setting/Setting.cfg
WebLanguage = English
ActiveWebLanguage = English
[ Time ]
path = /config/Setting/Setting.cfg
TimeZone = +2
TimeZoneName = Greece(Athens)
TimeServer1 = pool.ntp.org
TimeServer2 = europe.pool.ntp.org
Interval = 1000
SummerTime = 1
DSTTimeType = 1
StartTime = 3/5/7/1
EndTime = 10/5/7/1
OffSetTime = 60
TimeFormat = 1
DateFormat = 5
[ Webserver Type ]
path = /config/Advanced/Advanced.cfg
WebType = 1


################################################################################​#######
## Auto Provisioning ##
################################################################################​#######
#Configure the auto provision mode;
#0-Disabled (default), 1-Power on, 4-Repeatedly, 5-Weekly, 6-Power on + Repeatedly, 7-Power on + Weekly;
auto_provision.mode = 1

#Configure the URL of the auto provisioning server.
auto_provision.server.url = http://10.10.10.139:8080/contactData1.xml

#Configure the mode of downloading configuration files for the phone. The value is 0(default) or 1.
auto_provision.update_file_mode = 1

local_contact.data.url = http://10.10.10.139:8080/contactData1.xml

my contactData1.xml file is the following:
<root_group>
<group display_name="All Contacts" ring="" />
<group display_name="MyContact" ring="" />
<group display_name="Blacklist" ring="" />
</root_group>
<root_contact>
<contact display_name="Baa" office_number="4456" mobile_number="9999" other_number="" line="0" ring="Auto" group_id_name="All Contacts" />
<contact display_name="Jjj" office_number="23564" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="All Contacts" />
<contact display_name="aaaJjj" office_number="23564" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="All Contacts" />
<contact display_name="sdfsdfJjj" office_number="23564" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="All Contacts" />
<contact display_name="Jjjsfsd" office_number="23564" mobile_number="" other_number="" line="0" ring="Auto" group_id_name="MyContact" />
</root_contact>
Hi,
Given below is the configuration parameters:

-------------------------------------------------------------
#!version:1.0.0.1
lang.wui = English
lang.gui = English
local_time.time_zone = +2
local_time.time_zone_name = Greece(Athens)
local_time.ntp_server1 = pool.ntp.org
local_time.ntp_server2 = europe.pool.ntp.org
local_time.summer_time = 1
local_time.dst_time_type = 1
local_time.start_time = 3/5/7/1
local_time.end_time = 10/5/7/1
local_time.interval = 1000
local_time.offset_time = 60
local_time.time_format = 1
local_time.date_format = 5
network.web_server_type = 1
[ Lang ]
path = /config/Setting/Setting.cfg
WebLanguage = English
ActiveWebLanguage = English
[ Time ]
path = /config/Setting/Setting.cfg
TimeZone = +2
TimeZoneName = Greece(Athens)
TimeServer1 = pool.ntp.org
TimeServer2 = europe.pool.ntp.org
Interval = 1000
SummerTime = 1
DSTTimeType = 1
StartTime = 3/5/7/1
EndTime = 10/5/7/1
OffSetTime = 60
TimeFormat = 1
DateFormat = 5
[ Webserver Type ]
path = /config/Advanced/Advanced.cfg
WebType = 1

#Configure the auto provision mode;
#0-Disabled (default), 1-Power on, 4-Repeatedly, 5-Weekly, 6-Power on + Repeatedly, 7-Power on + Weekly;
auto_provision.mode = 1

#Configure the URL of the auto provisioning server.
#Is the configuration CFG file server URL, not the contact XML file server URL

auto_provision.server.url =

#Configure the mode of downloading configuration files for the phone. The value is 0(default) or 1.
auto_provision.update_file_mode = 1

local_contact.data.url = http://10.10.10.139:8080/contactData1.xml
----------------------------------------------------------------------------------------------

Given below is the contact.XML templat file:

ftp://Jim:v2R88xcL@ftp.yealink.com/ftp/contact.xml


Hope this helps!
Thanks Jim for your help. It works ok now.
Reference URL's