mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
More work on the Mitel key handling.
This commit is contained in:
@@ -268,7 +268,7 @@
|
||||
<srtp>0</srtp>
|
||||
<pkDescription>
|
||||
{foreach $keys as $row}
|
||||
{if $row.device_key_category == "line"}
|
||||
{if $row.device_key_type == "6"}
|
||||
{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 == "3"}{$feature = "8"}{$user_id = $user_id_3}{/if}
|
||||
@@ -278,7 +278,7 @@
|
||||
{if $row.device_key_line == "7"}{$feature = "12"}{$user_id = $user_id_7}{/if}
|
||||
{if $row.device_key_line == "8"}{$feature = "13"}{$user_id = $user_id_8}{/if}
|
||||
<Key Line="{$row.device_key_id}" Fea="{$feature}" Des="{$row.device_key_label}" Addr="{$row.device_key_value}" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
|
||||
{/if}{if $row.device_key_category != "line"}
|
||||
{/if}{if $row.device_key_type != "6"}
|
||||
<Key Line="{$row.device_key_id}" Fea="{$row.device_key_type}" Des="{$row.device_key_label}" Addr="{$row.device_key_value}" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
@@ -268,7 +268,7 @@
|
||||
<srtp>0</srtp>
|
||||
<pkDescription>
|
||||
{foreach $keys as $row}
|
||||
{if $row.device_key_category == "line"}
|
||||
{if $row.device_key_type == "6"}
|
||||
{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 == "3"}{$feature = "8"}{$user_id = $user_id_3}{/if}
|
||||
@@ -278,7 +278,7 @@
|
||||
{if $row.device_key_line == "7"}{$feature = "12"}{$user_id = $user_id_7}{/if}
|
||||
{if $row.device_key_line == "8"}{$feature = "13"}{$user_id = $user_id_8}{/if}
|
||||
<Key Line="{$row.device_key_id}" Fea="{$feature}" Des="{$row.device_key_label}" Addr="{$row.device_key_value}" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
|
||||
{/if}{if $row.device_key_category != "line"}
|
||||
{/if}{if $row.device_key_type != "6"}
|
||||
<Key Line="{$row.device_key_id}" Fea="{$row.device_key_type}" Des="{$row.device_key_label}" Addr="{$row.device_key_value}" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
@@ -268,7 +268,7 @@
|
||||
<srtp>0</srtp>
|
||||
<pkDescription>
|
||||
{foreach $keys as $row}
|
||||
{if $row.device_key_category == "line"}
|
||||
{if $row.device_key_type == "6"}
|
||||
{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 == "3"}{$feature = "8"}{$user_id = $user_id_3}{/if}
|
||||
@@ -278,7 +278,7 @@
|
||||
{if $row.device_key_line == "7"}{$feature = "12"}{$user_id = $user_id_7}{/if}
|
||||
{if $row.device_key_line == "8"}{$feature = "13"}{$user_id = $user_id_8}{/if}
|
||||
<Key Line="{$row.device_key_id}" Fea="{$feature}" Des="{$row.device_key_label}" Addr="{$row.device_key_value}" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
|
||||
{/if}{if $row.device_key_category != "line"}
|
||||
{/if}{if $row.device_key_type != "6"}
|
||||
<Key Line="{$row.device_key_id}" Fea="{$row.device_key_type}" Des="{$row.device_key_label}" Addr="{$row.device_key_value}" Addr2="" Mode="1" Mode2="1" UserID="{$user_id}"></Key>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
Reference in New Issue
Block a user