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} />