diff --git a/resources/templates/provision/yealink/t58w/y000000000150.cfg b/resources/templates/provision/yealink/t58w/y000000000150.cfg index 8525740dc5..258f2ae877 100644 --- a/resources/templates/provision/yealink/t58w/y000000000150.cfg +++ b/resources/templates/provision/yealink/t58w/y000000000150.cfg @@ -6,8 +6,10 @@ ####################################################################################### ## Network CDP ## ####################################################################################### -static.network.cdp.enable = -static.network.cdp.packet_interval = +static.network.cdp.enable = {$yealink_cdp_enable} +static.network.cdp.packet_interval = {$yealink_cdp_packet_interval} + + ####################################################################################### ## Network IPv6 ## @@ -31,12 +33,13 @@ static.network.dhcp_host_name = ####################################################################################### ## Network Internet ## ####################################################################################### -static.network.ip_address_mode = +static.network.ip_address_mode = {$yealink_ip_address_mode} + static.network.vlan.pc_port_mode = -static.network.static_dns_enable = -static.network.pc_port.enable = -static.network.primary_dns = -static.network.secondary_dns = +{if isset($dns_server_primary)}static.network.static_dns_enable = 1{else}static.network.static_dns_enable = 0{/if} +static.network.pc_port.enable = 1 +static.network.primary_dns = {$dns_server_primary} +static.network.secondary_dns = {$dns_server_secondary} static.network.internet_port.gateway = static.network.internet_port.mask = static.network.internet_port.ip = @@ -52,8 +55,8 @@ static.network.dns.retry_times= static.network.preference= static.network.redundancy.failback.timeout= static.network.redundancy.mode= -static.network.static_nat.addr= -static.network.static_nat.enable= +static.network.static_nat.addr= {$yealink_static_nat} +static.network.static_nat.enable= {if isset($yealink_static_nat)}1{else}0{/if} static.security.server_ssl_method= ####################################################################################### @@ -98,11 +101,12 @@ static.network.dns.query_timeout = ## VLAN ## ####################################################################################### static.network.vlan.internet_port_enable = -static.network.vlan.internet_port_vid = -static.network.vlan.internet_port_priority = +static.network.vlan.internet_port_vid = {$yealink_vlan_pc_id} +static.network.vlan.internet_port_priority = {$yealink_vlan_cos} static.network.vlan.pc_port_enable = -static.network.vlan.pc_port_vid = -static.network.vlan.pc_port_priority = +static.network.vlan.pc_port_vid = {$yealink_vlan_id} +{if isset($yealink_vlan_enable)}static.network.vlan.internet_port_enable = {$yealink_vlan_enable}{else}static.network.vlan.internet_port_enable = 0{/if} +static.network.vlan.pc_port_priority = {$yealink_vlan_pc_cos} static.network.vlan.dhcp_enable = static.network.vlan.dhcp_option = ##It configures LLDP or manually VLAN can't obtain IP, whether to switch to other methods of VLAN or closed VLAN to get IP @@ -162,8 +166,8 @@ static.openvpn.url = ####################################################################################### ## LLDP ## ####################################################################################### -static.network.lldp.enable = -static.network.lldp.packet_interval = +static.network.lldp.enable = {$yealink_lldp_enable} +static.network.lldp.packet_interval = {$yealink_lldp_packet_interval} ####################################################################################### ## Span to PC ## @@ -243,12 +247,12 @@ static.auto_provision.prompt.enable = ####################################################################################### ## Autop Mode ## ####################################################################################### -static.auto_provision.power_on = +static.auto_provision.power_on = {$yealink_autop_power_on} ####################################################################################### ## Autop PNP ## ####################################################################################### -static.auto_provision.pnp_enable = +static.auto_provision.pnp_enable = {$yealink_autop_pnp} ####################################################################################### ## Autop DHCP ## @@ -259,23 +263,23 @@ static.auto_provision.dhcp_option.list_user_options = ####################################################################################### ## Autop Repeat ## ####################################################################################### -static.auto_provision.repeat.enable = -static.auto_provision.repeat.minutes = +static.auto_provision.repeat.enable = {$yealink_autop_repeat_enable} +static.auto_provision.repeat.minutes = {$yealink_autop_repeat_minutes} ####################################################################################### ## Autop Weekly ## ####################################################################################### -static.auto_provision.weekly.enable = -static.auto_provision.weekly.dayofweek = -static.auto_provision.weekly.begin_time = -static.auto_provision.weekly.end_time = -static.auto_provision.weekly_upgrade_interval = +static.auto_provision.weekly.enable = {$yealink_autop_weekly_enable} +static.auto_provision.weekly.dayofweek = {$yealink_autop_weekly_dayofweek} +static.auto_provision.weekly.begin_time = {$yealink_autop_weekly_begin_time} +static.auto_provision.weekly.end_time = {$yealink_autop_weekly_end_time} +static.auto_provision.weekly_upgrade_interval = {$yealink_autop_weekly_interval} ####################################################################################### ## Autop URL ## ####################################################################################### -static.auto_provision.server.url = -static.auto_provision.server.username = -static.auto_provision.server.password = +static.auto_provision.server.url = {$yealink_provision_url} +static.auto_provision.server.username = {$http_auth_username} +static.auto_provision.server.password = {$http_auth_password} ####################################################################################### ## Autop AES Key ## @@ -362,7 +366,7 @@ static.watch_dog.enable = ## SIP Advanced ## ####################################################################################### sip.use_23_as_pound = -sip.rfc2543_hold = +sip.rfc2543_hold = {$yealink_rfc2543_hold} sip.use_out_bound_in_dialog = sip.reg_surge_prevention = sip.send_response_by_request = @@ -370,10 +374,10 @@ sip.notify_reboot_enable = sip.disp_incall_to_info = sip.listen_port = sip.tls_listen_port = -sip.trust_ctrl = +sip.trust_ctrl = {$yealink_trust_ctrl} static.sip.nat_stun.enable = static.sip.nat_stun.server = -static.sip.nat_stun.port = +static.sip.nat_stun.port = {if isset($stun_port)}{$stun_port}{else}3478{/if} sip.timer_t1 = sip.timer_t2 = sip.timer_t4 = @@ -385,14 +389,14 @@ sip.escape_characters.enable = ##The default value is 0 ( said according to the transmission mode configured to listen on port),1- ##1-said at the same time to monitor TCP and UDP ##2-said to monitor TCP and UDP at the same time, and from the BLF - the LIST to subscribe to the contact with a transport = TCP parameters -sip.listen_mode = +sip.listen_mode= {if isset($yealink_sip_listen_port)}sip.listen_port = {$yealink_sip_listen_port}{else}sip.listen_port = 5060{/if} ##The default value is 0.(contracting out the random contact, via port to carry fixed port).It takes effect after a reboot. ##1-the out-contracting port random contact, via port to carry ##2-the out-contracting ports fixed contact, via carry fix sip.tcp_port_random_mode = -sip.call_fail_use_reason.enable= +sip.call_fail_use_reason.enable= {$yealink_sip_call_fail_use_reason_enable} sip.cid_source.preference= ##V83 Add @@ -432,19 +436,19 @@ static.sip.nat_turn.username= ####################################################################################### ## Echo Cancellation ## ####################################################################################### -voice.vad = -voice.cng = -voice.echo_cancellation = +voice.vad = {$yealink_vad} +voice.cng = {$yealink_cng} +voice.echo_cancellation = {$yealink_echo_cancellation} voice.ans_nb.enable = voice.tns.enable = ####################################################################################### ## Jitter Buffer ## ####################################################################################### -voice.jib.adaptive = -voice.jib.min = -voice.jib.max = -voice.jib.normal = +voice.jib.adaptive = {$yealink_jib_adaptive} +voice.jib.min = {$yealink_jib_min} +voice.jib.max = {$yealink_jib_max} +voice.jib.normal = {$yealink_jib_normal} ####################################################################################### ## Tones ## @@ -477,28 +481,27 @@ voice.handfree.autoreset_spk_vol= ##It enables or disables the transferee party’s phone to prompt a missed call on the LCD screen before displaying ##the caller ID when performing a semi-attended transfer.0-Enabled,1-Disabled ##The default value is 1. -transfer.semi_attend_tran_enable = +transfer.semi_attend_tran_enable = {$yealink_transfer_semi_attended} ##It enables or disables the phone to complete the blind transfer through on-hook.0-Disabled,1-Enabled . ##The default value is 1. -transfer.blind_tran_on_hook_enable = +transfer.blind_tran_on_hook_enable = {$yealink_transfer_blind_on_hook} ##It enables or disables the phone to transfer call to the two parties after a local conference call hangs up. ##0-Disabled,1-Enabled. ##The default value is 0. -transfer.tran_others_after_conf_enable = +transfer.tran_others_after_conf_enable = {$yealink_transfer_after_conf} ##It enables or disables the phone to complete the attended transfer through on-hook. ##0-Disabled,1-Enabled. ##The default value is 1. -transfer.on_hook_trans_enable = +transfer.on_hook_trans_enable = {$yealink_transfer_onhook} ##It configures the DSS key behavior during an active call when user presses the DSS ##key and the DSS key is configured as a speed dial, transfer or BLF/BLF list key. ##0-New Call,1-Attended Transfer,2-Blind Transfer. ##The default value is 2. -transfer.dsskey_deal_type = - +transfer.dsskey_deal_type = {$yealink_dsskey_transfer_mode} ####################################################################################### @@ -527,11 +530,11 @@ auto_redial.times = ####################################################################################### ## Zero Touch ## ####################################################################################### -static.zero_touch.enable = -static.zero_touch.wait_time = -static.features.hide_zero_touch_url.enable = -static.zero_touch.network_fail_wait_times = -static.zero_touch.network_fail_delay_times = +static.zero_touch.enable = {$yealink_zero_touch_enable} +static.zero_touch.wait_time = {$yealink_zero_touch_wait_time} +static.features.hide_zero_touch_url.enable = {$yealink_zero_touch_hide} +static.zero_touch.network_fail_wait_times = {$yealink_zero_touch_wait} +static.zero_touch.network_fail_delay_times = {$yealink_zero_touch_delay} ####################################################################################### @@ -553,7 +556,7 @@ dialplan.block_out.line_id.1 = ###dialplan.dialnow.rule.X = ###dialplan.dialnow.line_id.X = -dialplan.dialnow.rule.1 = +dialplan.dialnow.rule.1 = {$yealink_dialplan_dialnow_rule_1} dialplan.dialnow.line_id.1 = ###X ranges from 1 to 100 @@ -577,8 +580,18 @@ dialplan_replace_rule.url = ###remote_phonebook.data.X.url = ###remote_phonebook.data.X.name = -remote_phonebook.data.1.url = -remote_phonebook.data.1.name = +{if isset($yealink_remote_phonebook_1_url) } +remote_phonebook.data.1.url = {$yealink_remote_phonebook_1_url} +{else} +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 isset($yealink_remote_phonebook_1_name) } +remote_phonebook.data.1.name = {$yealink_remote_phonebook_1_name} +{else} +remote_phonebook.data.1.name = Users +{/if} = + remote_phonebook.display_name = ###It enables or disables the phone to update the data of the remote phone book at a time when accessing the remote phone book. @@ -588,7 +601,7 @@ features.remote_phonebook.enter_update_enable = ##It enables or disables the phone to perform a remote phone book search when receiving an incoming call. ##0-Disabled,1-Enabled. ##The default value is 0. -features.remote_phonebook.enable = +features.remote_phonebook.enable = {$yealink_remote_phonebook_enable} ##It configures the interval (in seconds) for the phone to update the data of the remote phone book from the remote phone book server. ##The value 0 means the phone will not regularly update the data of the remote phone book from the remote phone book server. @@ -606,77 +619,78 @@ search_in_dialing.remote_phone_book.priority= ####################################################################################### ##It enables or disables LDAP feature.0-Disabled,1-Enabled. ##The default value is 0. -ldap.enable = +ldap.enable = {$ldap_enable} ##It configures the criteria for searching the contact name attributes. ##Example:ldap.name_filter = (|(cn=%)(sn=%)). ##The default value is blank. -ldap.name_filter = +ldap.name_filter = {$ldap_name_filter} ##It configures the criteria for searching the contact number attributes. ##Example:ldap.number_filter = (|(telephoneNumber=%)(mobile=%)(ipPhone=%)) ##The default value is blank. -ldap.number_filter = +ldap.number_filter = {$ldap_number_filter} ##It configures the IP address or domain name of the LDAP server. ##The default value is blank. -ldap.host = +ldap.host = {$ldap_host} ##It configures the port of the LDAP server. ##The default value is 389.Integer from 1 to 65535. -ldap.port = +ldap.port = {$ldap_port} ##It configures the LDAP search base which corresponds to the location of the LDAP phonebook. ##Example:ldap.base = dc=yealink,dc=cn. ##The default value is blank. -ldap.base = +ldap.base = {$ldap_base} ##It configures the user name for accessing the LDAP server. ##The default value is blank. -ldap.user = +ldap.user = {$ldap_user} ##It configures the password for accessing the LDAP server. ##The default value is blank. -ldap.password = +ldap.password = {$ldap_password} ##It configures the maximum of the search results returned by the LDAP server to be displayed. ##The default value is 50.Integer from 1 to 32000. -ldap.max_hits = +ldap.max_hits = {$ldap_max_hits} ##It configures the name attributes of each record to be returned by the LDAP server. ##Multiple attributes are separated by spaces.Example:ldap.name_attr =sn cn. ##The default value is blank. -ldap.name_attr = +ldap.name_attr = {$ldap_name_attr} ##It configures the number attributes of each record to be returned by the LDAP server. ##Multiple attributes are separated by spaces.Example:ldap.numb_attr = Mobile ipPhone. ##The default value is blank. -ldap.numb_attr = +ldap.numb_attr = {$ldap_numb_attr} ##It configures the display name of the contact record displayed on the LCD screen. The value of this parameter must start with “%” symbol. ##Example:ldap.display_name = %cn ##The default value is blank. -ldap.display_name = +ldap.display_name = {$ldap_display_name} ##It configures the LDAP version. ##The default value is 3. -ldap.version = +ldap.version = {$ldap_version} ##It enables or disables the phone to perform an LDAP search when receiving an incoming call. ##0-Disabled,1-Enabled. ##The default value is 0. -ldap.call_in_lookup = +ldap.call_in_lookup = {$ldap_call_in_lookup} ##It enables or disables the phone to sort the search results in alphabetical order or numerical order. ##0-Disabled,1-Enabled. ##The default value is 0. -ldap.ldap_sort = +ldap.ldap_sort = {$ldap_sort} + ##It is the electricity + start, automatic search + 00 the beginning and the beginning of the numbe ##The default value is 0.(0-Disable,1-Enable )(Except T19P/T21P Models) ldap.incoming_call_special_search.enable = ##The default value is 0,value of 0 to 2, respectively the ldap, ldap + StarTLS and ldaps ldap.tls_mode = -ldap.call_out_lookup = +ldap.call_out_lookup = {$ldap_dial_lookup} ldap.customize_label= ####V84SP4新增#### @@ -705,7 +719,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 = @@ -744,7 +758,7 @@ features.fwd_mode = features.fwd_diversion_enable = ####v84SP4新需求新增### -features.fwd.allow= +features.fwd.allow = {$yealink_fwd_allow} forward.idle_access_always_fwd.enable= phone_setting.ring_duration= @@ -768,9 +782,9 @@ features.keep_dnd.enable= ####################################################################################### ## Features Bluetooth ## ####################################################################################### -features.bluetooth_enable = +features.bluetooth_enable = features.bluetooth_enable static.bluetooth.function.enable = -features.bluetooth_adapter_name= +features.bluetooth_adapter_name= {$yealink_bluetooth_name} voice.bluetooth_headset_send= ####V85 add########## @@ -781,7 +795,7 @@ bluetooth.high_encryption.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. @@ -826,7 +840,7 @@ blf.whisper_barge_in_code= features.auto_release_bla_line= features.blf.intercom_mode.enable= -features.blf.ring_type= +features.blf.ring_type = {$yealink_blf_ring_type} features.blf.show_callinfo.enable= features.blf_extension.mode= @@ -865,7 +879,7 @@ features.hotline_delay = ####################################################################################### ## Features DTMF ## ####################################################################################### -features.dtmf.hide = +features.dtmf.hide = {$yealink_dtmf_hide} ###Except T20P Model features.dtmf.hide_delay = @@ -930,31 +944,31 @@ search_in_dialing.history.priority= ####################################################################################### ## Notification Popups ## ####################################################################################### -features.voice_mail_popup.enable= -features.missed_call_popup.enable= -features.forward_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 = ####################################################################################### ## Ringtone ## ####################################################################################### -ringtone.url = -ringtone.delete = +ringtone.url = {$yealink_ringtone_url} +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## Phone Settings ## ####################################################################################### -phone_setting.inter_digit_time = -phone_setting.ring_type = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = phone_setting.is_deal180 = phone_setting.show_code403 = phone_setting.ringback_timeout = -phone_setting.ringing_timeout = +phone_setting.ringing_timeout = {$yealink_ringing_timeout} phone_setting.page_tip = -phone_setting.predial_autodial = +phone_setting.predial_autodial = 1 phone_setting.headsetkey_mode = static.phone_setting.reserve_certs_enable = @@ -972,7 +986,7 @@ phone_setting.mail_power_led_flash_enable = phone_setting.ring_power_led_flash_enable = phone_setting.mute_power_led_flash_enable= phone_setting.hold_and_held_power_led_flash_enable = -phone_setting.missed_call_power_led_flash.enable = +phone_setting.missed_call_power_led_flash.enable = {$yealink_missed_call_power_led_flash_enable} ##It configures the level of the active backlight intensity. ##The default value is 8. @@ -985,10 +999,14 @@ 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 = -expansion_module.backgrounds= +phone_setting.backlight_time = {$yealink_backlight_time} +{if isset($yealink_t54w_wallpaper_filename)} +phone_setting.backgrounds = Config:{$yealink_t54w_wallpaper_filename} +{else} +phone_setting.backgrounds = Config:yealink_t54w_wallpaper.png +{/if} +wallpaper_upload.url = {$yealink_t54w_wallpaper} +expansion_module.backgrounds = {$yealink_wallpaper_expansion} ####################################################################################### ## Phone Setting BLF ## @@ -1011,17 +1029,17 @@ 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.emergency.number = +phone_setting.phone_lock.lock_time_out = {$yealink_lock_timeout} +phone_setting.emergency.number = {$yealink_emergency_number} ######V84SP4新需求加入####### @@ -1061,7 +1079,7 @@ multicast.receive.enhance_volume= ## Super Search ## ####################################################################################### super_search.recent_call = -super_search.url = +super_search.url = {$yealink_super_search_url} ####################################################################################### ## Security ## @@ -1076,15 +1094,25 @@ 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. ###The default value is 1.It takes effect after a reboot. -static.security.trust_certificates = +static.security.trust_certificates = {$yealink_trust_certificates} ###It configures the source certificates for the phone to authenticate for TLS connection. ###0-Default certificates,1-Custom certificates,2-All certificates. @@ -1103,6 +1131,8 @@ static.security.cn_validation = ##V83 Add phone_setting.reserve_certs_config.enable = +security.tls_cipher_list = {$yealink_security_tls_cipher_list} + ####################################################################################### ## User Mode ## ####################################################################################### @@ -1239,15 +1269,16 @@ programablekey.1.history_type = ##expansion_module.X.key.Y.xml_phonebook ## Expansion Key X ranges(SIP-T58/T56/VP59: X ranges from 1 to 3, Y ranges from 1 to 60)## - -expansion_module.1.key.1.type = -expansion_module.1.key.1.label = -expansion_module.1.key.1.value = -expansion_module.1.key.1.line = -expansion_module.1.key.1.extension = -expansion_module.1.key.1.xml_phonebook = +{foreach $keys["expansion"] as $row} +expansion_module.key.{$row.device_key_id}.type = {$row.device_key_type} +expansion_module.key.{$row.device_key_id}.label = +expansion_module.key.{$row.device_key_id}.value = {$row.device_key_value} +expansion_module.key.{$row.device_key_id}.line = {$row.device_key_line} +expansion_module.key.{$row.device_key_id}.extension = {$row.device_key_extension} +expansion_module.key.{$row.device_key_id}.xml_phonebook = {$row.device_key_label} expansion_module.page_tip.blf_call_in.led = expansion_module.page_tip.blf_call_in.enable = +{/foreach} ######V84SP4新需求新增####### expkey.type_range.custom= @@ -1262,8 +1293,8 @@ phone_setting.uc_favorite_sequence_type= ####################################################################################### forward.always.enable = forward.always.target = -forward.always.on_code = -forward.always.off_code = +forward.always.on_code = {$yealink_forward_always_on_code} +forward.always.off_code = {$yealink_forward_always_off_code} ####################################################################################### ## Forward Busy ## @@ -1327,19 +1358,37 @@ hotdesking.dsskey_outbound_enable = ###It configures the internal ringer text for distinctive ringtone. ###Example: distinctive_ring_tones.alert_info.1.text = Family ###The default value is blank. -distinctive_ring_tones.alert_info.1.text = +distinctive_ring_tones.alert_info.1.text = {$yealink_ring_text_1} +distinctive_ring_tones.alert_info.2.text = {$yealink_ring_text_2} +distinctive_ring_tones.alert_info.3.text = {$yealink_ring_text_3} +distinctive_ring_tones.alert_info.4.text = {$yealink_ring_text_4} +distinctive_ring_tones.alert_info.5.text = {$yealink_ring_text_5} +distinctive_ring_tones.alert_info.6.text = {$yealink_ring_text_6} +distinctive_ring_tones.alert_info.7.text = {$yealink_ring_text_7} +distinctive_ring_tones.alert_info.8.text = {$yealink_ring_text_8} +distinctive_ring_tones.alert_info.9.text = {$yealink_ring_text_9} +distinctive_ring_tones.alert_info.10.text = {$yealink_ring_text_10} ###It configures the desired ring tones for each text. ###The value ranges from 1 to 8, the digit stands for the appropriate ringtone. ###Ring tones 6-8 are only applicable to SIP-T46G IP phones. ###The default value is 1. -distinctive_ring_tones.alert_info.1.ringer = +distinctive_ring_tones.alert_info.1.ringer = {$yealink_ring_file_1} +distinctive_ring_tones.alert_info.2.ringer = {$yealink_ring_file_2} +distinctive_ring_tones.alert_info.3.ringer = {$yealink_ring_file_3} +distinctive_ring_tones.alert_info.4.ringer = {$yealink_ring_file_4} +distinctive_ring_tones.alert_info.5.ringer = {$yealink_ring_file_5} +distinctive_ring_tones.alert_info.6.ringer = {$yealink_ring_file_6} +distinctive_ring_tones.alert_info.7.ringer = {$yealink_ring_file_7} +distinctive_ring_tones.alert_info.8.ringer = {$yealink_ring_file_8} +distinctive_ring_tones.alert_info.9.ringer = {$yealink_ring_file_9} +distinctive_ring_tones.alert_info.10.ringer = {$yealink_ring_file_10} ####################################################################################### ## Call Waiting ## ####################################################################################### -call_waiting.enable = -call_waiting.tone = +call_waiting.enable = {$yealink_call_waiting} +call_waiting.tone = {$yealink_call_waiting_tone} call_waiting.on_code = call_waiting.off_code = @@ -1397,12 +1446,20 @@ local_contact.icon.url = local_contact.data_photo_tar.url = local_contact.photo.url = -static.directory_setting.url= +static.directory_setting.url= https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=favorite_setting.xml + + ####V84SP4新增#### directory.search_default_input_method= directory.search_type= -directory_setting.local_directory.enable= + +{if isset($yealink_local_directory_enable)} +directory_setting.local_directory.enable = {$yealink_local_directory_enable} +{else} +directory_setting.local_directory.enable = +{/if} + directory_setting.local_directory.priority= search_in_dialing.local_directory.enable= search_in_dialing.local_directory.priority= @@ -1447,36 +1504,36 @@ 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_t54w} ####################################################################################### ## RTCP ## ####################################################################################### -phone_setting.vq_rtcpxr.interval_report.enable = -phone_setting.vq_rtcpxr.session_report.enable = -phone_setting.vq_rtcpxr.states_show_on_gui.enable = -phone_setting.vq_rtcpxr.states_show_on_web.enable = -phone_setting.vq_rtcpxr_delay_threshold_critical = -phone_setting.vq_rtcpxr_delay_threshold_warning = -phone_setting.vq_rtcpxr_display_jitter.enable = -phone_setting.vq_rtcpxr_display_jitter_buffer_max.enable = -phone_setting.vq_rtcpxr_display_local_call_id.enable = -phone_setting.vq_rtcpxr_display_local_codec.enable = -phone_setting.vq_rtcpxr_display_moscq.enable = -phone_setting.vq_rtcpxr_display_moslq.enable = -phone_setting.vq_rtcpxr_display_packets_lost.enable = -phone_setting.vq_rtcpxr_display_remote_call_id.enable = -phone_setting.vq_rtcpxr_display_remote_codec.enable = -phone_setting.vq_rtcpxr_display_round_trip_delay.enable = -phone_setting.vq_rtcpxr_display_start_time.enable = -phone_setting.vq_rtcpxr_display_stop_time.enable = -phone_setting.vq_rtcpxr_display_symm_oneway_delay.enable = -phone_setting.vq_rtcpxr_interval_period = -phone_setting.vq_rtcpxr_moslq_threshold_critical = -phone_setting.vq_rtcpxr_moslq_threshold_warning = -voice.rtcp.enable = -voice.rtcp_xr.enable = -voice.rtcp_cname = +phone_setting.vq_rtcpxr.interval_report.enable = {$yealink_rtcpxr_interval_report_enable} +phone_setting.vq_rtcpxr.session_report.enable = {$yealink_rtcpxr_report_enable} +phone_setting.vq_rtcpxr.states_show_on_gui.enable = {$yealink_rtcpxr_show_gui_enable} +phone_setting.vq_rtcpxr.states_show_on_web.enable = {$yealink_rtcpxr_show_web_enable} +phone_setting.vq_rtcpxr_delay_threshold_critical = {$yealink_rtcpxr_delay_threshold_critical} +phone_setting.vq_rtcpxr_delay_threshold_warning = {$yealink_rtcpxr_delay_threshold_warning} +phone_setting.vq_rtcpxr_display_jitter.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_jitter_buffer_max.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_local_call_id.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_local_codec.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_moscq.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_moslq.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_packets_lost.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_remote_call_id.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_remote_codec.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_round_trip_delay.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_start_time.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_stop_time.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_display_symm_oneway_delay.enable = {$yealink_rtcpxr_disp_enable} +phone_setting.vq_rtcpxr_interval_period = {$yealink_rtcpxr_interval} +phone_setting.vq_rtcpxr_moslq_threshold_critical = {$yealink_rtcpxr_mos_threshold_critical} +phone_setting.vq_rtcpxr_moslq_threshold_warning = {$yealink_rtcpxr_mos_threshold_warning} +voice.rtcp.enable = {$yealink_rtcp_enable} +voice.rtcp_xr.enable = {$yealink_rtcpxr_enable} +voice.rtcp_cname = {$yealink_rtcp_cname} @@ -1506,7 +1563,7 @@ dns_cache_naptr.1.ttl = ## Add Time 2015.6.26 static.network.attempt_expired_time = features.action_uri_force_autop = -features.save_init_num_to_history.enable = +features.save_init_num_to_history.enable = 0 features.action_uri.enable = features.forward.emergency.enable = features.forward.emergency.authorized_number = @@ -1574,23 +1631,46 @@ static.network.wifi.static_dns_enable= ## V80-SP2 Add ## ####################################################################################### ##Add Time 2016.5.26 -features.power_saving.enable= -features.power_saving.office_hour.idle_timeout = -features.power_saving.off_hour.idle_timeout = -features.power_saving.user_input_ext.idle_timeout= -features.power_saving.office_hour.monday = -features.power_saving.office_hour.tuesday = -features.power_saving.office_hour.wednesday = -features.power_saving.office_hour.thursday = -features.power_saving.office_hour.friday = -features.power_saving.office_hour.saturday = -features.power_saving.office_hour.sunday = -screensaver.wait_time= +features.power_saving.enable = {$yealink_ps_enabled} + +##Written in minutes +features.power_saving.office_hour.idle_timeout = {$yealink_ps_hour_timeout} +features.power_saving.off_hour.idle_timeout = {$yealink_ps_offhour_timeout} +features.power_saving.user_input_ext.idle_timeout = {$yealink_ps_idle_timeout} + +##Written in 24hr, values should be comma delimited, e.g. 9,17 +{if isset($yealink_ps_days_all)} +features.power_saving.office_hour.monday = {$yealink_ps_days_all} +features.power_saving.office_hour.tuesday = {$yealink_ps_days_all} +features.power_saving.office_hour.wednesday = {$yealink_ps_days_all} +features.power_saving.office_hour.thursday = {$yealink_ps_days_all} +features.power_saving.office_hour.friday = {$yealink_ps_days_all} +features.power_saving.office_hour.saturday = {$yealink_ps_days_all} +features.power_saving.office_hour.sunday = {$yealink_ps_days_all} +{elseif isset($yealink_ps_days_workweek)} +features.power_saving.office_hour.monday = {$yealink_ps_days_workweek} +features.power_saving.office_hour.tuesday = {$yealink_ps_days_workweek} +features.power_saving.office_hour.wednesday = {$yealink_ps_days_workweek} +features.power_saving.office_hour.thursday = {$yealink_ps_days_workweek} +features.power_saving.office_hour.friday = {$yealink_ps_days_workweek} +features.power_saving.office_hour.saturday = {$yealink_ps_day_saturday} +features.power_saving.office_hour.sunday = {$yealink_ps_day_sunday} +{else} +features.power_saving.office_hour.monday = {$yealink_ps_day_monday} +features.power_saving.office_hour.tuesday = {$yealink_ps_day_tuesday} +features.power_saving.office_hour.wednesday = {$yealink_ps_day_wednesday} +features.power_saving.office_hour.thursday = {$yealink_ps_day_thursday} +features.power_saving.office_hour.friday = {$yealink_ps_day_friday} +features.power_saving.office_hour.saturday = {$yealink_ps_day_saturday} +features.power_saving.office_hour.sunday = {$yealink_ps_day_sunday} +{/if} + +screensaver.wait_time = {$yealink_screensaver_wait} ##V83 Add -features.power_saving.power_led_flash.off_time= -features.power_saving.power_led_flash.on_time= -screensaver.type= +features.power_saving.power_led_flash.off_time = {$yealink_ps_led_off} +features.power_saving.power_led_flash.on_time = {$yealink_ps_led_on} +screensaver.type = {$yealink_screensaver_type} ####################################################################################### ## Digitmap ## @@ -1658,31 +1738,34 @@ multicast.paging_address.1.channel = features.keep_mute.enable = voice.tone.secondary_dial = -features.power_saving.intelligent_mode = +##Written in minutes +features.power_saving.intelligent_mode = {$yealink_ps_intel_mode} + features.blf_active_backlight.enable = features.intercom.headset_prior.enable = ####################################################################################### ## Time&Date ## ####################################################################################### -auto_dst.url = +lcl.datetime.date.format = +auto_dst.url = {$yealink_auto_dst_url} local_time.manual_time_enable = local_time.manual_ntp_srv_prior = -local_time.time_format = -local_time.date_format = -local_time.dhcp_time = +local_time.time_format = {$yealink_time_format} +local_time.date_format = {$yealink_date_format} +local_time.dhcp_time = {$yealink_dhcp_time} -local_time.summer_time = -local_time.dst_time_type = -local_time.start_time = -local_time.end_time = -local_time.offset_time = -local_time.interval = +local_time.summer_time = {$yealink_summer_time} +local_time.dst_time_type = {$yealink_dst_type} +local_time.start_time = {$yealink_time_zone_start_time} +local_time.end_time = {$yealink_time_zone_end_time} +local_time.offset_time = {$yealink_offset_time} +local_time.interval = {$yealink_time_update} -local_time.ntp_server1 = -local_time.ntp_server2 = -local_time.time_zone = -local_time.time_zone_name = +local_time.ntp_server1 = {$ntp_server_primary} +local_time.ntp_server2 = {$ntp_server_secondary} +local_time.time_zone = {$yealink_time_zone} +local_time.time_zone_name = {$yealink_time_zone_name} ####V84SP4新需求新增####### lcl.datetime.date.format= @@ -1764,7 +1847,7 @@ default_input_method.xsi_password= ## Features Sync ## ####################################################################################### call_waiting.mode = -features.feature_key_sync.enable= +features.feature_key_sync.enable = {$yealink_feature_key_sync} features.dnd.feature_key_sync.local_processing.enable = features.dnd.feature_key_sync.enable = features.forward.feature_key_sync.enable= @@ -1824,8 +1907,8 @@ search_in_dialing.bw_uc_buddies.priority = features.pickup.group_pickup_enable = features.pickup.group_pickup_code = -features.pickup.direct_pickup_enable = -features.pickup.direct_pickup_code = +features.pickup.direct_pickup_enable = {$yealink_direct_pickup_enable} +features.pickup.direct_pickup_code = ** features.pickup.blf_visual_enable = features.pickup.blf_audio_enable = @@ -1880,7 +1963,7 @@ features.doorphone.amount = features.csta_control.enable = static.network.ethernet_as_wifi.enable = -static.security.default_ssl_method = +static.security.default_ssl_method = {$yealink_security_default_ssl_method} features.video_call_bandwidth = video.enable = features.default_layout = @@ -1971,7 +2054,7 @@ softkey.1.use.dialtone= ####################################################################################### features.voice_mail_alert.enable= features.voice_mail_tone_enable= -features.hide_feature_access_codes.enable= +features.hide_feature_access_codes.enable = {$yealink_hide_feature_access_codes_enable} ####################################################################################### ## XML ## @@ -1996,6 +2079,36 @@ push_xml.username= remote_phonebook.data.1.password= remote_phonebook.data.1.username= + +{if isset($yealink_remote_phonebook_2_name) } +remote_phonebook.data.2.name = {$yealink_remote_phonebook_2_name} +{else} +remote_phonebook.data.2.name = Groups +{/if} +{if isset($yealink_remote_phonebook_2_url) } +remote_phonebook.data.2.url = {$yealink_remote_phonebook_2_url} +{else} +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 isset($yealink_remote_phonebook_3_name) } +remote_phonebook.data.3.name = {$yealink_remote_phonebook_3_name} +{else} +remote_phonebook.data.3.name = Extensions +{/if} +{if isset($yealink_remote_phonebook_3_url) } +remote_phonebook.data.3.url = {$yealink_remote_phonebook_3_url} +{else} +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} + +remote_phonebook.data.4.name = {$yealink_remote_phonebook_4_name} +remote_phonebook.data.4.url = {$yealink_remote_phonebook_4_url} + +remote_phonebook.data.5.name = {$yealink_remote_phonebook_5_name} +remote_phonebook.data.5.url = {$yealink_remote_phonebook_5_url} + + ####################################################################################### ## Features USB ## ####################################################################################### @@ -2045,7 +2158,7 @@ programablekey.4.icon= ####################################################################################### ## Call Recording ## ####################################################################################### -features.usb_call_recording.enable= +features.usb_call_recording.enable= {$yealink_usb_record_enable} ####################################################################################### ## Log Backup ## @@ -2181,9 +2294,10 @@ force.voice.ring_vol= phone_setting.incoming_call.horizontal_roll_interval= phone_setting.incoming_call.reject.enable= phone_setting.incoming_call_when_dialing.priority= +{if isset($yealink_hold_or_swap_mode)}phone_setting.hold_or_swap.mode = {$yealink_hold_or_swap_mode}{else}phone_setting.hold_or_swap.mode = 0{/if} phone_setting.call_appearance.calls_per_linekey= phone_setting.call_appearance.conference_via_new_linekey= -phone_setting.call_appearance.transfer_via_new_linekey= +phone_setting.call_appearance.transfer_via_new_linekey={$yealink_transfer_via_new_linekey} phone_setting.call_display_name.mode= phone_setting.custom_softkey.apply_to_states= phone_setting.end_call_net_disconnect.enable= @@ -2396,7 +2510,7 @@ phone_setting.phone_lock.emergency.number_rule= phone_setting.recorder_tone.enable= phone_setting.vq_rtcpxr.min_callduration= phone_setting.wifi_security_check.enable= -screensaver.xml_browser.url= +screensaver.xml_browser.url = {$yealink_screensaver_xml_url} static.security.802_1x.ca_cert= static.security.802_1x.cn_validation= static.security.802_1x.dev_cert=