diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml
index 0176c16242..75c124ea57 100644
--- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml
@@ -2950,6 +2950,7 @@
{foreach $keys['line'] as $row}
{$line=$row.device_key_id}
+ {if $row.device_key_id < 13}
@@ -2970,7 +2971,39 @@
+ {/if}
+{/foreach}
+
+{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2,
+"eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,
+"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"conference"=>12,"multicast paging"=>13,
+"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]}
+
+{foreach $keys['line'] as $row}
+{$line=$row.device_key_id}
+ {if $row.device_key_id > 12}
+
+
+
+
+ - {$key_types[$keys.line.$line.device_key_type]}
+
+
+
+ - {$row.device_key_line}
+
+
+
+ - {$row.device_key_label}
+
+
+
+ - {$row.device_key_value}
+
+
+
+ {/if}
{/foreach}
@@ -3241,3 +3274,4 @@
+