diff --git a/resources/templates/provision/yealink/t28p/{$mac}.cfg b/resources/templates/provision/yealink/t28p/{$mac}.cfg index aa74c89a5f..1831ba1255 100644 --- a/resources/templates/provision/yealink/t28p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t28p/{$mac}.cfg @@ -146,7 +146,11 @@ account.1.srtp_encryption = account.1.ptime = #Assign account 1 as shared line; 0-Disabled (default), 1-BSFT shared line, 2-Draft bridge line appearance; -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 account 1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300. account.1.bla_number = @@ -2047,9 +2051,9 @@ programablekey.{$row.device_key_id}.label = {$row.device_key_label} #programablekey.2.history_type = #programablekey.2.label = -#N/A - Disable DND -programablekey.3.type = 0 -programablekey.3.line = +#DND +programablekey.3.type = 5 +programablekey.3.line = 1 programablekey.3.value = programablekey.3.xml_phonebook = programablekey.3.history_type =