From cfd6ce9033a23005c52dba953faeefb412189d09 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 8 Apr 2014 01:37:47 +0000 Subject: [PATCH] Yealink remove some of the trailing white spaces. Fix the power led light for voicemail. --- .../provision/yealink/t20p/y000000000007.cfg | 22 ++++++------ .../provision/yealink/t26p/y000000000004.cfg | 34 +++++++++---------- .../provision/yealink/t42g/y000000000029.cfg | 20 +++++------ .../provision/yealink/t42g/{$mac}.cfg | 4 +-- .../provision/yealink/t46g/y000000000028.cfg | 20 +++++------ .../provision/yealink/t48g/y000000000035.cfg | 20 +++++------ 6 files changed, 54 insertions(+), 66 deletions(-) diff --git a/resources/templates/provision/yealink/t20p/y000000000007.cfg b/resources/templates/provision/yealink/t20p/y000000000007.cfg index d053dba4a6..759f45e645 100644 --- a/resources/templates/provision/yealink/t20p/y000000000007.cfg +++ b/resources/templates/provision/yealink/t20p/y000000000007.cfg @@ -8,7 +8,7 @@ #Configure the WAN port type; 0-DHCP (default), 1-PPPoE, 2-Static IP Address; #Require reboot; -network.internet_port.type = +network.internet_port.type = #Configure the static IP address, subnet mask, gateway and DNS server. #Require Reboot; @@ -16,7 +16,7 @@ network.internet_port.ip = network.internet_port.mask = network.internet_port.gateway = network.primary_dns= -network.secondary_dns = +network.secondary_dns = #Configure the username and password for PPPOE connection. #Require reboot; @@ -25,7 +25,7 @@ network.pppoe.password = #Configure the PC port type; 0-Router, 1-Bridge (default); #Require reboot; -network.bridge_mode = +network.bridge_mode = #Configure the IP address and mask when the PC port is configured as Router. #Require reboot; @@ -42,27 +42,27 @@ network.dhcp.end_ip = #Enable or disable the VLAN of WAN port; 0-Disabled (default), 1-Enabled; #Require reboot; -network.vlan.internet_port_enable = +network.vlan.internet_port_enable = #Configure the VLAN ID, it ranges from 0 to 4094, the default value is 1. #Require reboot; -network.vlan.internet_port_vid = +network.vlan.internet_port_vid = #Configure the VLAN priority, it ranges from 0 (default) to 7. -#Require reboot; -network.vlan.internet_port_priority = - +#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 = +network.vlan.pc_port_enable = #Configure the VLAN ID, it ranges from 0 to 4094, the default value is 1. #Require reboot; -network.vlan.pc_port_vid = +network.vlan.pc_port_vid = #Configure the VLAN priority, it ranges from 0 (default) to 7. #Require reboot; -network.vlan.pc_port_priority = +network.vlan.pc_port_priority = #Configure the access type of the web server; 0-Disabled, 1-HTTP & HTTPS (default), 2-HTTP Only, 3-HTTPS Only; #Require reboot; diff --git a/resources/templates/provision/yealink/t26p/y000000000004.cfg b/resources/templates/provision/yealink/t26p/y000000000004.cfg index ca73e298ee..f96e35edbf 100644 --- a/resources/templates/provision/yealink/t26p/y000000000004.cfg +++ b/resources/templates/provision/yealink/t26p/y000000000004.cfg @@ -8,13 +8,13 @@ #Configure the WAN port type; 0-DHCP (default), 1-PPPoE, 2-Static IP Address; #Require reboot; -network.internet_port.type = +network.internet_port.type = #Configure the static IP address, subnet mask, gateway and DNS server. #Require Reboot; -network.internet_port.ip = +network.internet_port.ip = network.internet_port.mask = -network.internet_port.gateway = +network.internet_port.gateway = network.primary_dns= network.secondary_dns = @@ -25,7 +25,7 @@ network.pppoe.password = #Configure the PC port type; 0-Router, 1-Bridge (default); #Require reboot; -network.bridge_mode = +network.bridge_mode = #Configure the IP address and mask when the PC port is configured as Router. #Require reboot; @@ -42,27 +42,27 @@ network.dhcp.end_ip = #Enable or disable the VLAN of WAN port; 0-Disabled (default), 1-Enabled; #Require reboot; -network.vlan.internet_port_enable = +network.vlan.internet_port_enable = #Configure the VLAN ID, it ranges from 0 to 4094, the default value is 1. #Require reboot; -network.vlan.internet_port_vid = +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 = - #Enable or disable the VLAN of PC port; 0-Disabled (default), 1-Enabled; #Require reboot; -network.vlan.pc_port_enable = +network.vlan.pc_port_enable = #Configure the VLAN ID, it ranges from 0 to 4094, the default value is 1. #Require reboot; -network.vlan.pc_port_vid = +network.vlan.pc_port_vid = #Configure the VLAN priority, it ranges from 0 (default) to 7. #Require reboot; -network.vlan.pc_port_priority = +network.vlan.pc_port_priority = #Configure the access type of the web server; 0-Disabled, 1-HTTP & HTTPS (default), 2-HTTP Only, 3-HTTPS Only; #Require reboot; @@ -257,7 +257,7 @@ autoprovision.2.com_aes = autoprovision.2.mac_aes = ####################################################################################### -## Phone Features ## +## Phone Features ## ####################################################################################### #Enable or disable the phone to escape the pound key as percent sign followed by 23 when dialing out; 0-Disabled, 1-Enabled (default); @@ -682,7 +682,7 @@ action_url.transfer_finished = action_url.transfer_failed = ####################################################################################### -## Language Settings ## +## Language Settings ## ####################################################################################### #Specify the web language, the valid values are: English, Chinese_S, Turkish, Portuguese, Spanish, Italian, French, Russian, Deutsch and Czech. @@ -693,7 +693,7 @@ lang.wui = lang.gui = ####################################################################################### -## Time Settings ## +## Time Settings ## ####################################################################################### #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. @@ -741,7 +741,7 @@ local_time.dhcp_time = local_time.manual_time_enable = ####################################################################################### -## Hot Desking ## +## Hot Desking ## ####################################################################################### #Enable or disable the phone to show the following items on the login wizard during startup; 0-Disabled, 1-Enabled; #hotdesking.startup_register_name_enable = 0 (default) diff --git a/resources/templates/provision/yealink/t42g/y000000000029.cfg b/resources/templates/provision/yealink/t42g/y000000000029.cfg index a2adeca539..63a320c86f 100644 --- a/resources/templates/provision/yealink/t42g/y000000000029.cfg +++ b/resources/templates/provision/yealink/t42g/y000000000029.cfg @@ -573,13 +573,8 @@ features.call_completion_enable = #Enable or disable the phone to dial the IP address directly; 0-Disabled, 1-Enabled (default); features.direct_ip_call_enable = - #Configure the power Indicator LED to turn on or turn off; 0-On (default), 1-Off; -{if isset($yealink_power_led_on) } -features.power_led_on = {$yealink_power_led_on} -{else} -features.power_led_on = -{/if} +features.power_led_on = 1 #Configure the overtime (in minutes) of logging web user interface. It ranges from 1 to 1000, the default value is 5. features.relog_offtime = @@ -590,7 +585,7 @@ features.ringer_device.is_use_headset = #Enable or disable to enter the password when long pressing the OK key to reset to factory; 0-Disabled (default), 1-Enabled; #features.factory_pwd_enable = 1 -features.idle_talk_power_led_flash_enable = +features.idle_talk_power_led_flash_enable = #Enbale or disable the server to release the BLA line automatically; 0-Disabled (default), 1-Enabled; features.auto_release_bla_line = @@ -628,16 +623,16 @@ features.blf_and_callpark_idle_led_enable = 0 ## Features Intercom ## ####################################################################################### #Enable or disable the intercom feature; 0-Disabled, 1-Enabled (default); -features.intercom.allow = +features.intercom.allow = #Enable or disable the phone to mute the Speaker when answering an intercom call; 0-Disabled (default), 1-Enabled; -features.intercom.mute = +features.intercom.mute = #Enable or disable the phone to play the intercom warning tone; 0-Disabled, 1-Enabled (default); -features.intercom.tone = +features.intercom.tone = #Enable or disable the phone to barge in an intercom call; 0-Disabled (default), 1-Enabled; -features.intercom.barge = +features.intercom.barge = ####################################################################################### ## Features Hotline ## @@ -803,7 +798,8 @@ phone_setting.custom_softkey_enable = #Configure the using mode of the headset key. The value is 0 or 1(default). phone_setting.headsetkey_mode = -phone_setting.mail_power_led_flash_enable = 0 +#Enable or disabled mail power led flash. 0-Disabled, 1-Enabled. +phone_setting.mail_power_led_flash_enable = 1 ####################################################################################### ## Phone Setting UI ## diff --git a/resources/templates/provision/yealink/t42g/{$mac}.cfg b/resources/templates/provision/yealink/t42g/{$mac}.cfg index 0c670c81dd..56252aa3ec 100644 --- a/resources/templates/provision/yealink/t42g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42g/{$mac}.cfg @@ -2574,11 +2574,11 @@ voice_mail.number.6 = *97 ## ¡°X¡± ranges from 1 to 6; ##account.X.subscribe_mwi = -account.6.subscribe_mwi = 0 +account.6.subscribe_mwi = 1 account.6.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.6.subscribe_mwi_to_vm = 0 +account.6.subscribe_mwi_to_vm = 1 account.6.subscribe_acd_expires= 3600 diff --git a/resources/templates/provision/yealink/t46g/y000000000028.cfg b/resources/templates/provision/yealink/t46g/y000000000028.cfg index 0423397e0a..115f2b6f76 100644 --- a/resources/templates/provision/yealink/t46g/y000000000028.cfg +++ b/resources/templates/provision/yealink/t46g/y000000000028.cfg @@ -573,13 +573,8 @@ features.call_completion_enable = #Enable or disable the phone to dial the IP address directly; 0-Disabled, 1-Enabled (default); features.direct_ip_call_enable = - #Configure the power Indicator LED to turn on or turn off; 0-On (default), 1-Off; -{if isset($yealink_power_led_on) } -features.power_led_on = {$yealink_power_led_on} -{else} -features.power_led_on = -{/if} +features.power_led_on = 1 #Configure the overtime (in minutes) of logging web user interface. It ranges from 1 to 1000, the default value is 5. features.relog_offtime = @@ -590,7 +585,7 @@ features.ringer_device.is_use_headset = #Enable or disable to enter the password when long pressing the OK key to reset to factory; 0-Disabled (default), 1-Enabled; #features.factory_pwd_enable = 1 -features.idle_talk_power_led_flash_enable = +features.idle_talk_power_led_flash_enable = #Enbale or disable the server to release the BLA line automatically; 0-Disabled (default), 1-Enabled; features.auto_release_bla_line = @@ -628,16 +623,16 @@ features.blf_and_callpark_idle_led_enable = 0 ## Features Intercom ## ####################################################################################### #Enable or disable the intercom feature; 0-Disabled, 1-Enabled (default); -features.intercom.allow = +features.intercom.allow = #Enable or disable the phone to mute the Speaker when answering an intercom call; 0-Disabled (default), 1-Enabled; -features.intercom.mute = +features.intercom.mute = #Enable or disable the phone to play the intercom warning tone; 0-Disabled, 1-Enabled (default); -features.intercom.tone = +features.intercom.tone = #Enable or disable the phone to barge in an intercom call; 0-Disabled (default), 1-Enabled; -features.intercom.barge = +features.intercom.barge = ####################################################################################### ## Features Hotline ## @@ -803,7 +798,8 @@ phone_setting.custom_softkey_enable = #Configure the using mode of the headset key. The value is 0 or 1(default). phone_setting.headsetkey_mode = -phone_setting.mail_power_led_flash_enable = 0 +#Enable or disabled mail power led flash. 0-Disabled, 1-Enabled. +phone_setting.mail_power_led_flash_enable = 1 ####################################################################################### ## Phone Setting UI ## diff --git a/resources/templates/provision/yealink/t48g/y000000000035.cfg b/resources/templates/provision/yealink/t48g/y000000000035.cfg index 66a7311894..e0468db796 100644 --- a/resources/templates/provision/yealink/t48g/y000000000035.cfg +++ b/resources/templates/provision/yealink/t48g/y000000000035.cfg @@ -573,13 +573,8 @@ features.call_completion_enable = #Enable or disable the phone to dial the IP address directly; 0-Disabled, 1-Enabled (default); features.direct_ip_call_enable = - #Configure the power Indicator LED to turn on or turn off; 0-On (default), 1-Off; -{if isset($yealink_power_led_on) } -features.power_led_on = {$yealink_power_led_on} -{else} -features.power_led_on = -{/if} +features.power_led_on = 1 #Configure the overtime (in minutes) of logging web user interface. It ranges from 1 to 1000, the default value is 5. features.relog_offtime = @@ -590,7 +585,7 @@ features.ringer_device.is_use_headset = #Enable or disable to enter the password when long pressing the OK key to reset to factory; 0-Disabled (default), 1-Enabled; #features.factory_pwd_enable = 1 -features.idle_talk_power_led_flash_enable = +features.idle_talk_power_led_flash_enable = #Enbale or disable the server to release the BLA line automatically; 0-Disabled (default), 1-Enabled; features.auto_release_bla_line = @@ -628,16 +623,16 @@ features.blf_and_callpark_idle_led_enable = 0 ## Features Intercom ## ####################################################################################### #Enable or disable the intercom feature; 0-Disabled, 1-Enabled (default); -features.intercom.allow = +features.intercom.allow = #Enable or disable the phone to mute the Speaker when answering an intercom call; 0-Disabled (default), 1-Enabled; -features.intercom.mute = +features.intercom.mute = #Enable or disable the phone to play the intercom warning tone; 0-Disabled, 1-Enabled (default); -features.intercom.tone = +features.intercom.tone = #Enable or disable the phone to barge in an intercom call; 0-Disabled (default), 1-Enabled; -features.intercom.barge = +features.intercom.barge = ####################################################################################### ## Features Hotline ## @@ -803,7 +798,8 @@ phone_setting.custom_softkey_enable = #Configure the using mode of the headset key. The value is 0 or 1(default). phone_setting.headsetkey_mode = -phone_setting.mail_power_led_flash_enable = 0 +#Enable or disabled mail power led flash. 0-Disabled, 1-Enabled. +phone_setting.mail_power_led_flash_enable = 1 ####################################################################################### ## Phone Setting UI ##