From 49eda595915b5add9855177dc59330f0b7ec4164 Mon Sep 17 00:00:00 2001 From: Len Date: Fri, 26 Aug 2016 15:11:18 -0400 Subject: [PATCH] Update {$mac}.cfg (#1860) t20p changes to the provision class --- resources/templates/provision/yealink/t20p/{$mac}.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/templates/provision/yealink/t20p/{$mac}.cfg b/resources/templates/provision/yealink/t20p/{$mac}.cfg index e9f4770d46..b592915aff 100644 --- a/resources/templates/provision/yealink/t20p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t20p/{$mac}.cfg @@ -1956,8 +1956,8 @@ forward.international.enable = #linekey.x.lable--Define the label for each line key. -{foreach $keys as $row} -{if $row.device_key_category == "line"} +{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} @@ -1966,6 +1966,6 @@ 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} -{/if} + {/foreach}