Fix for QM live monitoring

Fix for Issue #1102

git-svn-id: svn://192.168.202.10@2993 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2018-05-29 15:05:33 +00:00
parent 118b64d732
commit 0c20dc8cb5
6 changed files with 139 additions and 49 deletions
@@ -1,7 +1,7 @@
<?php
# SCRIPT_multirecording.php - script page that stops/starts recordings being made over a forced-recording (ALLFORCE) call
#
# Copyright (C) 2017 Joe Johnson <joej@vicidial.com> LICENSE: AGPLv2
# Copyright (C) 2018 Joe Johnson <joej@vicidial.com> LICENSE: AGPLv2
# - works in conjunction with SCRIPT_multirecording_AJAX.php to allow reps the ability to make their own recordings over the course of a call while the entire call is being recorded into its own file, as in ALLFORCE recording.
#
# Implementation is done by creating a script in the Scripts section that calls this page within an <iframe> tag which passes several essential dialer variables to the page
@@ -16,9 +16,10 @@
# 120227-1512 - First Build
# 160401-0026 - HTML formatting fixes
# 170526-2158 - Added variable filtering
# 180514-2230 - Switched to mysqli
#
require("dbconnect.php");
require("dbconnect_mysqli.php");
if (isset($_GET["campaign"])) {$campaign=$_GET["campaign"];}
elseif (isset($_POST["campaign"])) {$campaign=$_POST["campaign"];}
if (isset($_GET["lead_id"])) {$lead_id=$_GET["lead_id"];}