From db2a92735fd9ad36867413f9638a0e60b0407bbf Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Sun, 27 Feb 2011 16:52:21 +0100 Subject: [PATCH] Add move functionality This allows an incoming call to become a configured message that will be played by vboxgetty when somebody calles (to be configured via vbox.conf in /etc/isdn). --- index.php | 15 +++++++++++++++ phone.css | 4 ++++ phone.js | 39 ++++++++++++++++++++++++++++++++++++++- phone.php | 21 +++++++++++++++++++++ 4 files changed, 78 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index b8eecdd..2d003d7 100644 --- a/index.php +++ b/index.php @@ -17,6 +17,8 @@ if (!empty($_POST['func'])) { $data['call'] = $_POST['call']; } elseif ($_POST['func'] == 'save') { save_call(); + } elseif ($_POST['func'] == 'move') { + move_call(); } elseif ($_POST['func'] == 'messages') { $data['messages'] = read_directory('messages'); } @@ -93,6 +95,19 @@ Note

+
+

Move message

+
+
+ 
+ +Filename

+Note

+ +
+
+
+