From d4303df93ab7643e53ee6d2c75fa8cbc5de704e0 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Mon, 30 Nov 2015 13:39:17 -0700 Subject: [PATCH] Adjust the spaces and remove the extra device key type. --- .../provision/grandstream/gxp21xx/{$mac}.xml | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml index 0255c67ee7..c8913f3c4e 100644 --- a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml @@ -3599,19 +3599,18 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 --> {$line_id = ($start_id + 1) + ($key_id * 5)} {$label_id = ($start_id + 2) + ($key_id * 5)} {$value_id = ($start_id + 3) + ($key_id * 5)} -{if $row.device_key_type == "speed dial"}0{/if} -{if $row.device_key_type == "blf"}1{/if} -{if $row.device_key_type == "presence watcher"}2{/if} -{if $row.device_key_type == "eventlist blf"}3{/if} -{if $row.device_key_type == "speed dial active"}4{/if} -{if $row.device_key_type == "dial dtmf"}5{/if} -{if $row.device_key_type == "voicemail"}6{/if} -{if $row.device_key_type == "call return"}7{/if} -{if $row.device_key_type == "transfer"}8{/if} -{if $row.device_key_type == "call park"}9{/if} -{if $row.device_key_type == "intercom"}10{/if} -{if $row.device_key_type == "ldap search"}11{/if} - {$row.device_key_type} +{if $row.device_key_type == "speed dial"} 0{/if} +{if $row.device_key_type == "blf"} 1{/if} +{if $row.device_key_type == "presence watcher"} 2{/if} +{if $row.device_key_type == "eventlist blf"} 3{/if} +{if $row.device_key_type == "speed dial active"} 4{/if} +{if $row.device_key_type == "dial dtmf"} 5{/if} +{if $row.device_key_type == "voicemail"} 6{/if} +{if $row.device_key_type == "call return"} 7{/if} +{if $row.device_key_type == "transfer"} 8{/if} +{if $row.device_key_type == "call park"} 9{/if} +{if $row.device_key_type == "intercom"} 10{/if} +{if $row.device_key_type == "ldap search"} 11{/if} {$row.device_key_line} {$row.device_key_label} {$row.device_key_value}