Added _wait_time options to Next Agent Call settings for Campaigns and Inbound Groups.
git-svn-id: svn://192.168.202.10@3042 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -229,6 +229,7 @@
|
||||
# 180521-0736 - Changed closer logs for AGENTDIRECT calls to log destination user
|
||||
# 180601-0932 - Added user variable sending option on enter_ingroup_url feature
|
||||
# 180806-0809 - Added CID callback number validation and change features
|
||||
# 180926-2351 - Added _wait_time options for next_agent_call
|
||||
#
|
||||
|
||||
$script = 'agi-VDAD_ALL_inbound.agi';
|
||||
@@ -2679,6 +2680,11 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) && ($MCdrop_override
|
||||
if ($CAMP_callorder =~ /campaign_grade_random/i) {$aco_sub=1; $agent_call_order = 'order by random_id';}
|
||||
if ($CAMP_callorder =~ /fewest_calls$/i) {$aco_sub=1; $agent_call_order = 'order by vicidial_live_inbound_agents.calls_today,vicidial_live_inbound_agents.last_call_finish';}
|
||||
if ($CAMP_callorder =~ /ring_all$/i) {$aco_sub=0; $agent_call_order = 'order by vicidial_live_agents.last_state_change';}
|
||||
if ($CAMP_callorder =~ /overall_user_level_wait_time/i) {$agent_call_order = 'order by user_level desc,vicidial_live_agents.last_state_change';}
|
||||
if ($CAMP_callorder =~ /campaign_rank_wait_time/i) {$agent_call_order = 'order by campaign_weight desc,vicidial_live_agents.last_state_change';}
|
||||
if ($CAMP_callorder =~ /fewest_calls_campaign_wait_time/i) {$agent_call_order = 'order by vicidial_live_agents.calls_today,vicidial_live_agents.last_state_change';}
|
||||
if ($CAMP_callorder =~ /inbound_group_rank_wait_time/i) {$aco_sub=1; $agent_call_order = 'order by group_weight desc,vicidial_live_agents.last_state_change';}
|
||||
if ($CAMP_callorder =~ /fewest_calls_wait_time$/i) {$aco_sub=1; $agent_call_order = 'order by vicidial_live_inbound_agents.calls_today,vicidial_live_agents.last_state_change';}
|
||||
|
||||
$vci=0;
|
||||
$INBOUNDcampsSQL="''";
|
||||
|
||||
Reference in New Issue
Block a user