diff --git a/resources/templates/provision/yealink/t56a/y000000000056.cfg b/resources/templates/provision/yealink/t56a/y000000000056.cfg index 442625cb84..c48f0ebbcf 100644 --- a/resources/templates/provision/yealink/t56a/y000000000056.cfg +++ b/resources/templates/provision/yealink/t56a/y000000000056.cfg @@ -313,7 +313,7 @@ sip.limit_server_reason = {if isset($yealink_sip_listen_port)}sip.listen_port = {$yealink_sip_listen_port}{else}sip.listen_port = 5060{/if} #sip.tls_listen_port = {if isset($yealink_sip_listen_port)}sip.tls_listen_port = {$yealink_sip_listen_port}{else}sip.tls_listen_port = 5061{/if} -sip.trust_ctrl = +sip.trust_ctrl = {$yealink_trust_ctrl} sip.nat_stun.enable = sip.nat_stun.server = sip.nat_stun.port = @@ -649,7 +649,7 @@ features.allow_mute = features.group_listen_in_talking_enable = features.call_completion_enable = features.call_num_filter = -features.direct_ip_call_enable = +features.direct_ip_call_enable = {$yealink_direct_ip_call_enable} features.relog_offtime = features.ringer_device.is_use_headset = features.factory_pwd_enable = @@ -679,7 +679,7 @@ features.barge_in_via_username.enable = features.flash_url_dsskey_led.enable = static.features.default_account = features.linekey_call_with_default_account = -features.hide_feature_access_codes.enable = +features.hide_feature_access_codes.enable = {$yealink_hide_feature_access_codes_enable} static.features.hide_zero_touch_url.enable = @@ -714,7 +714,7 @@ features.bluetooth_enable = ##It configures BLF LED mode and provides four kinds of definition for the BLF/BLF list key LED status. ##For more information, refer to BLF LED Mode on page 218. ##The default value is 0. -features.blf_led_mode = +features.blf_led_mode = {$yealink_blf_led_mode} ##It enables or disables the phone to deal with the Version header in the BLF NOTIFY message sent by the server. ##0-Disabled,1-Enabled. @@ -745,7 +745,7 @@ features.hotline_delay = ####################################################################################### ## Features DTMF ## ####################################################################################### -features.dtmf.hide = +features.dtmf.hide = {$yealink_dtmf_hide} ###Except T20P Model features.dtmf.hide_delay = @@ -794,8 +794,8 @@ features.save_call_history = ####################################################################################### ## Notification Popups ## ####################################################################################### -features.voice_mail_popup.enable= -features.missed_call_popup.enable= +features.voice_mail_popup.enable= {$yealink_voice_mail_popup_enable} +features.missed_call_popup.enable= {$yealink_missed_call_popup_enable} features.forward_call_popup.enable= features.text_message_popup.enable= @@ -849,9 +849,9 @@ phone_setting.active_backlight_level = ####################################################################################### ##It configures the backlight time (in seconds).0, 1, 15, 30, 60, 120, 300, 600 or 1800. -phone_setting.backlight_time = -phone_setting.backgrounds = -wallpaper_upload.url = +phone_setting.backlight_time = {$yealink_backlight_time} +phone_setting.backgrounds = Config:yealink_t56a_wallpaper.png +wallpaper_upload.url = {$yealink_t56a_wallpaper} ####################################################################################### ## Phone Setting BLF ## @@ -874,16 +874,16 @@ phone_setting.blf_list_sequence_type = ###It enables or disables keypad lock feature. ###0-Disabled,1-Enabled. ###The default value is 0. -phone_setting.phone_lock.enable = +phone_setting.phone_lock.enable = {$yealink_lock_enable} ###It configures the password for unlocking the keypad. ###The default value is 123. -phone_setting.phone_lock.unlock_pin = +phone_setting.phone_lock.unlock_pin = {$yealink_lock_pin} ###It configures the interval (in seconds) to automatically lock the keypad. ###The default value is 0 (the keypad is locked only by long pressing the pound key or pressing the keypad lock key) -phone_setting.phone_lock.lock_time_out = +phone_setting.phone_lock.lock_time_out = {$yealink_lock_timeout} phone_setting.emergency.number = {$yealink_emergency_number} ####################################################################################### @@ -923,10 +923,19 @@ super_search.url = ###The following examples change the var's username to "var55" and the var's password to "var55pwd". ###static.security.user_name.var = var55 ###static.security.user_password = var55:var55pwd -static.security.user_name.user = -static.security.user_name.admin = -static.security.user_name.var = -static.security.user_password = + +{if isset($user_name) } +static.security.user_name.user = {$user_name} +static.security.user_password = {$user_name}:{$user_password} +{/if} +{if isset($admin_name) } +static.security.user_name.admin = {$admin_name} +static.security.user_password = {$admin_name}:{$admin_password} +{/if} +{if isset($var_name) } +static.security.user_name.var = {$var_name} +static.security.user_password = {$var_name}:{$var_password} +{/if} ###It enables or disables the phone to only accept the certificates in the Trusted Certificates list. ###0-Disabled,1-Enabled. @@ -1198,7 +1207,7 @@ distinctive_ring_tones.alert_info.1.ringer = ####################################################################################### ## Call Waiting ## ####################################################################################### -call_waiting.enable = +call_waiting.enable = {$yealink_call_waiting} call_waiting.tone = call_waiting.on_code = call_waiting.off_code = @@ -1286,7 +1295,7 @@ custom_softkey_talking.url = ####################################################################################### ###It configures the access URL of the firmware file. ###The default value is blank.It takes effect after a reboot. -static.firmware.url = +static.firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t56a} ####################################################################################### ## RTCP ##