mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Start the Mitel functions list.
This commit is contained in:
@@ -1049,6 +1049,55 @@ require_once "resources/require.php";
|
|||||||
<?php
|
<?php
|
||||||
if (strlen($device_vendor) == 0) { echo "</optgroup>"; }
|
if (strlen($device_vendor) == 0) { echo "</optgroup>"; }
|
||||||
}
|
}
|
||||||
|
if (strtolower($device_vendor) == "mitel" || strlen($device_vendor) == 0 || strlen($device_username) > 0) {
|
||||||
|
echo "<optgroup label='Mitel'>";
|
||||||
|
?>
|
||||||
|
<option value='0' <?php if ($row['device_key_type'] == "0") { echo $selected;$found=true; } ?>><?php echo $text['label-none'] ?></option>
|
||||||
|
<option value='6' <?php if ($row['device_key_type'] == "6") { echo $selected;$found=true; } ?>><?php echo $text['label-line']." 1" ?></option>
|
||||||
|
<option value='7' <?php if ($row['device_key_type'] == "7") { echo $selected;$found=true; } ?>><?php echo $text['label-line']." 2" ?></option>
|
||||||
|
<option value='8' <?php if ($row['device_key_type'] == "8") { echo $selected;$found=true; } ?>><?php echo $text['label-line']." 3" ?></option>
|
||||||
|
<option value='9' <?php if ($row['device_key_type'] == "9") { echo $selected;$found=true; } ?>><?php echo $text['label-line']." 4" ?></option>
|
||||||
|
<option value='10' <?php if ($row['device_key_type'] == "10") { echo $selected;$found=true; } ?>><?php echo $text['label-line']." 5" ?></option>
|
||||||
|
<option value='11' <?php if ($row['device_key_type'] == "12") { echo $selected;$found=true; } ?>><?php echo $text['label-line']." 6" ?></option>
|
||||||
|
<option value='12' <?php if ($row['device_key_type'] == "12") { echo $selected;$found=true; } ?>><?php echo $text['label-line']." 7" ?></option>
|
||||||
|
<option value='13' <?php if ($row['device_key_type'] == "13") { echo $selected;$found=true; } ?>><?php echo $text['label-line']." 8" ?></option>
|
||||||
|
<option value='27' <?php if ($row['device_key_type'] == "27") { echo $selected;$found=true; } ?>><?php echo $text['label-blf'] ?></option>
|
||||||
|
<option value='1' <?php if ($row['device_key_type'] == "1") { echo $selected;$found=true; } ?>><?php echo $text['label-speed_dial'] ?></option>
|
||||||
|
<option value='5' <?php if ($row['device_key_type'] == "5") { echo $selected;$found=true; } ?>><?php echo $text['label-shared_line'] ?></option>
|
||||||
|
<option value='16' <?php if ($row['device_key_type'] == "16") { echo $selected;$found=true; } ?>><?php echo $text['label-forward'] ?></option>
|
||||||
|
<option value='17' <?php if ($row['device_key_type'] == "17") { echo $selected;$found=true; } ?>><?php echo $text['label-dnd'] ?></option>
|
||||||
|
<option value='19' <?php if ($row['device_key_type'] == "19") { echo $selected;$found=true; } ?>><?php echo $text['label-url'] ?></option>
|
||||||
|
<?php
|
||||||
|
<!--
|
||||||
|
0 - not programmed
|
||||||
|
1 - speed dial
|
||||||
|
2 - callLog
|
||||||
|
3 - advisoryMsg (on/off)
|
||||||
|
4 - headset(on/off)
|
||||||
|
5 - shared line
|
||||||
|
6 - Line 1
|
||||||
|
7 - Line 2
|
||||||
|
8 - Line 3
|
||||||
|
9 - Line 4
|
||||||
|
10 - Line 5
|
||||||
|
11 - Line 6
|
||||||
|
12 - Line 7
|
||||||
|
13 - Line 8
|
||||||
|
15 - phonebook
|
||||||
|
16 - call forwarding
|
||||||
|
17 - do not disturb
|
||||||
|
18 - PC Application
|
||||||
|
19 - RSS Feed URL / Branding /Notes
|
||||||
|
21 - Superkey (5304 set only)
|
||||||
|
22 - Redial key (5304 set only)
|
||||||
|
23 - Hold key (5304 set only)
|
||||||
|
24 - Trans/Conf key (5304 set only)
|
||||||
|
25 - Message key (5304 set only)
|
||||||
|
26 - Cancel key (5304 set only)
|
||||||
|
27 - Speed Dial & BLF
|
||||||
|
-->
|
||||||
|
if (strlen($device_vendor) == 0) { echo "</optgroup>"; }
|
||||||
|
}
|
||||||
if (strtolower($device_vendor) == "polycom" || strlen($device_vendor) == 0 || strlen($device_username) > 0) {
|
if (strtolower($device_vendor) == "polycom" || strlen($device_vendor) == 0 || strlen($device_username) > 0) {
|
||||||
echo "<optgroup label='Polycom'>";
|
echo "<optgroup label='Polycom'>";
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user