small fix to auto-dial process for alt logging
git-svn-id: svn://192.168.202.10@1709 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user