added user to recording_log table and associated scripts
added recordings list to user_stats.php page changed user_stats.php page to use time range for calls list and recordings list git-svn-id: svn://192.168.202.10@428 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -63,6 +63,7 @@
|
||||
# 60809-1544 - Added direct transfers to leave-3ways in consultative transfers
|
||||
# 61004-1526 - Added parsing of volume control command and lookup or number
|
||||
# 61130-1617 - Added lead_id to MonitorConf for recording_log
|
||||
# 61201-1115 - Added user to MonitorConf for recording_log
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -882,7 +883,7 @@ if ( ($ACTION=="Monitor") || ($ACTION=="StopMonitor") )
|
||||
|
||||
if ($ACTION=="Monitor")
|
||||
{
|
||||
$stmt = "INSERT INTO recording_log (channel,server_ip,extension,start_time,start_epoch,filename,lead_id) values('$channel','$server_ip','$exten','$NOW_TIME','$StarTtime','$filename','$lead_id')";
|
||||
$stmt = "INSERT INTO recording_log (channel,server_ip,extension,start_time,start_epoch,filename,lead_id,user) values('$channel','$server_ip','$exten','$NOW_TIME','$StarTtime','$filename','$lead_id','$user')";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
@@ -944,7 +945,7 @@ if ( ($ACTION=="MonitorConf") || ($ACTION=="StopMonitorConf") )
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "INSERT INTO recording_log (channel,server_ip,extension,start_time,start_epoch,filename,lead_id) values('$channel','$server_ip','$exten','$NOW_TIME','$StarTtime','$filename','$lead_id')";
|
||||
$stmt = "INSERT INTO recording_log (channel,server_ip,extension,start_time,start_epoch,filename,lead_id,user) values('$channel','$server_ip','$exten','$NOW_TIME','$StarTtime','$filename','$lead_id','$user')";
|
||||
if ($format=='debug') {echo "\n<!-- $stmt -->";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user