diff --git a/resources/templates/provision/yealink/t49g/{$mac}.cfg b/resources/templates/provision/yealink/t49g/{$mac}.cfg index 11a533fadd..a56b4fe6e9 100644 --- a/resources/templates/provision/yealink/t49g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t49g/{$mac}.cfg @@ -203,7 +203,11 @@ account.1.out_dialog_blf_enable = 0 ##account.X.shared_line = #Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA; -account.1.shared_line = +{if isset($shared_line_1) } +account.1.shared_line = {$shared_line_1} +{else} +account.1.shared_line = 0 +{/if} #Configure BLA number for account1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300. account.1.bla_number = @@ -3019,8 +3023,8 @@ programablekey.{$row.device_key_id}.label = {$row.device_key_label} #programablekey.2.label = #N/A - Disable DND -programablekey.3.type = 0 -programablekey.3.line = +programablekey.3.type = 5 +programablekey.3.line = 1 programablekey.3.value = programablekey.3.xml_phonebook = programablekey.3.history_type =