Update {$mac}.cfg (#1864)

t26p changes to the provision class
This commit is contained in:
Len 2016-08-26 15:08:14 -04:00 committed by FusionPBX
parent f92edcb583
commit 90e2b03430
1 changed files with 18 additions and 18 deletions

View File

@ -1954,8 +1954,8 @@ forward.international.enable =
#The default value equals to the value of x. For example, the default value of the parameter "linekey.1.line" is 1.
#linekey.x.lable--Define the label for each line key.
{foreach $keys as $row}
{if $row.device_key_category == "line"}
{foreach $keys['line'] as $row}
#Configure Line Key {$row.device_key_id}
linekey.{$row.device_key_id}.line = {$row.device_key_line}
linekey.{$row.device_key_id}.value = {$row.device_key_value}
@ -1964,7 +1964,7 @@ linekey.{$row.device_key_id}.type = {$row.device_key_type}
linekey.{$row.device_key_id}.xml_phonebook =
linekey.{$row.device_key_id}.label = {$row.device_key_label}
{/if}
{/foreach}
@ -1985,8 +1985,8 @@ linekey.{$row.device_key_id}.label = {$row.device_key_label}
#memorykey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the DSS key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
#memorykey.x.sub_type =
{foreach $keys as $row}
{if $row.device_key_category == "memory"}
{foreach $keys["memory"] as $row}
#Expansion Memory Key {$row.device_key_id}
memorykey.{$row.device_key_id}.type = {$row.device_key_type}
memorykey.{$row.device_key_id}.line = {$row.device_key_line}
@ -1996,7 +1996,7 @@ memorykey.{$row.device_key_id}.label = {$row.device_key_label}
memorykey.{$row.device_key_id}.xml_phonebook =
memorykey.{$row.device_key_id}.sub_type =
{/if}
{/foreach}
@ -2013,15 +2013,15 @@ memorykey.{$row.device_key_id}.sub_type =
#The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line.
#But, when the programmable key is configured as Pick Up, the value 0 stands for line 1.
{foreach $keys as $row}
{if $row.device_key_category == "programmable"}
programablekey.{$row.device_key_id}.type = {$row.device_key_type}
programablekey.{$row.device_key_id}.line = {$row.device_key_line}
programablekey.{$row.device_key_id}.value = {$row.device_key_value}
programablekey.{$row.device_key_id}.xml_phonebook =
programablekey.{$row.device_key_id}.history_type =
programablekey.{$row.device_key_id}.label = {$row.device_key_label}
{/if}
{foreach $keys["programmable"] as $row}
programablekey.{$row.device_key_id}.type = {$row.device_key_type}
programablekey.{$row.device_key_id}.line = {$row.device_key_line}
programablekey.{$row.device_key_id}.value = {$row.device_key_value}
programablekey.{$row.device_key_id}.xml_phonebook =
programablekey.{$row.device_key_id}.history_type =
programablekey.{$row.device_key_id}.label = {$row.device_key_label}
{/foreach}
#programablekey.x.value =
@ -2076,8 +2076,8 @@ programablekey.3.label =
{$rownum = 1}
{foreach $keys as $row}
{if $row.device_key_category == "expansion"}
{foreach $keys["expansion"] as $row}
{if $rownum <= 40}
#Expansion module 1 key {$row.device_key_id}
expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type}
@ -2095,7 +2095,7 @@ expansion_module.2.key.{$row.device_key_id - 40}.label = {$row.device_key_label}
expansion_module.2.key.{$row.device_key_id - 40}.xml_phonebook =
{/if}
{$rownum = $rownum + 1}
{/if}
{/foreach}
##########################################################################################