From ff578da24e36772e5803513e70cd97742b6a952a Mon Sep 17 00:00:00 2001
From: K-Flagman <105959875+k-flagman@users.noreply.github.com>
Date: Sat, 26 Aug 2023 09:17:04 -0700
Subject: [PATCH] Play button in IVR Menu edit (#6786)
* add play button for ivr long and short greetings
---
app/ivr_menus/ivr_menu_edit.php | 28 +++++++++++++++++++++++++++-
app/recordings/recordings.php | 2 ++
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/app/ivr_menus/ivr_menu_edit.php b/app/ivr_menus/ivr_menu_edit.php
index 0c05e5718e..97f06c7c5f 100644
--- a/app/ivr_menus/ivr_menu_edit.php
+++ b/app/ivr_menus/ivr_menu_edit.php
@@ -894,6 +894,8 @@
echo "";
unset($destination_id);
}
+ echo " \n";
+ echo "\n";
echo "
\n";
echo $text['description-greet_long']."\n";
echo "\n";
@@ -1035,6 +1037,8 @@
echo "";
unset($destination_id);
}
+ echo " \n";
+ echo "\n";
echo "
\n";
echo $text['description-greet_short']."\n";
echo "\n";
@@ -1650,6 +1654,28 @@
echo "";
//include the footer
- require_once "resources/footer.php";
+ ?>
+
+
diff --git a/app/recordings/recordings.php b/app/recordings/recordings.php
index 733c2212a1..ef047567e5 100644
--- a/app/recordings/recordings.php
+++ b/app/recordings/recordings.php
@@ -67,6 +67,8 @@
}
}
unset($sql, $parameters, $row, $recording_decoded);
+ } elseif ($_GET['filename']) {
+ $recording_filename = $_GET['filename'];
}
// build full path