diff --git a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml index 2b0445ef10..78611d3c37 100644 --- a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml @@ -3591,6 +3591,17 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 --> {$memory_key_value_18} +{$start_label_id = 23002} +{$start_value_id = 23003} +{foreach $keys as $row} +{if $row.device_key_category == "expansion"} + {$key_id = $row.device_key_id - 1} + {$label_id = $start_label_id + ($key_id * 5)} + {$value_id = $start_value_id + ($key_id * 5)} + {$row.device_key_label} + {$row.device_key_value} +{/if} +{/foreach} \ No newline at end of file