diff --git a/resources/templates/provision/yealink/cp860/y000000000037.cfg b/resources/templates/provision/yealink/cp860/y000000000037.cfg index 08068488e2..e59805a1e0 100644 --- a/resources/templates/provision/yealink/cp860/y000000000037.cfg +++ b/resources/templates/provision/yealink/cp860/y000000000037.cfg @@ -1432,54 +1432,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_1} -local_time.ntp_server2 = {$ntp_server_2} - -#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 = - -#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. -local_time.manual_time_enable = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/cp860/{$mac}.cfg b/resources/templates/provision/yealink/cp860/{$mac}.cfg index e2f1aabe30..a3626a2d72 100644 --- a/resources/templates/provision/yealink/cp860/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp860/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1903,16 +1893,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2394,16 +2374,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2885,16 +2855,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t21p/y000000000052.cfg b/resources/templates/provision/yealink/t21p/y000000000052.cfg index 6db7d0e204..f2776843fe 100644 --- a/resources/templates/provision/yealink/t21p/y000000000052.cfg +++ b/resources/templates/provision/yealink/t21p/y000000000052.cfg @@ -1393,54 +1393,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_1} -local_time.ntp_server2 = {$ntp_server_2} - -#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 = - -#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. -local_time.manual_time_enable = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t21p/{$mac}.cfg b/resources/templates/provision/yealink/t21p/{$mac}.cfg index fe8437faac..f2799dae4c 100644 --- a/resources/templates/provision/yealink/t21p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t21p/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1902,16 +1892,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2393,16 +2373,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2884,16 +2854,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t23g/y000000000044.cfg b/resources/templates/provision/yealink/t23g/y000000000044.cfg index 6db7d0e204..f2776843fe 100644 --- a/resources/templates/provision/yealink/t23g/y000000000044.cfg +++ b/resources/templates/provision/yealink/t23g/y000000000044.cfg @@ -1393,54 +1393,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_1} -local_time.ntp_server2 = {$ntp_server_2} - -#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 = - -#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. -local_time.manual_time_enable = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t23g/{$mac}.cfg b/resources/templates/provision/yealink/t23g/{$mac}.cfg index fe8437faac..f2799dae4c 100644 --- a/resources/templates/provision/yealink/t23g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23g/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1902,16 +1892,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2393,16 +2373,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2884,16 +2854,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t23p/y000000000044.cfg b/resources/templates/provision/yealink/t23p/y000000000044.cfg index 6db7d0e204..f2776843fe 100644 --- a/resources/templates/provision/yealink/t23p/y000000000044.cfg +++ b/resources/templates/provision/yealink/t23p/y000000000044.cfg @@ -1393,54 +1393,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_1} -local_time.ntp_server2 = {$ntp_server_2} - -#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 = - -#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. -local_time.manual_time_enable = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t23p/{$mac}.cfg b/resources/templates/provision/yealink/t23p/{$mac}.cfg index fe8437faac..f2799dae4c 100644 --- a/resources/templates/provision/yealink/t23p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23p/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1902,16 +1892,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2393,16 +2373,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2884,16 +2854,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t27p/y000000000045.cfg b/resources/templates/provision/yealink/t27p/y000000000045.cfg index 23abe90e67..367790dd93 100644 --- a/resources/templates/provision/yealink/t27p/y000000000045.cfg +++ b/resources/templates/provision/yealink/t27p/y000000000045.cfg @@ -1393,54 +1393,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 = - -#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. -local_time.manual_time_enable = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t27p/{$mac}.cfg b/resources/templates/provision/yealink/t27p/{$mac}.cfg index 652f7f84f7..8ab9672b41 100644 --- a/resources/templates/provision/yealink/t27p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t27p/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1902,16 +1892,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2393,16 +2373,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2884,16 +2854,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t29g/y000000000046.cfg b/resources/templates/provision/yealink/t29g/y000000000046.cfg index ad3b50bacf..cbae0438e6 100644 --- a/resources/templates/provision/yealink/t29g/y000000000046.cfg +++ b/resources/templates/provision/yealink/t29g/y000000000046.cfg @@ -1393,54 +1393,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_1} -local_time.ntp_server2 = {$ntp_server_2} - -#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 = - -#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. -local_time.manual_time_enable = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t29g/{$mac}.cfg b/resources/templates/provision/yealink/t29g/{$mac}.cfg index 76dd7d44fd..13b578d47b 100644 --- a/resources/templates/provision/yealink/t29g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t29g/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1902,16 +1892,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2393,16 +2373,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2884,16 +2854,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t41p/y000000000036.cfg b/resources/templates/provision/yealink/t41p/y000000000036.cfg index 361bdd39ec..84c81f7ee1 100644 --- a/resources/templates/provision/yealink/t41p/y000000000036.cfg +++ b/resources/templates/provision/yealink/t41p/y000000000036.cfg @@ -1433,54 +1433,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_1} -local_time.ntp_server2 = {$ntp_server_2} - -#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 = - -#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. -local_time.manual_time_enable = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t41p/{$mac}.cfg b/resources/templates/provision/yealink/t41p/{$mac}.cfg index 76dd7d44fd..13b578d47b 100644 --- a/resources/templates/provision/yealink/t41p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t41p/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1902,16 +1892,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2393,16 +2373,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2884,16 +2854,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t42g/y000000000029.cfg b/resources/templates/provision/yealink/t42g/y000000000029.cfg index f1209399da..f76e48b7e8 100644 --- a/resources/templates/provision/yealink/t42g/y000000000029.cfg +++ b/resources/templates/provision/yealink/t42g/y000000000029.cfg @@ -1445,54 +1445,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 = - -#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. -local_time.manual_time_enable = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t42g/{$mac}.cfg b/resources/templates/provision/yealink/t42g/{$mac}.cfg index a4ddf84f99..449154c0d1 100644 --- a/resources/templates/provision/yealink/t42g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42g/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1902,16 +1892,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2393,16 +2373,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2884,16 +2854,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t46g/{$mac}.cfg b/resources/templates/provision/yealink/t46g/{$mac}.cfg index 2f3718b22f..6697f6391e 100644 --- a/resources/templates/provision/yealink/t46g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46g/{$mac}.cfg @@ -940,8 +940,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1426,16 +1426,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1918,16 +1908,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2409,16 +2389,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2900,16 +2870,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t48g/y000000000035.cfg b/resources/templates/provision/yealink/t48g/y000000000035.cfg index 168f3026c9..f989fc8f9d 100644 --- a/resources/templates/provision/yealink/t48g/y000000000035.cfg +++ b/resources/templates/provision/yealink/t48g/y000000000035.cfg @@ -429,45 +429,6 @@ lang.wui = #Specify the LCD language, the valid values are: English (default), Chinese_S, Chinese_T, German, French, Turkish, Italian, Polish, Spanish and Portuguese. lang.gui = English -####################################################################################### -## Time ## -####################################################################################### -#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 = - -#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 = - -#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is 60. -local_time.offset_time = - -#Configure the time format; 0-12 Hour, 1-24 Hour (default); -local_time.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 = - -#Enable or disable the DHCP Time; 0-Disabled (default), 1-Enabled; -local_time.dhcp_time = - -local_time.manual_time_enable = 0 - ####################################################################################### ## Auto Redial ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t48g/{$mac}.cfg b/resources/templates/provision/yealink/t48g/{$mac}.cfg index df85cc2752..ba70fd2ed6 100644 --- a/resources/templates/provision/yealink/t48g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48g/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1901,16 +1891,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2392,16 +2372,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2883,16 +2853,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t49g/y000000000051.cfg b/resources/templates/provision/yealink/t49g/y000000000051.cfg index fd7b637bcd..9955fcbcea 100644 --- a/resources/templates/provision/yealink/t49g/y000000000051.cfg +++ b/resources/templates/provision/yealink/t49g/y000000000051.cfg @@ -1445,54 +1445,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_1} -local_time.ntp_server2 = {$ntp_server_2} - -#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 = - -#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. -local_time.manual_time_enable = - ####################################################################################### ## Trusted Certificates ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t49g/{$mac}.cfg b/resources/templates/provision/yealink/t49g/{$mac}.cfg index 168444f7ad..89187ba759 100644 --- a/resources/templates/provision/yealink/t49g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t49g/{$mac}.cfg @@ -924,8 +924,8 @@ account.2.xsi.port = #Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. #local_time.time_zone = +8 #local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$time_zone} -local_time.time_zone_name = {$time_zone_name} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####################################################################################### @@ -1410,16 +1410,6 @@ account.3.xsi.server_type = account.3.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -1902,16 +1892,6 @@ account.4.xsi.server_type = account.4.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2393,16 +2373,6 @@ account.5.xsi.server_type = account.5.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## ####################################################################################### @@ -2884,16 +2854,6 @@ account.6.xsi.server_type = account.6.xsi.port = -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = -local_time.time_zone_name = - - ####################################################################################### ## NETWORK ## #######################################################################################