diff --git a/resources/templates/provision/yealink/cp860/y000000000037.cfg b/resources/templates/provision/yealink/cp860/y000000000037.cfg index cacd82a802..05380df019 100644 --- a/resources/templates/provision/yealink/cp860/y000000000037.cfg +++ b/resources/templates/provision/yealink/cp860/y000000000037.cfg @@ -894,13 +894,13 @@ features.pickup.blf_audio_enable = ## Phone Setting ## ####################################################################################### #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1273,18 +1273,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1489,10 +1490,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/cp920/y000000000000.cfg b/resources/templates/provision/yealink/cp920/y000000000000.cfg index 275bcc71db..39cb0e8fba 100644 --- a/resources/templates/provision/yealink/cp920/y000000000000.cfg +++ b/resources/templates/provision/yealink/cp920/y000000000000.cfg @@ -894,13 +894,13 @@ features.pickup.blf_audio_enable = ## Phone Setting ## ####################################################################################### #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1273,18 +1273,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1489,10 +1490,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/cp960/y000000000000.cfg b/resources/templates/provision/yealink/cp960/y000000000000.cfg index 608b630f4f..82726425ce 100644 --- a/resources/templates/provision/yealink/cp960/y000000000000.cfg +++ b/resources/templates/provision/yealink/cp960/y000000000000.cfg @@ -894,13 +894,13 @@ features.pickup.blf_audio_enable = ## Phone Setting ## ####################################################################################### #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1273,18 +1273,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = -programablekey.1.pickup_value = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1489,10 +1490,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t19p/y000000000053.cfg b/resources/templates/provision/yealink/t19p/y000000000053.cfg index 826a34cd31..447f448896 100644 --- a/resources/templates/provision/yealink/t19p/y000000000053.cfg +++ b/resources/templates/provision/yealink/t19p/y000000000053.cfg @@ -576,18 +576,19 @@ linekey.6.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. - -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = +{/foreach} ########################################################################################## ## Expansion Key For T38G only ## @@ -1124,7 +1125,7 @@ features.blf_and_callpark_idle_led_enable = #features.factory_pwd_enable = #Configure the time (in seconds) the phone automatically dial out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the flash hook time (in milliseconds). It ranges from 0 to 799, the default value is 1. phone_setting.flash_hook_timer = @@ -1138,7 +1139,7 @@ phone_setting.phone_lock.lock_time_out = #Configure the ring tone for the phone. System ring tones are: Ring1.wav (default), Ring2.wav - Ring8.wav. #You can configure the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Busy.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} #Configure the active backlight level. It ranges from 1 to 10, the default value is 2. #The same level for different phones may result in different backlight intensities. @@ -1205,10 +1206,10 @@ firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t19p} ####################################################################################### ## Configure the access URL of the customized ringtones ## ####################################################################################### -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## Configure the access URL of language file ## diff --git a/resources/templates/provision/yealink/t20p/y000000000007.cfg b/resources/templates/provision/yealink/t20p/y000000000007.cfg index 8623957ac2..1e4bee9287 100644 --- a/resources/templates/provision/yealink/t20p/y000000000007.cfg +++ b/resources/templates/provision/yealink/t20p/y000000000007.cfg @@ -576,18 +576,19 @@ linekey.6.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. - -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = +{/foreach} ########################################################################################## ## Expansion Key For T38G only ## @@ -1124,7 +1125,7 @@ features.blf_and_callpark_idle_led_enable = #features.factory_pwd_enable = #Configure the time (in seconds) the phone automatically dial out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the flash hook time (in milliseconds). It ranges from 0 to 799, the default value is 1. phone_setting.flash_hook_timer = @@ -1138,7 +1139,7 @@ phone_setting.phone_lock.lock_time_out = #Configure the ring tone for the phone. System ring tones are: Ring1.wav (default), Ring2.wav - Ring8.wav. #You can configure the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Busy.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} #Configure the active backlight level. It ranges from 1 to 10, the default value is 2. #The same level for different phones may result in different backlight intensities. @@ -1205,10 +1206,10 @@ firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t20p} ####################################################################################### ## Configure the access URL of the customized ringtones ## ####################################################################################### -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## Configure the access URL of language file ## diff --git a/resources/templates/provision/yealink/t21p/y000000000052.cfg b/resources/templates/provision/yealink/t21p/y000000000052.cfg index 287e603062..e647f7c2bd 100644 --- a/resources/templates/provision/yealink/t21p/y000000000052.cfg +++ b/resources/templates/provision/yealink/t21p/y000000000052.cfg @@ -853,13 +853,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1234,18 +1234,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1468,10 +1469,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t22p/y000000000005.cfg b/resources/templates/provision/yealink/t22p/y000000000005.cfg index d6c9bf28fe..b1efd75574 100644 --- a/resources/templates/provision/yealink/t22p/y000000000005.cfg +++ b/resources/templates/provision/yealink/t22p/y000000000005.cfg @@ -576,18 +576,19 @@ linekey.6.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. - -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = +{/foreach} ########################################################################################## ## Expansion Key For T38G only ## @@ -1124,7 +1125,7 @@ features.blf_and_callpark_idle_led_enable = #features.factory_pwd_enable = #Configure the time (in seconds) the phone automatically dial out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the flash hook time (in milliseconds). It ranges from 0 to 799, the default value is 1. phone_setting.flash_hook_timer = @@ -1138,7 +1139,7 @@ phone_setting.phone_lock.lock_time_out = #Configure the ring tone for the phone. System ring tones are: Ring1.wav (default), Ring2.wav - Ring8.wav. #You can configure the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Busy.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} #Configure the active backlight level. It ranges from 1 to 10, the default value is 2. #The same level for different phones may result in different backlight intensities. @@ -1205,10 +1206,10 @@ firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t22p} ####################################################################################### ## Configure the access URL of the customized ringtones ## ####################################################################################### -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## Configure the access URL of language file ## diff --git a/resources/templates/provision/yealink/t23g/y000000000044.cfg b/resources/templates/provision/yealink/t23g/y000000000044.cfg index 9e3c946c7b..867001e63e 100644 --- a/resources/templates/provision/yealink/t23g/y000000000044.cfg +++ b/resources/templates/provision/yealink/t23g/y000000000044.cfg @@ -893,13 +893,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1274,18 +1274,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1508,10 +1509,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t23p/y000000000044.cfg b/resources/templates/provision/yealink/t23p/y000000000044.cfg index fb633ad4c5..d21430ac4e 100644 --- a/resources/templates/provision/yealink/t23p/y000000000044.cfg +++ b/resources/templates/provision/yealink/t23p/y000000000044.cfg @@ -894,13 +894,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1275,18 +1275,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1509,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t26p/y000000000004.cfg b/resources/templates/provision/yealink/t26p/y000000000004.cfg index 2757e3cb9d..978a34aa19 100644 --- a/resources/templates/provision/yealink/t26p/y000000000004.cfg +++ b/resources/templates/provision/yealink/t26p/y000000000004.cfg @@ -576,18 +576,19 @@ linekey.6.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. - -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = +{/foreach} ########################################################################################## ## Expansion Key For T38G only ## @@ -1124,7 +1125,7 @@ features.blf_and_callpark_idle_led_enable = #features.factory_pwd_enable = #Configure the time (in seconds) the phone automatically dial out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the flash hook time (in milliseconds). It ranges from 0 to 799, the default value is 1. phone_setting.flash_hook_timer = @@ -1138,7 +1139,7 @@ phone_setting.phone_lock.lock_time_out = #Configure the ring tone for the phone. System ring tones are: Ring1.wav (default), Ring2.wav - Ring8.wav. #You can configure the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Busy.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} #Configure the active backlight level. It ranges from 1 to 10, the default value is 2. #The same level for different phones may result in different backlight intensities. @@ -1205,10 +1206,10 @@ firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t26p} ####################################################################################### ## Configure the access URL of the customized ringtones ## ####################################################################################### -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## Configure the access URL of language file ## diff --git a/resources/templates/provision/yealink/t27g/y000000000069.cfg b/resources/templates/provision/yealink/t27g/y000000000069.cfg index ba9a3ffdc9..e5a4e3cb17 100644 --- a/resources/templates/provision/yealink/t27g/y000000000069.cfg +++ b/resources/templates/provision/yealink/t27g/y000000000069.cfg @@ -893,13 +893,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1274,18 +1274,20 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = ########################################################################################## ## Expansion Key ## @@ -1508,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t27p/y000000000045.cfg b/resources/templates/provision/yealink/t27p/y000000000045.cfg index 093293f1de..6f1c300b22 100644 --- a/resources/templates/provision/yealink/t27p/y000000000045.cfg +++ b/resources/templates/provision/yealink/t27p/y000000000045.cfg @@ -894,13 +894,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1275,18 +1275,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1509,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t28p/y000000000000.cfg b/resources/templates/provision/yealink/t28p/y000000000000.cfg index 3b954e0cb8..b073691f01 100644 --- a/resources/templates/provision/yealink/t28p/y000000000000.cfg +++ b/resources/templates/provision/yealink/t28p/y000000000000.cfg @@ -576,18 +576,19 @@ linekey.6.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. - -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = +{/foreach} ########################################################################################## ## Expansion Key £¨For T38G only£© ## @@ -1124,7 +1125,7 @@ features.blf_and_callpark_idle_led_enable = #features.factory_pwd_enable = 1 #Configure the time (in seconds) the phone automatically dial out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the flash hook time (in milliseconds). It ranges from 0 to 799, the default value is 1. phone_setting.flash_hook_timer = @@ -1138,7 +1139,7 @@ phone_setting.phone_lock.lock_time_out = #Configure the ring tone for the phone. System ring tones are: Ring1.wav (default), Ring2.wav¡­¡­Ring8.wav. #You can configure the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Busy.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} #Configure the active backlight level. It ranges from 1 to 10, the default value is 2. #The same level for different phones may result in different backlight intensities. @@ -1205,10 +1206,10 @@ firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t28p} ####################################################################################### ## Configure the access URL of the customized ringtones ## ####################################################################################### -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## Configure the access URL of language file ## diff --git a/resources/templates/provision/yealink/t29g/y000000000046.cfg b/resources/templates/provision/yealink/t29g/y000000000046.cfg index 88cd4ba8ad..f0c618f792 100644 --- a/resources/templates/provision/yealink/t29g/y000000000046.cfg +++ b/resources/templates/provision/yealink/t29g/y000000000046.cfg @@ -894,13 +894,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1275,18 +1275,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1509,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t32g/y000000000032.cfg b/resources/templates/provision/yealink/t32g/y000000000032.cfg index dcfd7ca3db..643a92aa34 100644 --- a/resources/templates/provision/yealink/t32g/y000000000032.cfg +++ b/resources/templates/provision/yealink/t32g/y000000000032.cfg @@ -576,18 +576,19 @@ linekey.6.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. - -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = +{/foreach} ########################################################################################## ## Expansion Key £¨For T38G only£© ## @@ -1121,7 +1122,7 @@ features.pickup.blf_audio_enable = features.blf_and_callpark_idle_led_enable = #Configure the time (in seconds) the phone automatically dial out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the flash hook time (in milliseconds). It ranges from 0 to 799, the default value is 1. phone_setting.flash_hook_timer = @@ -1135,7 +1136,7 @@ phone_setting.phone_lock.lock_time_out = #Configure the ring tone for the phone. System ring tones are: Ring1.wav (default), Ring2.wav¡­¡­Ring8.wav. #You can configure the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Busy.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} #Configure the active backlight level. It ranges from 1 to 10, the default value is 2. #The same level for different phones may result in different backlight intensities. @@ -1202,10 +1203,10 @@ firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t32g} ####################################################################################### ## Configure the access URL of the customized ringtones ## ####################################################################################### -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## Configure the access URL of language file ## diff --git a/resources/templates/provision/yealink/t38g/y000000000038.cfg b/resources/templates/provision/yealink/t38g/y000000000038.cfg index 51460bdc34..54e2e75d45 100644 --- a/resources/templates/provision/yealink/t38g/y000000000038.cfg +++ b/resources/templates/provision/yealink/t38g/y000000000038.cfg @@ -576,18 +576,19 @@ linekey.6.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. - -programablekey.1.type = -programablekey.1.line = -programablekey.1.value = -programablekey.1.xml_phonebook = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.label = +{/foreach} ########################################################################################## ## Expansion Key £¨For T38G only£© ## @@ -1124,7 +1125,7 @@ features.blf_and_callpark_idle_led_enable = 1 #features.factory_pwd_enable = 1 #Configure the time (in seconds) the phone automatically dial out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the flash hook time (in milliseconds). It ranges from 0 to 799, the default value is 1. phone_setting.flash_hook_timer = @@ -1138,7 +1139,7 @@ phone_setting.phone_lock.lock_time_out = #Configure the ring tone for the phone. System ring tones are: Ring1.wav (default), Ring2.wav - Ring8.wav. #You can configure the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Busy.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} #Configure the active backlight level. It ranges from 1 to 10, the default value is 2. #The same level for different phones may result in different backlight intensities. @@ -1205,10 +1206,10 @@ firmware.url = {$yealink_firmware_url}/{$yealink_firmware_t38g} ####################################################################################### ## Configure the access URL of the customized ringtones ## ####################################################################################### -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## Configure the access URL of language file ## diff --git a/resources/templates/provision/yealink/t40g/y000000000076.cfg b/resources/templates/provision/yealink/t40g/y000000000076.cfg index 6549e7edf6..38d8516f9f 100644 --- a/resources/templates/provision/yealink/t40g/y000000000076.cfg +++ b/resources/templates/provision/yealink/t40g/y000000000076.cfg @@ -894,13 +894,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1275,18 +1275,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1509,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t40p/y000000000054.cfg b/resources/templates/provision/yealink/t40p/y000000000054.cfg index f9d445aceb..237bb4178d 100644 --- a/resources/templates/provision/yealink/t40p/y000000000054.cfg +++ b/resources/templates/provision/yealink/t40p/y000000000054.cfg @@ -894,13 +894,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1275,18 +1275,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1509,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t41p/y000000000036.cfg b/resources/templates/provision/yealink/t41p/y000000000036.cfg index 3318c67440..035082e1ed 100644 --- a/resources/templates/provision/yealink/t41p/y000000000036.cfg +++ b/resources/templates/provision/yealink/t41p/y000000000036.cfg @@ -894,13 +894,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1275,18 +1275,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1509,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t41s/y000000000068.cfg b/resources/templates/provision/yealink/t41s/y000000000068.cfg index 0162d74d6a..424265d359 100644 --- a/resources/templates/provision/yealink/t41s/y000000000068.cfg +++ b/resources/templates/provision/yealink/t41s/y000000000068.cfg @@ -818,14 +818,19 @@ directory_setting.local_directory.priority = #programablekey.X.extension ##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## -programablekey.1.type = -programablekey.1.label = -programablekey.1.value = -programablekey.1.line = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.xml_phonebook = -programablekey.1.pickup_value = -programablekey.1.extension = +{/foreach} ####################################################################################### @@ -842,14 +847,6 @@ programablekey.1.extension = ##LineKeyX ranges(T48G/S: X ranges from 1 to 29. T54S/T46G/T46S/T29G: X ranges from 1 to 27. T42G/T42S/T41P/T41S: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G: X ranges from 1 to 21. T21(P) E2: X ranges from 1 to 2.)## ## Not support T19P_E2 -#linekey.1.label = -#linekey.1.line = -#linekey.1.value = -#linekey.1.pickup_value = -#linekey.1.extension = -#linekey.1.type = -#linekey.1.xml_phonebook = - {foreach $keys['line'] as $row} #Configure Line Key {$row.device_key_id} linekey.{$row.device_key_id}.line = {$row.device_key_line} @@ -1274,10 +1271,10 @@ phone_setting.inactive_backlight_level = 1 phone_setting.active_backlight_level= phone_setting.predial_autodial = 1 -ringtone.url= -ringtone.delete= -phone_setting.ring_type= -phone_setting.inter_digit_time= +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} ##Only T54S Model supports the parameter phone_setting.idle_clock_display.enable = diff --git a/resources/templates/provision/yealink/t42g/y000000000029.cfg b/resources/templates/provision/yealink/t42g/y000000000029.cfg index 9c6afb20ec..c1733fb36f 100644 --- a/resources/templates/provision/yealink/t42g/y000000000029.cfg +++ b/resources/templates/provision/yealink/t42g/y000000000029.cfg @@ -894,13 +894,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1275,18 +1275,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1509,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t42s/y000000000067.cfg b/resources/templates/provision/yealink/t42s/y000000000067.cfg index 5e34fcbd94..58ae396fc1 100644 --- a/resources/templates/provision/yealink/t42s/y000000000067.cfg +++ b/resources/templates/provision/yealink/t42s/y000000000067.cfg @@ -818,15 +818,19 @@ directory_setting.local_directory.priority = #programablekey.X.extension ##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## -programablekey.1.type = -programablekey.1.label = -programablekey.1.value = -programablekey.1.line = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.xml_phonebook = -programablekey.1.pickup_value = -programablekey.1.extension = - +{/foreach} ####################################################################################### ## Linekey ## @@ -842,14 +846,6 @@ programablekey.1.extension = ##LineKeyX ranges(T48G/S: X ranges from 1 to 29. T54S/T46G/T46S/T29G: X ranges from 1 to 27. T42G/T42S/T41P/T41S: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G: X ranges from 1 to 21. T21(P) E2: X ranges from 1 to 2.)## ## Not support T19P_E2 -#linekey.1.label = -#linekey.1.line = -#linekey.1.value = -#linekey.1.pickup_value = -#linekey.1.extension = -#linekey.1.type = -#linekey.1.xml_phonebook = - {foreach $keys['line'] as $row} #Configure Line Key {$row.device_key_id} linekey.{$row.device_key_id}.line = {$row.device_key_line} @@ -1274,10 +1270,10 @@ phone_setting.inactive_backlight_level = 1 phone_setting.active_backlight_level= phone_setting.predial_autodial = 1 -ringtone.url= -ringtone.delete= -phone_setting.ring_type= -phone_setting.inter_digit_time= +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} ##Only T54S Model supports the parameter phone_setting.idle_clock_display.enable = diff --git a/resources/templates/provision/yealink/t46g/y000000000028.cfg b/resources/templates/provision/yealink/t46g/y000000000028.cfg index e867205faf..7dafe1c4ee 100755 --- a/resources/templates/provision/yealink/t46g/y000000000028.cfg +++ b/resources/templates/provision/yealink/t46g/y000000000028.cfg @@ -894,13 +894,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1275,18 +1275,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1509,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t46s/y000000000066.cfg b/resources/templates/provision/yealink/t46s/y000000000066.cfg index 05614ebaf2..d7c2e01ef4 100644 --- a/resources/templates/provision/yealink/t46s/y000000000066.cfg +++ b/resources/templates/provision/yealink/t46s/y000000000066.cfg @@ -818,14 +818,19 @@ directory_setting.local_directory.priority = #programablekey.X.extension ##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## -programablekey.1.type = -programablekey.1.label = -programablekey.1.value = -programablekey.1.line = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.xml_phonebook = -programablekey.1.pickup_value = -programablekey.1.extension = +{/foreach} ####################################################################################### @@ -842,14 +847,6 @@ programablekey.1.extension = ##LineKeyX ranges(T48G/S: X ranges from 1 to 29. T54S/T46G/T46S/T29G: X ranges from 1 to 27. T42G/T42S/T41P/T41S: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G: X ranges from 1 to 21. T21(P) E2: X ranges from 1 to 2.)## ## Not support T19P_E2 -#linekey.1.label = -#linekey.1.line = -#linekey.1.value = -#linekey.1.pickup_value = -#linekey.1.extension = -#linekey.1.type = -#linekey.1.xml_phonebook = - {foreach $keys['line'] as $row} #Configure Line Key {$row.device_key_id} linekey.{$row.device_key_id}.line = {$row.device_key_line} @@ -1274,10 +1271,10 @@ phone_setting.inactive_backlight_level = 1 phone_setting.active_backlight_level= phone_setting.predial_autodial = 1 -ringtone.url= -ringtone.delete= -phone_setting.ring_type= -phone_setting.inter_digit_time= +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} ##Only T54S Model supports the parameter phone_setting.idle_clock_display.enable = diff --git a/resources/templates/provision/yealink/t48g/y000000000035.cfg b/resources/templates/provision/yealink/t48g/y000000000035.cfg index a95932dc36..54acb4f6e2 100644 --- a/resources/templates/provision/yealink/t48g/y000000000035.cfg +++ b/resources/templates/provision/yealink/t48g/y000000000035.cfg @@ -894,13 +894,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1275,18 +1275,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1509,10 +1510,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t48s/y000000000065.cfg b/resources/templates/provision/yealink/t48s/y000000000065.cfg index 9a3f53cb86..b5edb4325d 100644 --- a/resources/templates/provision/yealink/t48s/y000000000065.cfg +++ b/resources/templates/provision/yealink/t48s/y000000000065.cfg @@ -818,14 +818,19 @@ directory_setting.local_directory.priority = #programablekey.X.extension ##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## -programablekey.1.type = -programablekey.1.label = -programablekey.1.value = -programablekey.1.line = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.xml_phonebook = -programablekey.1.pickup_value = -programablekey.1.extension = +{/foreach} ####################################################################################### @@ -1274,10 +1279,10 @@ phone_setting.inactive_backlight_level = 1 phone_setting.active_backlight_level= phone_setting.predial_autodial = 1 -ringtone.url= -ringtone.delete= -phone_setting.ring_type= -phone_setting.inter_digit_time= +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} ##Only T54S Model supports the parameter phone_setting.idle_clock_display.enable = diff --git a/resources/templates/provision/yealink/t49g/y000000000051.cfg b/resources/templates/provision/yealink/t49g/y000000000051.cfg index ec508d4475..d1d823b40f 100644 --- a/resources/templates/provision/yealink/t49g/y000000000051.cfg +++ b/resources/templates/provision/yealink/t49g/y000000000051.cfg @@ -853,13 +853,13 @@ phone_setting.called_party_info_display.enable = 1 phone_setting.call_info_display_method = 0 #Configure the time (in seconds) the phone automatically dials out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone when the transfer fails. The valid values are: Ring1.wav.... Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav #phone_setting.ring_type = Resource:Ring1.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} phone_setting.ring_for_tranfailed = #Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); @@ -1234,18 +1234,19 @@ linekey.27.label = #The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1. -#programablekey.x.value = -#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group. -#programablekey.x.history_type = - -#programablekey.x.label--This parameter is only available to the key 1 to key 4. -#programablekey.1.type = -#programablekey.1.line = -#programablekey.1.value = -#programablekey.1.xml_phonebook = -#programablekey.1.history_type = -#programablekey.1.label = -#programablekey.1.pickup_value = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = +{/foreach} ########################################################################################## ## Expansion Key ## @@ -1468,10 +1469,10 @@ action_url.transfer_failed = ####################################################################################### #Before using this parameter, you should store the desired ring tone (x.wav) to the provisioning server. #For more information, refer to Yealink Auto Provisioning User Guide. -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones. -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## UI Language ## diff --git a/resources/templates/provision/yealink/t52s/y000000000074.cfg b/resources/templates/provision/yealink/t52s/y000000000074.cfg index eab5858a20..54c2be541d 100644 --- a/resources/templates/provision/yealink/t52s/y000000000074.cfg +++ b/resources/templates/provision/yealink/t52s/y000000000074.cfg @@ -340,11 +340,19 @@ static.security.cn_validation = static.security.dev_cert = static.security.ca_cert = static.security.trust_certificates = -static.security.user_password = {$admin_name}:{$admin_password} -static.security.user_name.var = {$var_name} -static.security.user_name.admin = {$admin_name} -static.security.user_name.user = {$user_name} security.tls_cipher_list = +{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} ####################################################################################### @@ -807,14 +815,19 @@ directory_setting.local_directory.priority = #programablekey.X.extension ##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## -programablekey.1.type = -programablekey.1.label = -programablekey.1.value = -programablekey.1.line = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.xml_phonebook = -programablekey.1.pickup_value = -programablekey.1.extension = +{/foreach} ####################################################################################### @@ -831,14 +844,6 @@ programablekey.1.extension = ##LineKeyX ranges(T48G/S: X ranges from 1 to 29. T54S/T46G/T46S/T29G: X ranges from 1 to 27. T42G/T42S/T41P/T41S: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G: X ranges from 1 to 21. T21(P) E2: X ranges from 1 to 2.)## ## Not support T19P_E2 -#linekey.1.label = -#linekey.1.line = -#linekey.1.value = -#linekey.1.pickup_value = -#linekey.1.extension = -#linekey.1.type = -#linekey.1.xml_phonebook = - {foreach $keys['line'] as $row} #Configure Line Key {$row.device_key_id} linekey.{$row.device_key_id}.line = {$row.device_key_line} @@ -851,7 +856,6 @@ linekey.{$row.device_key_id}.extension = {$row.device_key_extension} linekey.{$row.device_key_id}.type = {$row.device_key_type} linekey.{$row.device_key_id}.xml_phonebook = linekey.{$row.device_key_id}.label = {$row.device_key_label} - {/foreach} @@ -1263,10 +1267,10 @@ phone_setting.inactive_backlight_level = 1 phone_setting.active_backlight_level= phone_setting.predial_autodial = 1 -ringtone.url= -ringtone.delete= -phone_setting.ring_type= -phone_setting.inter_digit_time= +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} ##Only T54S Model supports the parameter phone_setting.idle_clock_display.enable = diff --git a/resources/templates/provision/yealink/t54s/y000000000070.cfg b/resources/templates/provision/yealink/t54s/y000000000070.cfg index 3900159dfc..8679f44465 100644 --- a/resources/templates/provision/yealink/t54s/y000000000070.cfg +++ b/resources/templates/provision/yealink/t54s/y000000000070.cfg @@ -340,11 +340,19 @@ static.security.cn_validation = static.security.dev_cert = static.security.ca_cert = static.security.trust_certificates = -static.security.user_password = {$admin_name}:{$admin_password} -static.security.user_name.var = {$var_name} -static.security.user_name.admin = {$admin_name} -static.security.user_name.user = {$user_name} security.tls_cipher_list = +{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} ####################################################################################### @@ -807,15 +815,19 @@ directory_setting.local_directory.priority = #programablekey.X.extension ##Programablekey X ranges(T48G/T48S/T46G/T46S: X=1-10, 12-14;T42G/T42S/T41P/T41S/T40P/T40G: X=1-10, 13;T29G/T27P/T27G: X=1-14;T23P/T23G/T21(P) E2: 1-10, 14;T19(P) E2: X=1-9, 13, 14;)## -programablekey.1.type = -programablekey.1.label = -programablekey.1.value = -programablekey.1.line = +{foreach $keys["programmable"] as $row} +programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} +programablekey.{$row.device_key_id}.line = {$row.device_key_line} +programablekey.{$row.device_key_id}.value = {$row.device_key_value} +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} +programablekey.{$row.device_key_id}.label = {$row.device_key_label} +programablekey.1.pickup_value ={$row.device_key_extension} programablekey.1.history_type = -programablekey.1.xml_phonebook = -programablekey.1.pickup_value = -programablekey.1.extension = - +{/foreach} ####################################################################################### ## Linekey ## @@ -831,14 +843,6 @@ programablekey.1.extension = ##LineKeyX ranges(T48G/S: X ranges from 1 to 29. T54S/T46G/T46S/T29G: X ranges from 1 to 27. T42G/T42S/T41P/T41S: X ranges from 1 to 15. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T52S/T27P/T27G: X ranges from 1 to 21. T21(P) E2: X ranges from 1 to 2.)## ## Not support T19P_E2 -#linekey.1.label = -#linekey.1.line = -#linekey.1.value = -#linekey.1.pickup_value = -#linekey.1.extension = -#linekey.1.type = -#linekey.1.xml_phonebook = - {foreach $keys['line'] as $row} #Configure Line Key {$row.device_key_id} linekey.{$row.device_key_id}.line = {$row.device_key_line} @@ -851,7 +855,6 @@ linekey.{$row.device_key_id}.extension = {$row.device_key_extension} linekey.{$row.device_key_id}.type = {$row.device_key_type} linekey.{$row.device_key_id}.xml_phonebook = linekey.{$row.device_key_id}.label = {$row.device_key_label} - {/foreach} @@ -1263,10 +1266,10 @@ phone_setting.inactive_backlight_level = 1 phone_setting.active_backlight_level= phone_setting.predial_autodial = 1 -ringtone.url= -ringtone.delete= -phone_setting.ring_type= -phone_setting.inter_digit_time= +ringtone.url= {$yealink_ringtone_url} +ringtone.delete= {$yealink_ringtone_delete} +phone_setting.ring_type= {$yealink_ring_type} +phone_setting.inter_digit_time= {$yealink_inter_digit_time} ##Only T54S Model supports the parameter phone_setting.idle_clock_display.enable = diff --git a/resources/templates/provision/yealink/t56a/y000000000056.cfg b/resources/templates/provision/yealink/t56a/y000000000056.cfg index c4f672b820..55aab60f5a 100644 --- a/resources/templates/provision/yealink/t56a/y000000000056.cfg +++ b/resources/templates/provision/yealink/t56a/y000000000056.cfg @@ -846,15 +846,15 @@ features.text_message_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 = @@ -1120,51 +1120,18 @@ linekey.{$row.device_key_id}.label = {$row.device_key_label} ###programablekey.X.pickup_value = ###programablekey.X.extension = -###It configures the key feature for the programmable key X. -#programablekey.1.type = - -###It configures the desired line to apply the programmable key feature. -#programablekey.1.line = - -###It configures the value of the programmable key feature. -###For example, when configuring the key feature to be Speed Dial, it configures the number. -###The default value is blank. -#programablekey.1.value = - -###It configures the desired local group/XML group/network group for the programmable key. -###It only applies to the Local Group, XML Group and Network Group features. -###XML Group and Network Group features are not applicable to SIP-T20P IP phones. -#programablekey.1.xml_phonebook = - -###It configures the history type of programmable key. -###0-Local History,1-Network History. -###The default value is 0. -#programablekey.1.history_type = - -###It configures the label displayed on the LCD screen for each soft key. -###The default value is blank. -#programablekey.1.label = - -###It configures conference ID followed by the # sign for Meet-Me conference feature. -###It only applies to Meet-Me conference feature. -###The default value is blank. -#programablekey.1.pickup_value = -#programablekey.2.type = -#programablekey.2.line = -#programablekey.2.value = -#programablekey.2.xml_phonebook = -#programablekey.2.history_type = -#programablekey.2.label = -#programablekey.2.pickup_value = - {foreach $keys["programmable"] as $row} programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} programablekey.{$row.device_key_id}.line = {$row.device_key_line} programablekey.{$row.device_key_id}.value = {$row.device_key_value} -programablekey.{$row.device_key_id}.xml_phonebook = -programablekey.{$row.device_key_id}.history_type = +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} programablekey.{$row.device_key_id}.label = {$row.device_key_label} - +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = {/foreach} diff --git a/resources/templates/provision/yealink/t58v/y000000000058.cfg b/resources/templates/provision/yealink/t58v/y000000000058.cfg index c4f672b820..55aab60f5a 100644 --- a/resources/templates/provision/yealink/t58v/y000000000058.cfg +++ b/resources/templates/provision/yealink/t58v/y000000000058.cfg @@ -846,15 +846,15 @@ features.text_message_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 = @@ -1120,51 +1120,18 @@ linekey.{$row.device_key_id}.label = {$row.device_key_label} ###programablekey.X.pickup_value = ###programablekey.X.extension = -###It configures the key feature for the programmable key X. -#programablekey.1.type = - -###It configures the desired line to apply the programmable key feature. -#programablekey.1.line = - -###It configures the value of the programmable key feature. -###For example, when configuring the key feature to be Speed Dial, it configures the number. -###The default value is blank. -#programablekey.1.value = - -###It configures the desired local group/XML group/network group for the programmable key. -###It only applies to the Local Group, XML Group and Network Group features. -###XML Group and Network Group features are not applicable to SIP-T20P IP phones. -#programablekey.1.xml_phonebook = - -###It configures the history type of programmable key. -###0-Local History,1-Network History. -###The default value is 0. -#programablekey.1.history_type = - -###It configures the label displayed on the LCD screen for each soft key. -###The default value is blank. -#programablekey.1.label = - -###It configures conference ID followed by the # sign for Meet-Me conference feature. -###It only applies to Meet-Me conference feature. -###The default value is blank. -#programablekey.1.pickup_value = -#programablekey.2.type = -#programablekey.2.line = -#programablekey.2.value = -#programablekey.2.xml_phonebook = -#programablekey.2.history_type = -#programablekey.2.label = -#programablekey.2.pickup_value = - {foreach $keys["programmable"] as $row} programablekey.{$row.device_key_id}.type = {$row.device_key_type} +{if $row.device_key_type == "22" || $row.device_key_type == "47"} +programablekey.{$row.device_key_id}.xml_phonebook = {$row.device_key_line} +{else} programablekey.{$row.device_key_id}.line = {$row.device_key_line} programablekey.{$row.device_key_id}.value = {$row.device_key_value} -programablekey.{$row.device_key_id}.xml_phonebook = -programablekey.{$row.device_key_id}.history_type = +{/if} +programablekey.{$row.device_key_id}.extension = {$row.device_key_extension} programablekey.{$row.device_key_id}.label = {$row.device_key_label} - +programablekey.1.pickup_value ={$row.device_key_extension} +programablekey.1.history_type = {/foreach} diff --git a/resources/templates/provision/yealink/vp530/y000000000023.cfg b/resources/templates/provision/yealink/vp530/y000000000023.cfg index 49a24c88e7..b909d60af4 100644 --- a/resources/templates/provision/yealink/vp530/y000000000023.cfg +++ b/resources/templates/provision/yealink/vp530/y000000000023.cfg @@ -947,12 +947,12 @@ features.ringer_device.is_use_headset = 0 features.fullscreen_local_visible = 1 #Configure the time (in seconds) the phone automatically dial out the dialed digits. It ranges from 1 to 14, the default value is 4. -phone_setting.inter_digit_time = 4 +phone_setting.inter_digit_time = {$yealink_inter_digit_time} #Configure the ring tone for the phone. System ring tones are: common (default), Ring1.wav, Ring2.wav¡­¡­Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: phone_setting.ring_type = Custom:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: phone_setting.ring_type = Resource:Ring2.wav -phone_setting.ring_type = +phone_setting.ring_type = {$yealink_ring_type} #Configure the active backlight level, Integer,1-10 (6 by default); phone_setting.active_backlight_level = @@ -1013,10 +1013,10 @@ firmware.url = {$yealink_firmware_url}/{$yealink_firmware_vp530} ####################################################################################### ## Configure a server URL for customizing a ringtones ## ####################################################################################### -ringtone.url = +ringtone.url = {$yealink_ringtone_url} #ringtone.delete = http://localhost/all,delete all the customized ring tones; -ringtone.delete = +ringtone.delete = {$yealink_ringtone_delete} ####################################################################################### ## Certificates ##