diff --git a/resources/templates/provision/yealink/t38g/{$mac}.cfg b/resources/templates/provision/yealink/t38g/{$mac}.cfg index b7de551e22..e2f464c29b 100644 --- a/resources/templates/provision/yealink/t38g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t38g/{$mac}.cfg @@ -1958,7 +1958,7 @@ linekey.{$row.device_key_id}.label = {$row.device_key_label} memorykey.{$row.device_key_id}.type = {$row.device_key_type} memorykey.{$row.device_key_id}.line = {$row.device_key_line} memorykey.{$row.device_key_id}.value = {$row.device_key_value} -{if $row.device_key_category == "blf"} +{if $row.device_key_type == "blf"} memorykey.{$row.device_key_id}.pickup_value = {$row.device_key_extension} {/if} memorykey.{$row.device_key_id}.label = {$row.device_key_label} @@ -2013,7 +2013,7 @@ programablekey.1.label = expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line} expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value} -{if $row.device_key_category == "blf"} +{if $row.device_key_type == "blf"} expansion_module.1.key.{$row.device_key_id}.pickup_value = {$row.device_key_extension} {/if} expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label} @@ -2030,7 +2030,7 @@ expansion_module.1.key.{$row.device_key_id}.xml_phonebook = #expansion_module.2.key.1.type = {$key_type_1} #expansion_module.2.key.1.line = {$key_id_1} #expansion_module.2.key.1.value = {$key_value_1} -{if $row.device_key_category == "blf"} +{if $row.device_key_type == "blf"} #expansion_module.2.key.1.pickup_value = {/if} #expansion_module.2.key.1.label = {$key_label_1}