Update the line key assignment for the Cisco SPA series phones.

This commit is contained in:
Mark Crane
2014-01-30 08:33:26 +00:00
parent 819917765d
commit bfcc528676
9 changed files with 114 additions and 647 deletions
@@ -139,57 +139,21 @@
<Screen_Saver_Wait group="Phone/General">300</Screen_Saver_Wait>
<Screen_Saver_Icon group="Phone/General">Background Picture</Screen_Saver_Icon>
<!-- Phone/Line_Key_1 -->
{if $key_type_1 == 'line'}
<Extension_1_ group="Phone/Line_Key_1">{$key_value_1}</Extension_1_>
<Short_Name_1_ group="Phone/Line_Key_1">{$key_label_1}</Short_Name_1_>
<Share_Call_Appearance_1_ group="Phone/Line_Key_1">private</Share_Call_Appearance_1_>
<Extended_Function_1_ group="Phone/Line_Key_1"/>
{foreach $keys as $row}
{if $row.device_key_category == "line"}
<!-- Phone/Line_Key_{$row.device_key_id} -->
<Extension_{$row.device_key_id}_ group="Phone/Line_Key_{$row.device_key_id}">{$row.device_key_value}</Extension_{$row.device_key_id}_> <!-- options: 1/2/3/4/5/6/7/8/9/10/11/12/Disabled -->
<Short_Name_{$row.device_key_id}_ group="Phone/Line_Key_{$row.device_key_id}">{$row.device_key_label}</Short_Name_{$row.device_key_id}_>
<Share_Call_Appearance_{$row.device_key_id}_ group="Phone/Line_Key_{$row.device_key_id}">private</Share_Call_Appearance_{$row.device_key_id}_> <!-- options: private/shared -->
<Extended_Function_{$row.device_key_id}_ group="Phone/Line_Key_{$row.device_key_id}"/>
{else}
<Extension_1_ group="Phone/Line_Key_1">Disabled</Extension_1_>
<Short_Name_1_ group="Phone/Line_Key_1">{$key_label_1}</Short_Name_1_>
<Share_Call_Appearance_1_ group="Phone/Line_Key_1">private</Share_Call_Appearance_1_>
<Extended_Function_1_ group="Phone/Line_Key_1">{$key_value_1}</Extended_Function_1_>
<Extension_{$row.device_key_id}_ group="Phone/Line_Key_{$row.device_key_id}">Disabled</Extension_{$row.device_key_id}_> <!-- options: 1/2/3/4/5/6/7/8/9/10/11/12/Disabled -->
<Short_Name_{$row.device_key_id}_ group="Phone/Line_Key_{$row.device_key_id}">{$row.device_key_label}</Short_Name_{$row.device_key_id}_>
<Share_Call_Appearance_{$row.device_key_id}_ group="Phone/Line_Key_{$row.device_key_id}">private</Share_Call_Appearance_{$row.device_key_id}_> <!-- options: private/shared -->
<Extended_Function_{$row.device_key_id}_ group="Phone/Line_Key_{$row.device_key_id}">{$row.device_key_value}</Extended_Function_{$row.device_key_id}_>
{/if}
<!-- Phone/Line_Key_2 -->
{if $key_type_2 == 'line'}
<Extension_2_ group="Phone/Line_Key_2">{$key_value_2}</Extension_2_>
<Short_Name_2_ group="Phone/Line_Key_2">{$key_label_2}</Short_Name_2_>
<Share_Call_Appearance_2_ group="Phone/Line_Key_2">private</Share_Call_Appearance_2_>
<Extended_Function_2_ group="Phone/Line_Key_2"/>
{else}
<Extension_2_ group="Phone/Line_Key_2">Disabled</Extension_2_>
<Short_Name_2_ group="Phone/Line_Key_2">{$key_label_2}</Short_Name_2_>
<Share_Call_Appearance_2_ group="Phone/Line_Key_2">private</Share_Call_Appearance_2_>
<Extended_Function_2_ group="Phone/Line_Key_2">{$key_value_2}</Extended_Function_2_>
{/if}
<!-- Phone/Line_Key_3 -->
{if $key_type_3 == 'line'}
<Extension_3_ group="Phone/Line_Key_3">{$key_value_3}</Extension_3_>
<Short_Name_3_ group="Phone/Line_Key_3">{$key_label_3}</Short_Name_3_>
<Share_Call_Appearance_3_ group="Phone/Line_Key_3">private</Share_Call_Appearance_3_>
<Extended_Function_3_ group="Phone/Line_Key_3"/>
{else}
<Extension_3_ group="Phone/Line_Key_3">Disabled</Extension_3_>
<Short_Name_3_ group="Phone/Line_Key_3">{$key_label_3}</Short_Name_3_>
<Share_Call_Appearance_3_ group="Phone/Line_Key_3">private</Share_Call_Appearance_3_>
<Extended_Function_3_ group="Phone/Line_Key_3">{$key_value_3}</Extended_Function_3_>
{/if}
<!-- Phone/Line_Key_4 -->
{if $key_type_4 == 'line'}
<Extension_4_ group="Phone/Line_Key_4">{$key_value_4}</Extension_4_>
<Short_Name_4_ group="Phone/Line_Key_4">{$key_label_4}</Short_Name_4_>
<Share_Call_Appearance_4_ group="Phone/Line_Key_4">private</Share_Call_Appearance_4_>
<Extended_Function_4_ group="Phone/Line_Key_4"/>
{else}
<Extension_4_ group="Phone/Line_Key_4">Disabled</Extension_4_>
<Short_Name_4_ group="Phone/Line_Key_4">{$key_label_4}</Short_Name_4_>
<Share_Call_Appearance_4_ group="Phone/Line_Key_4">private</Share_Call_Appearance_4_>
<Extended_Function_4_ group="Phone/Line_Key_4">{$key_value_4}</Extended_Function_4_>
{/if}
{/foreach}
<!-- Phone/Miscellaneous_Line_Key_Settings -->
<Line_ID_Mapping group="Phone/Miscellaneous_Line_Key_Settings">Vertical First</Line_ID_Mapping>