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. #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. #linekey.x.lable--Define the label for each line key.
{foreach $keys as $row} {foreach $keys['line'] as $row}
{if $row.device_key_category == "line"}
#Configure Line Key {$row.device_key_id} #Configure Line Key {$row.device_key_id}
linekey.{$row.device_key_id}.line = {$row.device_key_line} linekey.{$row.device_key_id}.line = {$row.device_key_line}
linekey.{$row.device_key_id}.value = {$row.device_key_value} 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}.xml_phonebook =
linekey.{$row.device_key_id}.label = {$row.device_key_label} linekey.{$row.device_key_id}.label = {$row.device_key_label}
{/if}
{/foreach} {/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.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 = #memorykey.x.sub_type =
{foreach $keys as $row} {foreach $keys["memory"] as $row}
{if $row.device_key_category == "memory"}
#Expansion Memory Key {$row.device_key_id} #Expansion Memory Key {$row.device_key_id}
memorykey.{$row.device_key_id}.type = {$row.device_key_type} memorykey.{$row.device_key_id}.type = {$row.device_key_type}
memorykey.{$row.device_key_id}.line = {$row.device_key_line} 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}.xml_phonebook =
memorykey.{$row.device_key_id}.sub_type = memorykey.{$row.device_key_id}.sub_type =
{/if}
{/foreach} {/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. #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. #But, when the programmable key is configured as Pick Up, the value 0 stands for line 1.
{foreach $keys as $row} {foreach $keys["programmable"] as $row}
{if $row.device_key_category == "programmable"}
programablekey.{$row.device_key_id}.type = {$row.device_key_type} 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}.line = {$row.device_key_line}
programablekey.{$row.device_key_id}.value = {$row.device_key_value} programablekey.{$row.device_key_id}.value = {$row.device_key_value}
programablekey.{$row.device_key_id}.xml_phonebook = programablekey.{$row.device_key_id}.xml_phonebook =
programablekey.{$row.device_key_id}.history_type = programablekey.{$row.device_key_id}.history_type =
programablekey.{$row.device_key_id}.label = {$row.device_key_label} programablekey.{$row.device_key_id}.label = {$row.device_key_label}
{/if}
{/foreach} {/foreach}
#programablekey.x.value = #programablekey.x.value =
@ -2076,8 +2076,8 @@ programablekey.3.label =
{$rownum = 1} {$rownum = 1}
{foreach $keys as $row} {foreach $keys["expansion"] as $row}
{if $row.device_key_category == "expansion"}
{if $rownum <= 40} {if $rownum <= 40}
#Expansion module 1 key {$row.device_key_id} #Expansion module 1 key {$row.device_key_id}
expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type} 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 = expansion_module.2.key.{$row.device_key_id - 40}.xml_phonebook =
{/if} {/if}
{$rownum = $rownum + 1} {$rownum = $rownum + 1}
{/if}
{/foreach} {/foreach}
########################################################################################## ##########################################################################################