diff --git a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml index a5579db1b4..4addd0f028 100644 --- a/resources/templates/provision/grandstream/gxp2135/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2135/{$mac}.xml @@ -8603,14 +8603,13 @@ - {$fixed_keys=4} {if $template == "grandstream/gxp2130"}{$fixed_keys=3}{/if} {if $template == "grandstream/gxp2140"}{$fixed_keys=4}{/if} {if $template == "grandstream/gxp2160"}{$fixed_keys=6}{/if} {if $template == "grandstream/gxp2170"}{$fixed_keys=12}{/if} -{if $template == "grandstream/gxp2135"}{$fixed_keys=4}{/if} +{if $template == "grandstream/gxp2135"}{$fixed_keys=8}{/if} {$start_id=1363} {assign var=key_types value=["none"=>-1,"line"=>0,"shared line"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, "eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"multicast paging"=>23,"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]} @@ -8627,7 +8626,7 @@ {$keys.line.$line.device_key_label} {$keys.line.$line.device_key_value} {else} -{if $line <= $fixed_keys} +{if $line <= 4 } 0 {$line-1}