small fix for Call Quotas feature

git-svn-id: svn://192.168.202.10@3123 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2019-07-20 14:17:21 +00:00
parent fb563fe4fc
commit a3579991ef
+6 -7
View File
@@ -1811,7 +1811,6 @@ if ($call_handle_method =~ /SURVEY/)
print "SET PRIORITY 1\n";
$result = <STDIN>;
checkresult($result);
}
else
{$AGI->hangup();}
@@ -2203,6 +2202,12 @@ if ($call_handle_method =~ /SURVEY/)
&agi_output;
}
if ( ($SScall_quota_lead_ranking > 0) && ($VD_call_quota_lead_ranking !~ /^DISABLED$/i) )
{
$temp_status = 'PM';
&call_quota_logging;
}
if ($survey_no_response_action !~ /DROP/)
{
$stmtA = "DELETE FROM vicidial_auto_calls where callerid='$callerid' order by call_time desc limit 1;";
@@ -2225,12 +2230,6 @@ if ($call_handle_method =~ /SURVEY/)
$agi_string = "-- VDAD survey no-response go to campaign DROP |$drop_timer|$DROP_TIME|";
&agi_output;
}
if ( ($SScall_quota_lead_ranking > 0) && ($VD_call_quota_lead_ranking !~ /^DISABLED$/i) )
{
$temp_status = 'PM';
&call_quota_logging;
}
}
}
################################################################################