From 743578fe52272dd116cdf89866c9cc76dc4d767c Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 28 Mar 2022 17:15:28 +0000 Subject: [PATCH] Small change made per Issue #1337 git-svn-id: svn://192.168.202.10@3590 3d104415-ff17-0410-8863-d5cf3c621b8a --- bin/AST_VDauto_dial.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/AST_VDauto_dial.pl b/bin/AST_VDauto_dial.pl index bf284c31..3305adff 100644 --- a/bin/AST_VDauto_dial.pl +++ b/bin/AST_VDauto_dial.pl @@ -149,9 +149,10 @@ # 220118-0938 - Added $ADB auto-alt-dial extra debug output option, fix for extended auto-alt-dial issue #1337 # 220118-2206 - Added auto_alt_threshold campaign & list settings # 220311-1920 - Added List CID Group Override option +# 220328-1310 - Small change made per Issue #1337 # -$build='220311-1920'; +$build='220328-1310'; $script='AST_VDauto_dial'; ### begin parsing run-time options ### if (length($ARGV[0])>1) @@ -3434,7 +3435,7 @@ while($one_day_interval > 0) $event_string = "|$stmtA|$alt_dial_phones_count"; &event_logger; if ($ADB > 0) {$aad_string = "ALT-09: $CLlead_id|$CLalt_dial|$Xlast|$alt_dial_phones_count|"; &aad_output;} - while ( ($alt_dial_phones_count > 0) && ($alt_dial_phones_count > $Xlast) && ($Xlast != 'LAST') ) + while ( ($alt_dial_phones_count > 0) && ($alt_dial_phones_count > $Xlast) && ($Xlast ne 'LAST') ) { $Xlast++; $stmtA="SELECT alt_phone_id,phone_number,active,phone_code FROM vicidial_list_alt_phones where lead_id='$CLlead_id' and alt_phone_count='$Xlast';";