mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add queue email address
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2021
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2022
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -107,6 +107,7 @@
|
||||
$queue_announce_sound = $_POST["queue_announce_sound"];
|
||||
$queue_announce_frequency = $_POST["queue_announce_frequency"];
|
||||
$queue_cc_exit_keys = $_POST["queue_cc_exit_keys"];
|
||||
$queue_email_address = $_POST["queue_email_address"];
|
||||
$queue_description = $_POST["queue_description"];
|
||||
|
||||
//remove invalid characters
|
||||
@@ -306,6 +307,9 @@
|
||||
}
|
||||
$array['call_center_queues'][0]['queue_announce_frequency'] = $queue_announce_frequency;
|
||||
$array['call_center_queues'][0]['queue_cc_exit_keys'] = $queue_cc_exit_keys;
|
||||
if (permission_exists('call_center_email_address')) {
|
||||
$array['call_center_queues'][0]['queue_email_address'] = $queue_email_address;
|
||||
}
|
||||
$array['call_center_queues'][0]['queue_description'] = $queue_description;
|
||||
$array['call_center_queues'][0]['call_center_queue_uuid'] = $call_center_queue_uuid;
|
||||
$array['call_center_queues'][0]['dialplan_uuid'] = $dialplan_uuid;
|
||||
@@ -524,6 +528,7 @@
|
||||
$queue_announce_sound = $row["queue_announce_sound"];
|
||||
$queue_announce_frequency = $row["queue_announce_frequency"];
|
||||
$queue_cc_exit_keys = $row["queue_cc_exit_keys"];
|
||||
$queue_email_address = $row["queue_email_address"];
|
||||
$queue_description = $row["queue_description"];
|
||||
}
|
||||
}
|
||||
@@ -1291,13 +1296,26 @@
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-exit_keys']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='queue_cc_exit_keys' value='".escape($queue_cc_exit_keys)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-exit_keys']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='queue_cc_exit_keys' value='".escape($queue_cc_exit_keys)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-exit_keys']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
if (permission_exists('call_center_email_address')) {
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-queue_email_address']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='queue_email_address' maxlength='255' value='".escape($queue_email_address)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-queue_email_address']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
|
||||
Reference in New Issue
Block a user