From 3bfa2fc525c44ca2f7d675fb654c9e41138632a7 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 24 Jan 2023 11:21:49 -0700 Subject: [PATCH] Added to support the Disabled option --- resources/templates/provision/cisco/spa509g/{$mac}.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/templates/provision/cisco/spa509g/{$mac}.xml b/resources/templates/provision/cisco/spa509g/{$mac}.xml index ec942ad255..a8222b8a0c 100644 --- a/resources/templates/provision/cisco/spa509g/{$mac}.xml +++ b/resources/templates/provision/cisco/spa509g/{$mac}.xml @@ -363,12 +363,18 @@ {foreach $keys["line"] as $row} {if $row.device_key_category == "line"} +{if $row.device_key_type == "line"} {$row.device_key_line} {$row.device_key_label} {if $row.device_key_type == "shared"}shared{else}private{/if} {$row.device_key_value} +{else} +Disabled +{$row.device_key_label} +{$row.device_key_value} +{/if} {/if} {/foreach}