This commit is contained in:
markjcrane
2016-06-24 14:51:15 -06:00
33 changed files with 269 additions and 958 deletions

View File

@@ -230,7 +230,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$dialplan->dialplan_uuid = $dialplan_uuid;
$dialplan->dialplan_detail_tag = 'condition'; //condition, action, antiaction
$dialplan->dialplan_detail_type = 'destination_number';
$dialplan->dialplan_detail_data = '^'.str_replace('*', '\*', $call_flow_feature_code).'$';
$dialplan->dialplan_detail_data = '^'.str_replace('+', '\+', str_replace('*', '\*', $call_flow_feature_code)).'$';
$dialplan->dialplan_detail_break = 'on-true';
//$dialplan->dialplan_detail_inline = '';
$dialplan->dialplan_detail_group = '1';
@@ -287,7 +287,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$dialplan->dialplan_uuid = $dialplan_uuid;
$dialplan->dialplan_detail_tag = 'condition'; //condition, action, antiaction
$dialplan->dialplan_detail_type = 'destination_number';
$dialplan->dialplan_detail_data = '^'.str_replace('*', '\*', $call_flow_extension).'$';
$dialplan->dialplan_detail_data = '^'.str_replace('+', '\+', str_replace('*', '\*', $call_flow_extension)).'$';
//$dialplan->dialplan_detail_break = '';
//$dialplan->dialplan_detail_inline = '';
$dialplan->dialplan_detail_group = '2';

View File

