Add yealink auto provision settings (#7091)

* Update {$mac}.cfg
This commit is contained in:
wouam31200
2024-08-19 09:48:36 -06:00
committed by GitHub
parent a5a7a8530a
commit e502f2d9d1
@@ -107,24 +107,24 @@ syslog.log_level =
####################################################################################### #######################################################################################
#Enable or disable the Plug and Play feature; 0-Disabled, 1-Enabled(default); #Enable or disable the Plug and Play feature; 0-Disabled, 1-Enabled(default);
auto_provision.pnp_enable = 1 auto_provision.pnp_enable = {$yealink_auto_provision_pnp_enable}
#Enable or disable the phone to check new configuration when powered on; 0-Disabled, 1-Enabled (default); #Enable or disable the phone to check new configuration when powered on; 0-Disabled, 1-Enabled (default);
auto_provision.mode = 1 auto_provision.mode = 1
#Enable or disable the phone to check the new configuration repeatedly; 0-Disabled (default), 1-Enabled; #Enable or disable the phone to check the new configuration repeatedly; 0-Disabled (default), 1-Enabled;
auto_provision.repeat.enable = 1 auto_provision.repeat.enable = {$yealink_auto_provision_repeat_enable}
#Configure the interval (in minutes) the phone repeatedly checks the new configuration. The default is 1440. #Configure the interval (in minutes) the phone repeatedly checks the new configuration. The default is 1440.
auto_provision.repeat.minutes = auto_provision.repeat.minutes = {$yealink_auto_provision_repeat_minutes}
#Enable or disable the phone to check the new configuration weekly; 0-Disabled (default), 1-Enabled; #Enable or disable the phone to check the new configuration weekly; 0-Disabled (default), 1-Enabled;
auto_provision.weekly.enalbe = auto_provision.weekly.enalbe = {$yealink_auto_provision_weekly_enable}
#Configure the week time the phone checks the new configuration. Applicable when the auto provisioning mode is configured as weekly or power on + weekly. #Configure the week time the phone checks the new configuration. Applicable when the auto provisioning mode is configured as weekly or power on + weekly.
auto_provision.weekly.mask = auto_provision.weekly.mask =
auto_provision.weekly.begin_time = auto_provision.weekly.begin_time = {$yealink_auto_provision_weekly_end_time}
auto_provision.weekly.end_time = auto_provision.weekly.end_time = {$yealink_auto_provision_weekly_begin_time}
#Configure the URL of the auto provisioning server. #Configure the URL of the auto provisioning server.
auto_provision.server.url = {$yealink_provision_url} auto_provision.server.url = {$yealink_provision_url}
@@ -220,7 +220,7 @@ base.pin_code =
####################################################################################### #######################################################################################
#Specify the web language, the valid values are: English, Chinese_S, German, Italian and Turkish; #Specify the web language, the valid values are: English, Chinese_S, German, Italian and Turkish;
lang.wui = lang.wui = {$yealink_language_web}
####################################################################################### #######################################################################################
## Time Settings ## ## Time Settings ##
@@ -401,7 +401,7 @@ remote_phonebook.data.1.name = Users
{if isset($yealink_remote_phonebook_1_url) } {if isset($yealink_remote_phonebook_1_url) }
remote_phonebook.data.1.url = {$yealink_remote_phonebook_1_url} remote_phonebook.data.1.url = {$yealink_remote_phonebook_1_url}
{else} {else}
remote_phonebook.data.1.url = http://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users remote_phonebook.data.1.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users
{/if} {/if}
{if isset($yealink_remote_phonebook_2_name) } {if isset($yealink_remote_phonebook_2_name) }
@@ -412,7 +412,7 @@ remote_phonebook.data.2.name = Groups
{if isset($yealink_remote_phonebook_2_url) } {if isset($yealink_remote_phonebook_2_url) }
remote_phonebook.data.2.url = {$yealink_remote_phonebook_2_url} remote_phonebook.data.2.url = {$yealink_remote_phonebook_2_url}
{else} {else}
remote_phonebook.data.2.url = http://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups remote_phonebook.data.2.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups
{/if} {/if}
{if isset($yealink_remote_phonebook_3_name) } {if isset($yealink_remote_phonebook_3_name) }
@@ -423,7 +423,7 @@ remote_phonebook.data.3.name = Extensions
{if isset($yealink_remote_phonebook_3_url) } {if isset($yealink_remote_phonebook_3_url) }
remote_phonebook.data.3.url = {$yealink_remote_phonebook_3_url} remote_phonebook.data.3.url = {$yealink_remote_phonebook_3_url}
{else} {else}
remote_phonebook.data.3.url = http://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions remote_phonebook.data.3.url = https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions
{/if} {/if}
remote_phonebook.data.4.name = {$yealink_remote_phonebook_4_name} remote_phonebook.data.4.name = {$yealink_remote_phonebook_4_name}