From 035d1147558a7e1acd017db71645a8b084e264c1 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 5 Jan 2021 03:57:46 +0000 Subject: [PATCH] bug fix for auto-dial changes made in last commit. git-svn-id: svn://192.168.202.10@3340 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/bin/AST_VDauto_dial.pl | 8 ++++---- agc_2-X/trunk/docs/AGENT_MULTI-CAMPAIGN_DIALING.txt | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/agc_2-X/trunk/bin/AST_VDauto_dial.pl b/agc_2-X/trunk/bin/AST_VDauto_dial.pl index 69d6a705..4094924c 100644 --- a/agc_2-X/trunk/bin/AST_VDauto_dial.pl +++ b/agc_2-X/trunk/bin/AST_VDauto_dial.pl @@ -671,7 +671,7 @@ while($one_day_interval > 0) $user_CIPct_sort = 0; foreach(@DBIPcampaign_sorted) { - @camp_sort_line = split(/\n/,$DBIPcampaign_sorted[$user_CIPct_sort]); + @camp_sort_line = split(/_/,$DBIPcampaign_sorted[$user_CIPct_sort]); $user_CIPct = $camp_sort_line[3]; $debug_string=''; $user_counter=0; @@ -981,7 +981,7 @@ while($one_day_interval > 0) if ($DBIPactive[$user_CIPct] =~ /N/) {$DBIPgoalcalls[$user_CIPct] = 0;} $DBIPgoalcalls[$user_CIPct] = sprintf("%.0f", $DBIPgoalcalls[$user_CIPct]); - $event_string="$DBIPcampaign[$user_CIPct] $DBIPaddress[$user_CIPct]: agents: $DBIPcount[$user_CIPct] (READY: $DBIPcampaign_ready_agents[$user_CIPct]) dial_level: $DBIPadlevel[$user_CIPct] ($DBIPACTIVEcount[$user_CIPct]|$DBIPINCALLcount[$user_CIPct]|$DBIPDEADcount[$user_CIPct]) $DBIPadaptive_dl_diff_target[$user_CIPct]"; + $event_string="$user_CIPct_sort $user_CIPct $DBIPcampaign[$user_CIPct] $DBIPaddress[$user_CIPct]: agents: $DBIPcount[$user_CIPct] (READY: $DBIPcampaign_ready_agents[$user_CIPct]) dial_level: $DBIPadlevel[$user_CIPct] ($DBIPACTIVEcount[$user_CIPct]|$DBIPINCALLcount[$user_CIPct]|$DBIPDEADcount[$user_CIPct]) $DBIPadaptive_dl_diff_target[$user_CIPct]"; $debug_string .= "$event_string\n"; &event_logger; @@ -1204,10 +1204,10 @@ while($one_day_interval > 0) } } - if ($DBIPmakecalls[$user_CIPct] > 0) + if ($DBIPmakecalls[$user_CIPct] > 0) {$active_line_counter = ($DBIPmakecalls[$user_CIPct] + $active_line_counter);} - $event_string="$DBIPcampaign[$user_CIPct] $DBIPaddress[$user_CIPct]: Calls to place: $DBIPmakecalls[$user_CIPct] ($DBIPgoalcalls[$user_CIPct] - $DBIPexistcalls[$user_CIPct] [$DBIPexistcalls_IN[$user_CIPct] + $DBIPexistcalls_OUT[$user_CIPct]|$DBIPexistcalls_IN_ALL[$user_CIPct]|$DBIPexistcalls_IN_LIVE[$user_CIPct]|$DBIPexistcalls_QUEUE_LIVE[$user_CIPct]]) $active_line_counter $MVT_msg"; + $event_string="$user_CIPct_sort $user_CIPct $DBIPcampaign[$user_CIPct] $DBIPaddress[$user_CIPct]: Calls to place: $DBIPmakecalls[$user_CIPct] ($DBIPgoalcalls[$user_CIPct] - $DBIPexistcalls[$user_CIPct] [$DBIPexistcalls_IN[$user_CIPct] + $DBIPexistcalls_OUT[$user_CIPct]|$DBIPexistcalls_IN_ALL[$user_CIPct]|$DBIPexistcalls_IN_LIVE[$user_CIPct]|$DBIPexistcalls_QUEUE_LIVE[$user_CIPct]]) $active_line_counter $MVT_msg"; $debug_string .= "$event_string\n"; &event_logger; diff --git a/agc_2-X/trunk/docs/AGENT_MULTI-CAMPAIGN_DIALING.txt b/agc_2-X/trunk/docs/AGENT_MULTI-CAMPAIGN_DIALING.txt index dc02b802..a998b557 100644 --- a/agc_2-X/trunk/docs/AGENT_MULTI-CAMPAIGN_DIALING.txt +++ b/agc_2-X/trunk/docs/AGENT_MULTI-CAMPAIGN_DIALING.txt @@ -2,7 +2,7 @@ AGENT MULTI-CAMPAIGN DIALING DOC Started: 2020-08-24 Updated: 2021-01-02 NOTE: Requires VICIdial svn/trunk code revision 3284 or higher to work properly!!! -NOTE: The new SHARED campaign dial method requires VICIdial svn/trunk code revision 3339 or higher to work properly!!! +NOTE: The new SHARED campaign dial method requires VICIdial svn/trunk code revision 3340 or higher to work properly!!! NOTE: THIS FEATURE IS OPTIONAL, AND SHOULD ONLY BE CONFIGURED AFTER YOUR SYSTEM HAS BEEN INSTALLED AND TESTED! @@ -121,6 +121,8 @@ We have added a new campaign dialing method "SHARED_..." that is specifically fo *********************** The following are notes for how the new "SHARED_..." campaign Dial Methods work: +NOTE: to use the new SHARED campaign dial method, you must first enable the "Shared Agent Campaign Dialing" System Setting. + How a "SHARED_..." dial methods work: