From e630208bb9ce1cc7574ca8e01fa8905520407f15 Mon Sep 17 00:00:00 2001 From: Chris Black Date: Sat, 29 Jun 2019 12:32:41 -0700 Subject: [PATCH] Update {$mac}.cfg (#4287) add line key to T54s --- .../provision/yealink/t54s/{$mac}.cfg | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/resources/templates/provision/yealink/t54s/{$mac}.cfg b/resources/templates/provision/yealink/t54s/{$mac}.cfg index c1c9ddb6e3..c5b876b2e2 100644 --- a/resources/templates/provision/yealink/t54s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t54s/{$mac}.cfg @@ -706,3 +706,26 @@ account.1.acd.available_url= account.1.acd.away_url = account.1.acd.refresh_url = account.1.acd.call_information= + +####################################################################################### +## Line Key ## +####################################################################################### + +#The x of the parameter "linekey.x.line" ranges from 1 to 6. +#The default value equals to the value of x. For example, the default value of the parameter "linekey.1.line" is 1. +#linekey.x.lable--Define the label for each line key. Meet-Me Conference "1" or BLF "16" require pick_value. + +{foreach $keys['line'] as $row} +#Configure Line Key {$row.device_key_id} +linekey.{$row.device_key_id}.line = {$row.device_key_line} +linekey.{$row.device_key_id}.value = {$row.device_key_value} +{if $row.device_key_type == "1" || $row.device_key_type == "16"} +linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension} +{else} +linekey.{$row.device_key_id}.extension = {$row.device_key_extension} +{/if} +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}