From 71c3e64366c932eff027676f5e5738a6be5a596f Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 10 Aug 2011 10:33:36 +0000 Subject: [PATCH] small fix to auto-dial process for alt logging git-svn-id: svn://192.168.202.10@1709 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/bin/AST_VDauto_dial.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agc_2-X/trunk/bin/AST_VDauto_dial.pl b/agc_2-X/trunk/bin/AST_VDauto_dial.pl index b5b5ae01..b4e680f3 100644 --- a/agc_2-X/trunk/bin/AST_VDauto_dial.pl +++ b/agc_2-X/trunk/bin/AST_VDauto_dial.pl @@ -2948,7 +2948,7 @@ while($one_day_interval > 0) { if ($MLnoanswer =~ /\|$MLstatus[$vle_count]\|/i) { - if ( ($tables_use_alt_log_db =~ / vicidial_log_noanswer /i) && (length($alt_log_server_ip)>4) && (length($alt_log_dbname)>4) ) + if ( ($tables_use_alt_log_db =~ /vicidial_log_noanswer/i) && (length($alt_log_server_ip)>4) && (length($alt_log_dbname)>0) ) { $stmtA = "SELECT uniqueid,lead_id,list_id,campaign_id,call_date,start_epoch,end_epoch,length_in_sec,status,phone_code,phone_number,user,comments,processed,user_group,term_reason,alt_dial FROM vicidial_log where uniqueid='$MLuniqueid[$vle_count]' and lead_id='$MLleadid[$vle_count]' and call_date > \"$RMSQLdate\";"; $sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;