Added a Multi-call option to the agent 3-way press-1 calls feature.
git-svn-id: svn://192.168.202.10@3792 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
# 220921-1148 - Added optimize of vicidial_users table
|
||||
# 230414-1622 - Added --reset-stuck-leads option
|
||||
# 231118-1256 - Added clearing of old vicidial_3way_press_live records
|
||||
# 231228-1901 - Added optimizing of vicidial_3way_press_multi records
|
||||
#
|
||||
|
||||
$session_flush=0;
|
||||
@@ -611,6 +612,20 @@ if (!$T)
|
||||
if (!$Q) {print " - OPTIMIZE vicidial_3way_press_live \n";}
|
||||
|
||||
|
||||
$stmtA = "OPTIMIZE table vicidial_3way_press_multi;";
|
||||
if($DB){print STDERR "\n|$stmtA|\n";}
|
||||
if (!$T)
|
||||
{
|
||||
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
|
||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||
$sthArows=$sthA->rows;
|
||||
@aryA = $sthA->fetchrow_array;
|
||||
if (!$Q) {print "|",$aryA[0],"|",$aryA[1],"|",$aryA[2],"|",$aryA[3],"|","\n";}
|
||||
$sthA->finish();
|
||||
}
|
||||
if (!$Q) {print " - OPTIMIZE vicidial_3way_press_multi \n";}
|
||||
|
||||
|
||||
if ($session_flush > 0)
|
||||
{
|
||||
$stmtA = "DELETE from vicidial_sessions_recent where call_date < '$SQLdate_NEG_1hour';";
|
||||
|
||||
Reference in New Issue
Block a user