diff --git a/app/calls/call_edit.php b/app/calls/call_edit.php
index d3764d9f64..b146bcdad6 100644
--- a/app/calls/call_edit.php
+++ b/app/calls/call_edit.php
@@ -118,7 +118,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$forward_all_destination = check_str($_POST["forward_all_destination"]);
$cid_name_prefix = check_str($_POST["cid_name_prefix"]);
$cid_number_prefix = check_str($_POST["cid_number_prefix"]);
- $call_prompt = check_str($_POST["call_prompt"]);
$follow_me_enabled = check_str($_POST["follow_me_enabled"]);
$destination_data_1 = check_str($_POST["destination_data_1"]);
@@ -181,7 +180,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//if (strlen($destination_timeout_6) == 0) { $msg .= "Please provide: sec
\n"; }
//if (strlen($destination_data_7) == 0) { $msg .= "Please provide: 7th Number
\n"; }
//if (strlen($destination_timeout_7) == 0) { $msg .= "Please provide: sec
\n"; }
- //if (strlen($hunt_group_call_prompt) == 0) { $msg .= "Please provide: call prompt
\n"; }
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
require_once "resources/header.php";
require_once "resources/persist_form_var.php";
@@ -256,7 +254,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
$follow_me->db_type = $db_type;
$follow_me->cid_name_prefix = $cid_name_prefix;
$follow_me->cid_number_prefix = $cid_number_prefix;
- $follow_me->call_prompt = $call_prompt;
$follow_me->follow_me_enabled = $follow_me_enabled;
$follow_me->destination_data_1 = $destination_data_1;
@@ -365,7 +362,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
foreach ($result as &$row) {
$cid_name_prefix = $row["cid_name_prefix"];
$cid_number_prefix = $row["cid_number_prefix"];
- $call_prompt = $row["call_prompt"];
$follow_me_enabled = $row["follow_me_enabled"];
$sql = "select * from v_follow_me_destinations ";
@@ -693,32 +689,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "\n";
}
- if (permission_exists('follow_me_call_prompt')) {
- echo "