Update Yealink templates add new variables yealink_vlan_enable, yealink_emergency_number, yealink_lock_enable, yealink_lock_pin, yealink_lock_timeout, yealink_lock_key_type, yealink_backlight_time and correct the wallpaper and firmware variables for some of the phones.

This commit is contained in:
markjcrane
2016-09-20 13:53:53 -06:00
parent 72beb086cb
commit 48d3f317e0
16 changed files with 445 additions and 627 deletions
@@ -38,55 +38,18 @@ network.pc_port.speed_duplex =
network.pc_port.dhcp_server = 1
{if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if}
{if isset($vlan_port_id) }
#######################################################################################
## VLAN ENABLED ##
## VLAN ##
#######################################################################################
network.vlan.internet_port_enable = 1
{if isset($yealink_vlan_enable)}network.vlan.internet_port_enable = {$yealink_vlan_enable}{else}network.vlan.internet_port_enable = 0{/if}
#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1.
#Require reboot;
network.vlan.internet_port_vid = {$vlan_port_id}
network.vlan.internet_port_vid = {$yealink_vlan_id}
#Configure the VLAN priority, it ranges from 0 (default) to 7.
#Require reboot;
network.vlan.internet_port_priority =
#Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled;
#Require reboot;
network.vlan.pc_port_enable = 1
#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1.
#Require reboot;
network.vlan.pc_port_vid = {$vlan_pc_port_id}
#Configure the VLAN priority, it ranges from 0 (default) to 7.
#Require reboot;
network.vlan.pc_port_priority =
#Enable or disable the DHCP to obtain the information of the VLAN; 0-Disabled; 1-Enabled (default);
#Require reboot;
network.vlan.dhcp_enable =
#Configure the DHCP option to obtain the information of the VLAN. It ranges from 0 to 255.
#Multiple options separated by a comma. It supports up to 5 options in all.
#Require reboot;
network.vlan.dhcp_option =
{else}
#######################################################################################
## VLAN ENABLED ##
#######################################################################################
network.vlan.internet_port_enable = 0
#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1.
#Require reboot;
network.vlan.internet_port_vid =
#Configure the VLAN priority, it ranges from 0 (default) to 7.
#Require reboot;
network.vlan.internet_port_priority =
#Configure the VLAN priority, it ranges from 0 (default) to 7.
#Require reboot;
network.vlan.internet_port_priority = {$yealink_vlan_cos}
#Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled;
#Require reboot;
@@ -109,8 +72,6 @@ network.vlan.dhcp_enable =
#Require reboot;
network.vlan.dhcp_option =
{/if}
#######################################################################################
## WEB Port ##
#######################################################################################
@@ -441,42 +402,51 @@ lang.wui =
lang.gui = English
#######################################################################################
## Time ##
## Time Settings ##
#######################################################################################
#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8.
#The default time zone name is China(Beijing).
#local_time.time_zone = +8
#local_time.time_zone_name = China(Beijing)
local_time.time_zone = {$yealink_time_zone}
local_time.time_zone_name = {$yealink_time_zone_name}
#Configure the domain name or the IP address of the NTP server. The default value is cn.pool.ntp.org.
local_time.ntp_server1 = {$ntp_server_primary}
local_time.ntp_server2 = {$ntp_server_secondary}
#Configure the update interval (in seconds) when using the NTP server. The default value is 1000.
local_time.interval =
local_time.interval = {$yealink_time_update}
#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default);
local_time.summer_time =
#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default);
local_time.summer_time = {$yealink_dst_enable}
#Configure the DST type when the DST feature is enabled; 0-By Date (default), 1-By Week;
local_time.dst_time_type =
local_time.dst_time_type = {$yealink_dst_type}
#Configure the start time of DST. The default value is 1/1/0.
#If the DST type is configured as By Date, the value format is Month/Day/Hour. For example, the value 5/20/10 means the start time is at 10:00 on May 20.
#If the DST type is configured as By Week, the value format is Month/Day of Week/Day of Week Last in Month/Hour of Day.
#For example, the value 1/4/2/5 means the start time is at 5 o'clock on Tuesday of the 4th week in January.
local_time.start_time =
local_time.start_time = {$yealink_time_zone_start_time}
#Configure the end time of DST. The default value is 12/31/23. The value format is the same to the start time.
local_time.end_time =
local_time.end_time = {$yealink_time_zone_end_time}
#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is 60.
local_time.offset_time =
#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is blank.
local_time.offset_time = {$yealink_offset_time}
#Configure the time format; 0-12 Hour, 1-24 Hour (default);
local_time.time_format =
local_time.time_format = {$yealink_time_format}
#Configure the date format; 0-WWW MMM DD (default), 1-DD-MMM-YY, 2-YYYY-MM-DD, 3-DD/MM/YYYY, 4-MM/DD/YY, 5-DD MMM YYYY, 6-WWW DD MMM;
local_time.date_format =
local_time.date_format = {$yealink_date_format}
#Enable or disable the DHCP Time; 0-Disabled (default), 1-Enabled;
local_time.dhcp_time =
local_time.dhcp_time = {$yealink_dhcp_time}
#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0.
local_time.manual_time_enable = 0
#######################################################################################
@@ -860,6 +830,15 @@ features.pickup.blf_audio_enable =
#######################################################################################
## Phone Setting ##
#######################################################################################
#Enable or disable the photo display on handset 0 = disable, 1= enable
phone_setting.contact_photo_display.enable = 0
#Enable or disable the called party information display 0 = disable 1 = enable
phone_setting.called_party_info_display.enable = 1
#Configure the call information display method 0 = Name + Number, 1 = Number + Name, 2 = Name, 3 = Number, 4 = Full contact info
phone_setting.call_info_display_method = 2
#Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4.
phone_setting.inter_digit_time =
@@ -878,7 +857,7 @@ phone_setting.show_code403 =
phone_setting.dialnow_delay =
#Configure the emergency number, each separated by a comma. The default value is 112,911,110.
phone_setting.emergency.number =
phone_setting.emergency.number = {$yealink_emergency_number}
#Configure the using mode of the headset key. The value is 0 or 1(default).
phone_setting.page_tip =
@@ -918,21 +897,21 @@ phone_setting.blf_list_sequence_type =
#######################################################################################
## Key Lock ##
#######################################################################################
#Configure the keypad lock type; 0-Disabled (default), 1-Enable
phone_setting.lock =
phone_setting.lock = {$yealink_lock_enable}
#Configure the unlock password for the phone. The default value is 123.
phone_setting.phone_lock.unlock_pin =
phone_setting.phone_lock.unlock_pin = {$yealink_lock_pin}
#Configures the interval (in seconds) to automatically lock the IP phone. It ranges from 0 to 3600, the default value is 0.
phone_setting.phone_lock.lock_time_out =
phone_setting.phone_lock.lock_time_out = {$yealink_lock_timeout}
#Configure the keypad lock type;0-All Keys(default), 1-Function Key, 2-Menu Key
phone_setting.phone_lock.lock_key_type =
phone_setting.phone_lock.lock_key_type = {$yealink_lock_key_type}
#Configure the backlight time (in seconds). The valid values are: 0-Always on, 1-Always off, 15-15s, 30-30s (default), 60-60s, 120-120s.
phone_setting.backlight_time =
phone_setting.backlight_time = {$yealink_backlight_time}
#######################################################################################
## Wallpaper ##
@@ -1177,7 +1156,6 @@ linekey.20.type =
linekey.20.xml_phonebook =
linekey.20.label =
linekey.21.line =
linekey.21.value =
linekey.21.extension =
@@ -1185,7 +1163,6 @@ linekey.21.type =
linekey.21.xml_phonebook =
linekey.21.label =
linekey.22.line =
linekey.22.value =
linekey.22.extension =
@@ -1246,13 +1223,13 @@ linekey.27.label =
#programablekey.x.history_type =
#programablekey.x.label--This parameter is only available to the key 1 to key 4.
programablekey.1.type =
programablekey.1.line =
programablekey.1.value =
programablekey.1.xml_phonebook =
programablekey.1.history_type =
programablekey.1.label =
programablekey.1.pickup_value =
#programablekey.1.type =
#programablekey.1.line =
#programablekey.1.value =
#programablekey.1.xml_phonebook =
#programablekey.1.history_type =
#programablekey.1.label =
#programablekey.1.pickup_value =
##########################################################################################
## Expansion Key ##
@@ -1471,54 +1448,6 @@ gui_lang.url =
#gui_lang.delete = http://localhost/all, delete all the customized languages.
gui_lang.delete =
#######################################################################################
## Time Settings ##
#######################################################################################
#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8.
#The default time zone name is China(Beijing).
#local_time.time_zone = +8
#local_time.time_zone_name = China(Beijing)
local_time.time_zone = {$yealink_time_zone}
local_time.time_zone_name = {$yealink_time_zone_name}
#Configure the domain name or the IP address of the NTP server. The default value is cn.pool.ntp.org.
local_time.ntp_server1 = {$ntp_server_primary}
local_time.ntp_server2 = {$ntp_server_secondary}
#Configure the update interval (in seconds) when using the NTP server. The default value is 1000.
local_time.interval =
#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default);
local_time.summer_time =
#Configure the DST type when the DST feature is enabled; 0-By Date (default), 1-By Week;
local_time.dst_time_type =
#Configure the start time of DST. The default value is 1/1/0.
#If the DST type is configured as By Date, the value format is Month/Day/Hour. For example, the value 5/20/10 means the start time is at 10:00 on May 20.
#If the DST type is configured as By Week, the value format is Month/Day of Week/Day of Week Last in Month/Hour of Day.
#For example, the value 1/4/2/5 means the start time is at 5 o'clock on Tuesday of the 4th week in January.
local_time.start_time = {$yealink_time_zone_start_time}
#Configure the end time of DST. The default value is 12/31/23. The value format is the same to the start time.
local_time.end_time = {$yealink_time_zone_end_time}
#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is blank.
local_time.offset_time = {$yealink_offset_time}
#Configure the time format; 0-12 Hour, 1-24 Hour (default);
local_time.time_format = {$yealink_time_format}
#Configure the date format; 0-WWW MMM DD (default), 1-DD-MMM-YY, 2-YYYY-MM-DD, 3-DD/MM/YYYY, 4-MM/DD/YY, 5-DD MMM YYYY, 6-WWW DD MMM;
local_time.date_format = {$yealink_date_format}
#Enable or disable the DHCP Time; 0-Disabled (default), 1-Enabled;
local_time.dhcp_time = {$yealink_dhcp_time}
#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0.
local_time.manual_time_enable =
#######################################################################################
## Trusted Certificates ##
#######################################################################################