@@ -51,13 +51,13 @@ else {
//create the event socket connection
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
if ($fp) {
//prepare the command
if ($cmd == "unregister") {
$command = "sofia profile ".$profile." flush_inbound_reg ".$user." reboot";
}
else {
$command = "lua app.lua event_notify ".$profile." ".$cmd." ".$user." ".$vendor;
//if ($cmd == "check_sync") {
// $command = "sofia profile ".$profile." check_sync ".$user;
//}
@@ -65,8 +65,10 @@ else {
//send the command
$response = event_socket_request($fp, "api ".$command);
$response = event_socket_request($fp, "api log notice ".$command);
//show the response
$_SESSION['message'] = $text['label-event']." ".ucwords($cmd)."     ".$text['label-response'].$response;
//close the connection
fclose($fp);
}
@@ -77,7 +79,15 @@ else {
echo $response;
}
else {
header("Location: status_registrations.php?profile=".$profile."&show=".$show);
//send the message
$_SESSION["message_delay"] = 3500;
$_SESSION["message_mood"] = 'positive';
$_SESSION["message"] = $text['button-applied'];
//send the redirect
if (isset($_SERVER['HTTP_REFERER'])) {
header("Location: ".$_SERVER['HTTP_REFERER']);
}
}
?>
?>

View File

@@ -50,6 +50,7 @@
//add or update the device keys
foreach ($_POST['device_keys'] as &$row) {
//validate the data
$valid_data = true;
//if (!is_uuid($row["device_key_uuid"])) { $valid_data = false; }
@@ -59,6 +60,7 @@
if (strlen($row["device_key_type"]) > 25) { $valid_data = false; echo "type "; }
if (strlen($row["device_key_value"]) > 25) { $valid_data = false; echo "value "; }
if (strlen($row["device_key_label"]) > 25) { $valid_data = false; echo "label "; }
//escape characters in the string
$device_uuid = check_str($row["device_uuid"]);
$device_key_uuid = check_str($row["device_key_uuid"]);
@@ -177,6 +179,18 @@
$prep_statement->execute();
$device_lines = $prep_statement->fetchAll(PDO::FETCH_NAMED);
//get the user
foreach ($device_lines as $row) {
if ($_SESSION['domain_name'] == $row['server_address']) {
$user_id = $row['user_id'];
$server_address = $row['server_address'];
break;
}
}
//set the sip profile name
$sip_profile_name = 'internal';
//get device keys
$sql = "SELECT * from v_device_keys ";
$sql .= "WHERE device_uuid = '".$device_uuid."' ";
@@ -239,11 +253,11 @@
echo " <br />";
echo " </div>\n";
// echo " <div style='float: right;'>";
// echo " <input type='button' class='btn' value='".$text['button-apply']."' onclick=\"document.location.href='".PROJECT_PATH."/app/devices/cmd.php?cmd=check_sync&profile=".$sip_profile_name."&show=".$show."&user=".$row['user']."&domain=".$row['sip-auth-realm']."&agent=".urlencode($row['agent'])."';\" ".$onhover_pause_refresh.">\n";
// echo " </div>\n";
echo " <div style='float: right;'>";
echo " </div>\n";
echo "<div style='float: right;'>\n";
echo " <input type='button' class='btn' value='".$text['button-apply']."' onclick=\"document.location.href='".PROJECT_PATH."/app/devices/cmd.php?cmd=check_sync&profile=".$sip_profile_name."&user=".$user_id."@".$server_address."&domain=".$server_address."&agent=".$device_key_vendor."';\">&nbsp;\n";
echo " <input type='submit' class='btn' value='".$text['button-save']."'>";
echo "</div>\n";

View File

@@ -108,17 +108,35 @@ include "root.php";
$prep_statement = $this->db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
foreach($result as $row) {
//set the variables
$moh_name = $row['music_on_hold_name'];
$moh_rate = $row['music_on_hold_rate'];
//set the value
$moh_value = "local_stream://".$moh_name;
if($moh_name == 'default') {
$moh_name = $text['option-default'];
}
$array[$moh_value] = str_replace('_', ' ', $moh_name);
//build the names array without the rates
$names = array();
foreach($result as $row) {
//convert the strings into arrays
$name_array = explode("/", $row['music_on_hold_name']);
//name with the domain
if (count($name_array) == "3") {
$stream_name = $name_array[0].'/'.$name_array[1];
}
//name without the domain
if (count($name_array) == "2") {
$stream_name = $name_array[0];
}
//prevent duplicate names in the array
if (!in_array($stream_name, $names)) {
$names[] = $stream_name;
}
}
//add the value and name to the array before it is returned
foreach($names as $name) {
$value = "local_stream://".$name;
if($stream == 'default') {
$name = $text['option-default'];
}
$array[$value] = str_replace('_', ' ', $name);
}
//return the array
@@ -216,4 +234,4 @@ include "root.php";
//$moh->xml();
//$moh->save();
?>
?>

View File

@@ -55,6 +55,19 @@ if ($domains_processed == 1) {
$array[$x]['default_setting_enabled'] = 'false';
$array[$x]['default_setting_description'] = 'Define which storage type (base_64 stores in the database).';
$x++;
$array[$x]['default_setting_category'] = 'voicemail';
$array[$x]['default_setting_subcategory'] = 'message_max_length';
$array[$x]['default_setting_name'] = 'numeric';
$array[$x]['default_setting_value'] = '300';
$array[$x]['default_setting_enabled'] = 'false';
$array[$x]['default_setting_description'] = 'Maximum length of a voicemail (in seconds).';
$x++;
$array[$x]['default_setting_category'] = 'voicemail';
$array[$x]['default_setting_subcategory'] = 'greeting_max_length';
$array[$x]['default_setting_name'] = 'numeric';
$array[$x]['default_setting_value'] = '90';
$array[$x]['default_setting_enabled'] = 'false';
$array[$x]['default_setting_description'] = 'Maximum length of a voicemail greeting (in seconds).';
//iterate and add each, if necessary
foreach ($array as $index => $default_settings) {

View File

@@ -175,6 +175,20 @@ $text['button-apply']['ro'] = "";
$text['button-apply']['fa'] = "";
$text['button-apply']['ar-eg'] = "";
$text['button-applied']['en-us'] = "Applied";
$text['button-applied']['es-cl'] = "";
$text['button-applied']['pt-pt'] = "";
$text['button-applied']['fr-fr'] = "";
$text['button-applied']['pt-br'] = "";
$text['button-applied']['pl'] = "";
$text['button-applied']['he'] = "";
$text['button-applied']['uk'] = "";
$text['button-applied']['sv-se'] = "";
$text['button-applied']['de-at'] = "";
$text['button-applied']['ro'] = "";
$text['button-applied']['fa'] = "";
$text['button-applied']['ar-eg'] = "";
$text['button-clear']['en-us'] = "Clear";
$text['button-clear']['es-cl'] = "Limpiar";
$text['button-clear']['pt-pt'] = "Apagar";
@@ -868,4 +882,4 @@ $text['description-description']['sv-se'] = "Fyll i en beskrivning, om nödvänd
$text['description-description']['uk'] = "Введіть опис, якщо це необхідно.";
$text['description-description']['de-at'] = "Falls gewünscht, geben Sie eine Beschreibung an.";
?>
?>

View File

@@ -25,6 +25,10 @@
--define a function to record the greeting
function record_greeting(greeting_id)
local db = dbh or Database.new('system')
local settings = Settings.new(db, domain_name, domain_uuid)
local max_len_seconds = settings:get('voicemail', 'greeting_max_length', 'numeric');
--flush dtmf digits from the input buffer
session:flushDigits();
@@ -62,7 +66,6 @@
else
--prepare to record the greeting
if (session:ready()) then
max_len_seconds = 90;
silence_seconds = 5;
mkdir(voicemail_dir.."/"..voicemail_id);
-- syntax is session:recordFile(file_name, max_len_secs, silence_threshold, silence_secs)

View File

@@ -25,6 +25,10 @@
--save the recording
function record_message()
local db = dbh or Database.new('system')
local settings = Settings.new(db, domain_name, domain_uuid)
local max_len_seconds = settings:get('voicemail', 'message_max_length', 'numeric');
--record your message at the tone press any key or stop talking to end the recording
if (skip_instructions == "true") then
@@ -142,7 +146,6 @@
--save the recording
-- syntax is session:recordFile(file_name, max_len_secs, silence_threshold, silence_secs)
max_len_seconds = 300;
silence_seconds = 5;
if (storage_path == "http_cache") then
result = session:recordFile(storage_path.."/"..voicemail_id.."/msg_"..uuid.."."..vm_message_ext, max_len_seconds, record_silence_threshold, silence_seconds);

View File

@@ -32,7 +32,7 @@
chime_list = "";
for k,v in pairs(chime_array) do
f = explode("/", v);
if (file_exists(sounds_dir.."/en/us/callie/"..f[1].."/8000/"..f[2])) then
if (f[1] ~= nil and f[2] ~= nil and file_exists(sounds_dir.."/en/us/callie/"..f[1].."/8000/"..f[2])) then
chime_list = chime_list .. sounds_dir.."/en/us/callie/"..v;
else
chime_list = chime_list .. v;
@@ -40,13 +40,20 @@
end
end
--set the default timer name to soft
if (row.music_on_hold_timer_name == nil) then
timer_name = "soft";
else
timer_name = row.music_on_hold_timer_name;
end
--build the xml ]]..row.music_on_hold_name..[["
table.insert(xml, [[ <directory name="]]..row.music_on_hold_name..[[" path="]]..music_on_hold_path..[[">]]);
table.insert(xml, [[ <param name="rate" value="]]..row.music_on_hold_rate..[["/>]]);
table.insert(xml, [[ <param name="shuffle" value="]]..row.music_on_hold_shuffle..[["/>]]);
table.insert(xml, [[ <param name="channels" value="1"/>]]);
table.insert(xml, [[ <param name="interval" value="20"/>]]);
table.insert(xml, [[ <param name="timer-name" value="]]..row.music_on_hold_timer_name..[["/>]]);
table.insert(xml, [[ <param name="timer-name" value="]]..timer_name..[["/>]]);
if (chime_list ~= nil) then
table.insert(xml, [[ <param name="chime-list" value="]]..chime_list..[["/>]]);
end

View File

@@ -0,0 +1,111 @@
require "resources.functions.config"
require "resources.functions.split"
local log = require "resources.functions.log".call_flow_subscribe
local file = require "resources.functions.file"
local presence_in = require "resources.functions.presence_in"
local Database = require "resources.functions.database"
local ievents = function(events, ...)
if type(events) == 'string' then
events = freeswitch.EventConsumer(events)
end
local block, timeout = ...
if timeout and (timeout == 0) then block, timeout = 0, 0 end
timeout = timeout or 0
return function()
local event = events:pop(block, timeout)
return not event, event
end
end
local find_call_flow_sql = [[select t1.call_flow_uuid, t1.call_flow_status
from v_call_flows t1 inner join v_domains t2 on t1.domain_uuid = t2.domain_uuid
where t2.domain_name = '%s' and t1.call_flow_feature_code = '%s'
]]
local function find_call_flow(user)
local ext, domain_name = split_first(user, '@', true)
if not domain_name then return end
local dbh = Database.new('system')
if not dbh then return end
local sql = string.format(find_call_flow_sql, dbh:escape(domain_name), dbh:escape(ext))
local row = dbh:first_row(sql)
dbh:release()
if not row then return end
return row.call_flow_uuid, row.call_flow_status
end
local IntervalTimer = {} do
IntervalTimer.__index = IntervalTimer
function IntervalTimer.new(interval)
local o = setmetatable({}, IntervalTimer)
o._interval = interval
return o
end
function IntervalTimer:rest()
local d = self._interval - os.difftime(os.time(), self._begin)
if d < 0 then d = 0 end
return d
end
function IntervalTimer:start()
self._begin = os.time()
return self
end
function IntervalTimer:stop()
self._begin = nil
return self
end
end
local pid_file = scripts_dir .. "/run/call_flow_subscribe.tmp"
local pid = tostring(os.clock())
file.write(pid_file, pid)
log.notice("start call_flow_subscribe");
local timer = IntervalTimer.new(60):start()
for timeout, event in ievents("PRESENCE_PROBE", 1, timer:rest() * 1000) do
if timeout or timer:rest() == 0 then
local stored = file.read(pid_file)
if stored then
if stored ~= pid then break end
else
if not file.exists(pid_file) then break end
end
timer:start()
end
if event then
-- log.notice("event:" .. event:serialize("xml"));
if event:getHeader('proto') == 'flow' and
event:getHeader('Event-Calling-Function') == 'sofia_presence_handle_sip_i_subscribe'
then
local from, to = event:getHeader('from'), event:getHeader('to')
local expires = tonumber(event:getHeader('expires'))
if expires and expires > 0 then
local call_flow_uuid, call_flow_status = find_call_flow(to)
if call_flow_uuid then
log.debugf("Find call flow: %s", to)
presence_in.turn_lamp(call_flow_status == "false", to, call_flow_uuid);
else
log.warningf("Can not find call flow: %s", to)
end
else
log.noticef("%s UNSUBSCRIBE from %s", from, to)
end
end
end
end
log.notice("stop call_flow_subscribe")

View File

@@ -77,6 +77,14 @@ local function new_database(backend, backend_name)
return result
end
function Database:escape(str)
return (string.gsub(str, "'", "''"))
end
function Database:quote(str)
return "'" .. self:escape(str) .. "'"
end
function Database.__self_test__(...)
log.info('self_test Database - ' .. Database._backend_name)
local db = Database.new(...)
@@ -151,6 +159,16 @@ local function new_database(backend, backend_name)
local a = assert(db:first_value("select NULL as a"))
assert(a == "")
-- escape
local values = {"hello';select 'world", "hello'"}
for _, value in ipairs(values) do
local a = assert(db:first_value(
string.format("select '%s' as a", db:escape(value))
))
assert(a == value)
end
-- close
db:release()
assert(not db:connected())

View File

@@ -1,6 +1,17 @@
require "resources.functions.split"
local function turn_lamp(on, user, uuid)
local userid, domain, proto = split_first(user, "@", true)
proto, userid = split_first(userid, "+", true)
if userid then
user = userid .. "@" .. domain
else
proto = "sip"
end
local event = freeswitch.Event("PRESENCE_IN");
event:addHeader("proto", "sip");
event:addHeader("proto", proto);
event:addHeader("event_type", "presence");
event:addHeader("alt_event_type", "dialog");
event:addHeader("Presence-Call-Direction", "outbound");

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################

View File

@@ -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 ##
#######################################################################################