added last_local_call_time field to vicidial_list table. This change affected many scripts from the hopper loaders to the lead loaders to the vdc_db_query.php agent-side script. A script was created to populate this field from the logs: VICIDIAL_last_local_call_time_UPDATE.pl

git-svn-id: svn://192.168.202.10@921 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2008-07-13 15:45:22 +00:00
parent bfa7866277
commit 8c01f7b658
15 changed files with 663 additions and 174 deletions
+4 -4
View File
@@ -5935,11 +5935,11 @@ if ($ADD==25)
{echo "<br>CAMPAIGN LEAD RECYCLE NOT ADDED - there is already a lead-recycle for this campaign with this status\n";}
else
{
if ( (strlen($campaign_id) < 2) or (strlen($status) < 1) or ($attempt_delay < 120) or ($attempt_maximum < 1) or ($attempt_maximum > 10) )
if ( (strlen($campaign_id) < 2) or (strlen($status) < 1) or ($attempt_delay < 120) or ($attempt_delay >= 43200) or ($attempt_maximum < 1) or ($attempt_maximum > 10) )
{
echo "<br>CAMPAIGN LEAD RECYCLE NOT ADDED - Please go back and look at the data you entered\n";
echo "<br>status must be between 1 and 6 characters in length\n";
echo "<br>attempt delay must be at least 120 seconds\n";
echo "<br>attempt delay must be at least 120 seconds and less than 43200 seconds or 12 hours\n";
echo "<br>maximum attempts must be from 1 to 10\n";
}
else
@@ -7314,11 +7314,11 @@ if ($ADD==45)
{
echo "<FONT FACE=\"ARIAL,HELVETICA\" COLOR=BLACK SIZE=2>";
if ( (strlen($campaign_id) < 2) or (strlen($status) < 1) or ($attempt_delay < 120) or ($attempt_maximum < 1) or ($attempt_maximum > 10) )
if ( (strlen($campaign_id) < 2) or (strlen($status) < 1) or ($attempt_delay < 120) or ($attempt_delay >= 43200) or ($attempt_maximum < 1) or ($attempt_maximum > 10) )
{
echo "<br>CAMPAIGN LEAD RECYCLE NOT MODIFIED - Please go back and look at the data you entered\n";
echo "<br>status must be between 1 and 6 characters in length\n";
echo "<br>attempt delay must be at least 120 seconds\n";
echo "<br>attempt delay must be at least 120 seconds and less than 43200 seconds or 12 hours\n";
echo "<br>maximum attempts must be from 1 to 10\n";
}
else