Fix for issue #600, reported by bobbymc

git-svn-id: svn://192.168.202.10@1885 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2012-11-29 23:45:04 +00:00
parent 7e060115b7
commit 4e6ae1d55e
+6
View File
@@ -110,6 +110,7 @@
# 120403-1839 - Changed auto-alt-dial multi-lead processing to use server max recording time value for time
# 120831-1503 - Added vicidial_dial_log outbound call logging
# 121124-2249 - Added Other Campaign DNC option
# 121129-1840 - Fix for issue #600
#
@@ -946,6 +947,11 @@ while($one_day_interval > 0)
$stmtA = "UPDATE vicidial_campaign_server_stats SET local_trunk_shortage='$DBIPtrunk_shortage[$user_CIPct]',update_time='$now_date' where server_ip='$server_ip' and campaign_id='$DBIPcampaign[$user_CIPct]';";
$affected_rows = $dbhA->do($stmtA);
}
else
{
$stmtA = "UPDATE vicidial_campaign_server_stats SET update_time='$now_date' where server_ip='$server_ip' and campaign_id='$DBIPcampaign[$user_CIPct]';";
$affected_rows = $dbhA->do($stmtA);
}
$event_string="LOCAL TRUNK SHORTAGE: $DBIPtrunk_shortage[$user_CIPct]|$DBIPold_trunk_shortage[$user_CIPct] ($active_line_goal - $max_vicidial_trunks)";
$debug_string .= "$event_string\n";