From 0fb24f5c656efd9f90d2eeeb7d9440e7daa51ff0 Mon Sep 17 00:00:00 2001 From: Len Date: Fri, 26 Aug 2016 15:10:43 -0400 Subject: [PATCH] Update {$mac}.cfg (#1862) t22p changes to the provision class. --- resources/templates/provision/yealink/t22p/{$mac}.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/templates/provision/yealink/t22p/{$mac}.cfg b/resources/templates/provision/yealink/t22p/{$mac}.cfg index 1eaa744fe6..b3304df199 100644 --- a/resources/templates/provision/yealink/t22p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t22p/{$mac}.cfg @@ -1955,8 +1955,8 @@ forward.international.enable = #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. -{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} @@ -1965,6 +1965,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}