diff --git a/app/ring_groups/ring_group_edit.php b/app/ring_groups/ring_group_edit.php
index a3b1dc451c..22a33fd75c 100644
--- a/app/ring_groups/ring_group_edit.php
+++ b/app/ring_groups/ring_group_edit.php
@@ -96,6 +96,7 @@
//set variables from http values
$ring_group_name = check_str($_POST["ring_group_name"]);
$ring_group_extension = check_str($_POST["ring_group_extension"]);
+ $ring_group_greeting = check_str($_POST["ring_group_greeting"]);
$ring_group_context = check_str($_POST["ring_group_context"]);
$ring_group_strategy = check_str($_POST["ring_group_strategy"]);
$ring_group_timeout_action = check_str($_POST["ring_group_timeout_action"]);
@@ -167,6 +168,7 @@
$msg = '';
if (strlen($ring_group_name) == 0) { $msg .= $text['message-name']."
\n"; }
if (strlen($ring_group_extension) == 0) { $msg .= $text['message-extension']."
\n"; }
+ //if (strlen($ring_group_greeting) == 0) { $msg .= $text['message-greeting']."
\n"; }
if (strlen($ring_group_strategy) == 0) { $msg .= $text['message-strategy']."
\n"; }
//if (strlen($ring_group_timeout_app) == 0) { $msg .= $text['message-timeout-action']."
\n"; }
//if (strlen($ring_group_cid_name_prefix) == 0) { $msg .= "Please provide: Caller ID Name Prefix
\n"; }
@@ -363,6 +365,7 @@
foreach ($result as &$row) {
$ring_group_name = $row["ring_group_name"];
$ring_group_extension = $row["ring_group_extension"];
+ $ring_group_greeting = $row["ring_group_greeting"];
$ring_group_context = $row["ring_group_context"];
$ring_group_strategy = $row["ring_group_strategy"];
$ring_group_timeout_app = $row["ring_group_timeout_app"];
@@ -455,9 +458,46 @@
$ringbacks = new ringbacks;
$ringbacks = $ringbacks->select('ring_group_ringback', $ring_group_ringback);
+//get the sounds
+ $sounds = new sounds;
+ $sounds = $sounds->get();
+
//show the header
require_once "resources/header.php";
+//option to change select to text
+ if (if_group("superadmin")) {
+ echo "\n";
+ echo "\n";
+ }
+
//show the content
echo "