Added adaptive_percentmax_percentage campaign option and ADAPT_PERCENTMAX dial_method, fix for dropped cached counts
git-svn-id: svn://192.168.202.10@3957 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
# AST_timeonVDADallSUMMARY.php
|
||||
#
|
||||
# Copyright (C) 2022 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
# Copyright (C) 2025 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
|
||||
#
|
||||
# Summary for all campaigns live real-time stats for the VICIDIAL Auto-Dialer all servers
|
||||
#
|
||||
@@ -32,6 +32,7 @@
|
||||
# 170409-1534 - Added IP List validation code
|
||||
# 190927-1300 - Fixed PHP7 array issue
|
||||
# 220301-2044 - Added allow_web_debug system setting
|
||||
# 251205-1931 - Added ADAPT_PERCENTMAX
|
||||
#
|
||||
|
||||
require("dbconnect_mysqli.php");
|
||||
@@ -213,7 +214,7 @@ if ( (!preg_match('/\-ALL/i', $LOGallowed_campaigns)) )
|
||||
}
|
||||
|
||||
$campaign_typeSQL='';
|
||||
if ($types == 'AUTO-DIAL ONLY') {$campaign_typeSQL="and dial_method IN('RATIO','ADAPT_HARD_LIMIT','ADAPT_TAPERED','ADAPT_AVERAGE')";}
|
||||
if ($types == 'AUTO-DIAL ONLY') {$campaign_typeSQL="and dial_method IN('RATIO','ADAPT_HARD_LIMIT','ADAPT_TAPERED','ADAPT_AVERAGE','ADAPT_PERCENTMAX','SHARED_RATIO','SHARED_ADAPT_HARD_LIMIT','SHARED_ADAPT_TAPERED','SHARED_ADAPT_AVERAGE','SHARED_ADAPT_PERCENTMAX')";}
|
||||
if ($types == 'MANUAL ONLY') {$campaign_typeSQL="and dial_method IN('MANUAL','INBOUND_MAN')";}
|
||||
if ($types == 'INBOUND ONLY') {$campaign_typeSQL="and campaign_allow_inbound='Y'";}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user