Update snom, grandstream and mitel templates.
This commit is contained in:
@@ -3592,8 +3592,7 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 -->
|
|||||||
<!-- Extension Boards FOR GXP2110 and GXP2120 ONLY -->
|
<!-- Extension Boards FOR GXP2110 and GXP2120 ONLY -->
|
||||||
<!-- Extension Board 1 Settings. mode 23000, line 23001, label, 23002, value 23003 -->
|
<!-- Extension Board 1 Settings. mode 23000, line 23001, label, 23002, value 23003 -->
|
||||||
{$start_id = 23000}
|
{$start_id = 23000}
|
||||||
{foreach $keys as $row}
|
{foreach $keys["expansion"] as $row}
|
||||||
{if $row.device_key_category == "expansion"}
|
|
||||||
{$key_id = $row.device_key_id - 1}
|
{$key_id = $row.device_key_id - 1}
|
||||||
{$type_id = $start_id + ($key_id * 5)}
|
{$type_id = $start_id + ($key_id * 5)}
|
||||||
{$line_id = ($start_id + 1) + ($key_id * 5)}
|
{$line_id = ($start_id + 1) + ($key_id * 5)}
|
||||||
@@ -3615,7 +3614,6 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 -->
|
|||||||
<P{$line_id}>{$row.device_key_line}</P{$line_id}>
|
<P{$line_id}>{$row.device_key_line}</P{$line_id}>
|
||||||
<P{$label_id}>{$row.device_key_label}</P{$label_id}>
|
<P{$label_id}>{$row.device_key_label}</P{$label_id}>
|
||||||
<P{$value_id}>{$row.device_key_value}</P{$value_id}>
|
<P{$value_id}>{$row.device_key_value}</P{$value_id}>
|
||||||
{/if}
|
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|
||||||
</config>
|
</config>
|
||||||
|
|||||||
@@ -267,7 +267,7 @@
|
|||||||
<snmp>0</snmp>
|
<snmp>0</snmp>
|
||||||
<srtp>0</srtp>
|
<srtp>0</srtp>
|
||||||
<pkDescription>
|
<pkDescription>
|
||||||
{foreach $keys as $row}
|
{foreach $keys["line"] as $row}
|
||||||
{if $row.device_key_line == "1"}{$feature = "6"}{$user_id = $user_id_1}{/if}
|
{if $row.device_key_line == "1"}{$feature = "6"}{$user_id = $user_id_1}{/if}
|
||||||
{if $row.device_key_line == "2"}{$feature = "7"}{$user_id = $user_id_2}{/if}
|
{if $row.device_key_line == "2"}{$feature = "7"}{$user_id = $user_id_2}{/if}
|
||||||
{if $row.device_key_line == "3"}{$feature = "8"}{$user_id = $user_id_3}{/if}
|
{if $row.device_key_line == "3"}{$feature = "8"}{$user_id = $user_id_3}{/if}
|
||||||
|
|||||||
@@ -267,7 +267,7 @@
|
|||||||
<snmp>0</snmp>
|
<snmp>0</snmp>
|
||||||
<srtp>0</srtp>
|
<srtp>0</srtp>
|
||||||
<pkDescription>
|
<pkDescription>
|
||||||
{foreach $keys as $row}
|
{foreach $keys["line"] as $row}
|
||||||
{if $row.device_key_line == "1"}{$feature = "6"}{$user_id = $user_id_1}{/if}
|
{if $row.device_key_line == "1"}{$feature = "6"}{$user_id = $user_id_1}{/if}
|
||||||
{if $row.device_key_line == "2"}{$feature = "7"}{$user_id = $user_id_2}{/if}
|
{if $row.device_key_line == "2"}{$feature = "7"}{$user_id = $user_id_2}{/if}
|
||||||
{if $row.device_key_line == "3"}{$feature = "8"}{$user_id = $user_id_3}{/if}
|
{if $row.device_key_line == "3"}{$feature = "8"}{$user_id = $user_id_3}{/if}
|
||||||
|
|||||||
@@ -267,7 +267,7 @@
|
|||||||
<snmp>0</snmp>
|
<snmp>0</snmp>
|
||||||
<srtp>0</srtp>
|
<srtp>0</srtp>
|
||||||
<pkDescription>
|
<pkDescription>
|
||||||
{foreach $keys as $row}
|
{foreach $keys["line"] as $row}
|
||||||
{if $row.device_key_line == "1"}{$feature = "6"}{$user_id = $user_id_1}{/if}
|
{if $row.device_key_line == "1"}{$feature = "6"}{$user_id = $user_id_1}{/if}
|
||||||
{if $row.device_key_line == "2"}{$feature = "7"}{$user_id = $user_id_2}{/if}
|
{if $row.device_key_line == "2"}{$feature = "7"}{$user_id = $user_id_2}{/if}
|
||||||
{if $row.device_key_line == "3"}{$feature = "8"}{$user_id = $user_id_3}{/if}
|
{if $row.device_key_line == "3"}{$feature = "8"}{$user_id = $user_id_3}{/if}
|
||||||
|
|||||||
@@ -85,19 +85,19 @@
|
|||||||
<codec_priority_list idx="12" perm="">g722,pcmu,pcma,gsm,g726-32,aal2-g726-32,g723,g729,telephone-event</codec_priority_list>
|
<codec_priority_list idx="12" perm="">g722,pcmu,pcma,gsm,g726-32,aal2-g726-32,g723,g729,telephone-event</codec_priority_list>
|
||||||
</phone-settings>
|
</phone-settings>
|
||||||
<functionKeys e="2">
|
<functionKeys e="2">
|
||||||
{foreach $keys as $row}
|
{foreach $keys["line"] as $row}
|
||||||
{if $row.device_key_line == ""}
|
{if $row.device_key_line == ""}
|
||||||
{if $row.device_key_category == "line"}
|
{if $row.device_key_type == "line"}
|
||||||
<fkey idx="{$row.device_key_id-1}" context="active" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
||||||
{else}
|
{else}
|
||||||
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
<fkey idx="{$row.device_key_id-1}" context="active" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
||||||
{/if}
|
{/if}
|
||||||
{else}
|
{else}
|
||||||
{if $row.device_key_category == "line"}
|
{if $row.device_key_type == "line"}
|
||||||
<fkey idx="{$row.device_key_id-1}" context="{$row.device_key_line}" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
||||||
{else}
|
{else}
|
||||||
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
<fkey idx="{$row.device_key_id-1}" context="{$row.device_key_line}" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</functionKeys>
|
</functionKeys>
|
||||||
|
|||||||
@@ -90,19 +90,9 @@
|
|||||||
<codec_priority_list idx="12" perm="">g722,pcmu,pcma,gsm,g726-32,aal2-g726-32,g723,g729,telephone-event</codec_priority_list>
|
<codec_priority_list idx="12" perm="">g722,pcmu,pcma,gsm,g726-32,aal2-g726-32,g723,g729,telephone-event</codec_priority_list>
|
||||||
</phone-settings>
|
</phone-settings>
|
||||||
<functionKeys e="2">
|
<functionKeys e="2">
|
||||||
{foreach $keys as $row}
|
{foreach $keys["line"] as $row}
|
||||||
{if $row.device_key_line == ""}
|
{if $row.device_key_line == ""}
|
||||||
{if $row.device_key_category == "line"}
|
|
||||||
<fkey idx="{$row.device_key_id-1}" context="active" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
<fkey idx="{$row.device_key_id-1}" context="active" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
||||||
{else}
|
|
||||||
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
|
||||||
{/if}
|
|
||||||
{else}
|
|
||||||
{if $row.device_key_category == "line"}
|
|
||||||
<fkey idx="{$row.device_key_id-1}" context="{$row.device_key_line}" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
|
||||||
{else}
|
|
||||||
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
|
||||||
{/if}
|
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</functionKeys>
|
</functionKeys>
|
||||||
|
|||||||
@@ -85,19 +85,19 @@
|
|||||||
<codec_priority_list idx="12" perm="">g722,pcmu,pcma,gsm,g726-32,aal2-g726-32,g723,g729,telephone-event</codec_priority_list>
|
<codec_priority_list idx="12" perm="">g722,pcmu,pcma,gsm,g726-32,aal2-g726-32,g723,g729,telephone-event</codec_priority_list>
|
||||||
</phone-settings>
|
</phone-settings>
|
||||||
<functionKeys e="2">
|
<functionKeys e="2">
|
||||||
{foreach $keys as $row}
|
{foreach $keys["line"] as $row}
|
||||||
{if $row.device_key_line == ""}
|
{if $row.device_key_line == ""}
|
||||||
{if $row.device_key_category == "line"}
|
{if $row.device_key_type == "line"}
|
||||||
<fkey idx="{$row.device_key_id-1}" context="active" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
||||||
{else}
|
{else}
|
||||||
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
<fkey idx="{$row.device_key_id-1}" context="active" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
||||||
{/if}
|
{/if}
|
||||||
{else}
|
{else}
|
||||||
{if $row.device_key_category == "line"}
|
{if $row.device_key_type == "line"}
|
||||||
<fkey idx="{$row.device_key_id-1}" context="{$row.device_key_line}" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
||||||
{else}
|
{else}
|
||||||
<fkey idx="{$row.device_key_id}" context="active" label="" perm="">line</fkey>
|
<fkey idx="{$row.device_key_id-1}" context="{$row.device_key_line}" label="{$row.device_key_label}" perm="">{$row.device_key_type} {$row.device_key_value} {$row.device_key_extension}</fkey>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</functionKeys>
|
</functionKeys>
|
||||||
|
|||||||
Reference in New Issue
Block a user