Added support for tier 0. If using tiers then tier 1 will not ring until Tier Rule Wait Second expires. This effectively leaves queue callers on hold unnecessarily. Using tier 0 as the lowest tier fixes this (but may also break other things [untested, just a wag]).
This commit is contained in:
parent
701ad8b712
commit
e0b2c042bf
|
|
@ -595,7 +595,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " <td class='vtable' style='text-align: center;'>\n";
|
echo " <td class='vtable' style='text-align: center;'>\n";
|
||||||
echo " <select class='formfld' name='tier_level'>\n";
|
echo " <select class='formfld' name='tier_level'>\n";
|
||||||
for ($t = 1; $t <= 9; $t++) {
|
for ($t = 0; $t <= 9; $t++) {
|
||||||
echo " <option value='".$t."'>".$t."</option>\n";
|
echo " <option value='".$t."'>".$t."</option>\n";
|
||||||
}
|
}
|
||||||
echo " </select>\n";
|
echo " </select>\n";
|
||||||
|
|
|
||||||
|
|
@ -255,6 +255,14 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
echo "<td class='vtable' align='left'>\n";
|
echo "<td class='vtable' align='left'>\n";
|
||||||
echo " <select class='formfld' name='tier_level'>\n";
|
echo " <select class='formfld' name='tier_level'>\n";
|
||||||
//echo " <option value=''></option>\n";
|
//echo " <option value=''></option>\n";
|
||||||
|
|
||||||
|
if ($tier_level == "0") {
|
||||||
|
echo " <option value='0' selected='selected' >0</option>\n";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
echo " <option value='0'>0</option>\n";
|
||||||
|
}
|
||||||
|
|
||||||
if ($tier_level == "1") {
|
if ($tier_level == "1") {
|
||||||
echo " <option value='1' selected='selected' >1</option>\n";
|
echo " <option value='1' selected='selected' >1</option>\n";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue