From bd2810e619e7a6f17182e3fa53365e56f3e49488 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 20 Jul 2014 06:16:44 +0000 Subject: [PATCH] Add key assignment for the Polycom template --- .../provision/polycom/vvx/{$mac}-registration.cfg | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/resources/templates/provision/polycom/vvx/{$mac}-registration.cfg b/resources/templates/provision/polycom/vvx/{$mac}-registration.cfg index af13a1490c..574b2323cf 100644 --- a/resources/templates/provision/polycom/vvx/{$mac}-registration.cfg +++ b/resources/templates/provision/polycom/vvx/{$mac}-registration.cfg @@ -74,10 +74,15 @@ attendant.behaviors.display.remoteCallerID.normal="1" attendant.behaviors.display.remoteCallerID.automata="1" + {foreach $keys as $row} + {if $row.device_key_category != "line"} attendant.reg="1" - attendant.resourceList.1.address="" - attendant.resourceList.1.label="ext1" - attendant.resourceList.1.type="automata" + attendant.resourceList.1.address="{$row.device_key_value}" + attendant.resourceList.1.label="{$row.device_key_label}" + attendant.resourceList.1.type="{$row.device_key_type}" + {/if} + + {/foreach} />