From 35c16f76db5ac3e15ce36f950af392235208a9c5 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sun, 21 Oct 2012 08:24:49 +0000 Subject: [PATCH] Add music on hold options to ring back to hunt groups. --- app/hunt_group/v_hunt_group_edit.php | 42 ++++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/app/hunt_group/v_hunt_group_edit.php b/app/hunt_group/v_hunt_group_edit.php index df69b86c20..7519eb05c3 100644 --- a/app/hunt_group/v_hunt_group_edit.php +++ b/app/hunt_group/v_hunt_group_edit.php @@ -467,39 +467,39 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " Ring Back:\n"; echo "\n"; echo "\n"; - echo " \n"; + require_once "app/music_on_hold/resources/classes/switch_music_on_hold.php"; + $moh = new switch_music_on_hold; + $moh->select_name = "hunt_group_ringback"; + $moh->select_value = $hunt_group_ringback; + $moh->select_options = $select_options; + echo $moh->select(); + echo "
\n"; echo "Defines what the caller will hear while the destination is being called. The choices are music (music on hold) ring (ring tone.) default: music \n"; echo "\n";