From d2917b57a49978d89a8d62f049fbfa9bcd63eecb Mon Sep 17 00:00:00 2001 From: Andrew Querol Date: Wed, 4 Nov 2020 13:06:01 -0600 Subject: [PATCH] Enable MPK support --- .../provision/grandstream/gxv3370/{$mac}.xml | 73 ++++--------------- 1 file changed, 14 insertions(+), 59 deletions(-) diff --git a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml index 7a3d246103..ba91904f09 100644 --- a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml @@ -1140,54 +1140,6 @@ No - - No - No - No - No - No - No - No - No - No - No - No - No - No - No - No - - - - - - - - - - - - - - - - - - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** - ** @@ -1268,23 +1220,26 @@ + {$keyIndex=1} - SpeedDial + {$key_types=["none"=>"","speed dial"=>"SpeedDial","blf"=>"BLF","speed dial active"=>"SpeedDialViaActiveAccount","dial dtmf"=>"DialDTMF","intercom"=>"Intercom","transfer"=>"Transfer","call park"=>"CallPark","multicast paging"=>"MulticastPaging","conference"=>"Conference"]} + {foreach $keys as $category => $rows} + {foreach $rows as $row} + {if isset($row.device_key_type)} + {$key_types[$row.device_key_type]} - Account1 + Account{$row.device_key_line} - + {$row.device_key_label} - - - - SpeedDial - Account1 - - - + {$row.device_key_value} + device_key_extension + {$keyIndex=$keyIndex+1} + {/if} + {/foreach} + {/foreach}