Added a Dial Level Difference Target Method option to restrict this feature to only calculation of dial level or to affect the calls dialed on each dialing engine.

git-svn-id: svn://192.168.202.10@1671 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2011-06-02 14:17:34 +00:00
parent e318f07bde
commit 0dabb9cd20
6 changed files with 42 additions and 9 deletions
+3 -1
View File
@@ -594,7 +594,9 @@ OTHER CHANGES:
selected state
131. Change Dial Level Difference Target to work properly with all RATIO and
ADAPT dial method outbound campaigns.
ADAPT dial method outbound campaigns. Added a Method option to restrict
this feature to only calculation of dial level or to affect the calls
dialed on each dialing engine.
132. Added ability to have outbound auto-dial campaigns drop to an audio prompt
or a call menu. Outbound IVR Report added. Added optional logging of
+12 -1
View File
@@ -101,6 +101,7 @@
# 110303-1710 - Added clearing of ring_callerid when vicidial_auto_calls deleted
# 110513-1745 - Added double-check for dial level difference target, and dial level and avail-only-tally features
# 110525-1940 - Allow for auto-dial IVR transfers
# 110602-0953 - Added dl_diff_target_method option
#
@@ -343,6 +344,7 @@ while($one_day_interval > 0)
@DBIPdial_level_threshold=@MT;
@DBIPdial_level_threshold_agents=@MT;
@DBIPadaptive_dl_diff_target=@MT;
@DBIPdl_diff_target_method=@MT;
$active_line_counter=0;
$user_counter=0;
@@ -561,7 +563,7 @@ while($one_day_interval > 0)
### grab the dial_level and multiply by active agents to get your goalcalls
$DBIPadlevel[$user_CIPct]=0;
$stmtA = "SELECT auto_dial_level,local_call_time,dial_timeout,dial_prefix,campaign_cid,active,campaign_vdad_exten,closer_campaigns,omit_phone_code,available_only_ratio_tally,auto_alt_dial,campaign_allow_inbound,queue_priority,dial_method,use_custom_cid,inbound_queue_no_dial,available_only_tally_threshold,available_only_tally_threshold_agents,dial_level_threshold,dial_level_threshold_agents,adaptive_dl_diff_target FROM vicidial_campaigns where campaign_id='$DBIPcampaign[$user_CIPct]'";
$stmtA = "SELECT auto_dial_level,local_call_time,dial_timeout,dial_prefix,campaign_cid,active,campaign_vdad_exten,closer_campaigns,omit_phone_code,available_only_ratio_tally,auto_alt_dial,campaign_allow_inbound,queue_priority,dial_method,use_custom_cid,inbound_queue_no_dial,available_only_tally_threshold,available_only_tally_threshold_agents,dial_level_threshold,dial_level_threshold_agents,adaptive_dl_diff_target,dl_diff_target_method FROM vicidial_campaigns where campaign_id='$DBIPcampaign[$user_CIPct]'";
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
$sthArows=$sthA->rows;
@@ -593,6 +595,15 @@ while($one_day_interval > 0)
$DBIPdial_level_threshold[$user_CIPct] = $aryA[18];
$DBIPdial_level_threshold_agents[$user_CIPct] = $aryA[19];
$DBIPadaptive_dl_diff_target[$user_CIPct] = $aryA[20];
$DBIPdl_diff_target_method[$user_CIPct] = $aryA[21];
if ($DBIPdl_diff_target_method[$user_CIPct] =~ /ADAPT_CALC_ONLY/)
{
if ( ($DBIPadaptive_dl_diff_target[$user_CIPct] < 0) || ($DBIPadaptive_dl_diff_target[$user_CIPct] > 0) )
{
$debug_string .= " !! DL DIFF TARGET SET TO 0, CALC-ONLY MODE: $DBIPdl_diff_target_method[$user_CIPct]|$DBIPadaptive_dl_diff_target[$user_CIPct]\n";
}
$DBIPadaptive_dl_diff_target[$user_CIPct] = 0;
}
if ($DBIPavailable_only_tally[$user_CIPct] =~ /Y/)
{
$DBIPcount[$user_CIPct] = $DBIPACTIVEcount[$user_CIPct];
@@ -810,7 +810,8 @@ dial_level_threshold_agents SMALLINT(5) UNSIGNED default '0',
safe_harbor_audio VARCHAR(100) default 'buzz',
safe_harbor_menu_id VARCHAR(50) default '',
survey_menu_id VARCHAR(50) default '',
callback_days_limit SMALLINT(3) default '0'
callback_days_limit SMALLINT(3) default '0',
dl_diff_target_method ENUM('ADAPT_CALC_ONLY','CALLS_PLACED') default 'ADAPT_CALC_ONLY'
);
CREATE TABLE vicidial_lists (
@@ -2498,7 +2499,7 @@ ALTER TABLE vicidial_closer_log_archive MODIFY closecallid INT(9) UNSIGNED NOT N
CREATE TABLE vicidial_outbound_ivr_log_archive LIKE vicidial_outbound_ivr_log;
UPDATE system_settings SET db_schema_version='1279',db_schema_update_date=NOW();
UPDATE system_settings SET db_schema_version='1280',db_schema_update_date=NOW();
GRANT RELOAD ON *.* TO cron@'%';
GRANT RELOAD ON *.* TO cron@localhost;
+4
View File
@@ -813,3 +813,7 @@ UPDATE system_settings SET db_schema_version='1278',db_schema_update_date=NOW()
ALTER TABLE vicidial_campaigns ADD callback_days_limit SMALLINT(3) default '0';
UPDATE system_settings SET db_schema_version='1279',db_schema_update_date=NOW() where db_schema_version < 1279;
ALTER TABLE vicidial_campaigns ADD dl_diff_target_method ENUM('ADAPT_CALC_ONLY','CALLS_PLACED') default 'ADAPT_CALC_ONLY';
UPDATE system_settings SET db_schema_version='1280',db_schema_update_date=NOW() where db_schema_version < 1280;
@@ -596,6 +596,8 @@ Survey Call Menu||
If the method is set to CALLMENU, this is the Call Menu that the customer is sent to if they opt-in||
Scheduled Callbacks Days Limit||
This option allows you to reduce the agent scheduled callbacks calendar to a selectable number of days from today, the full 12 month calendar will still be displayed, but only the set number of days will be selectable. Default is 0 for unlimited||
Dial Level Difference Target Method||
This option allows you to define whether the dial level difference target setting is applied only to the calculation of the dial level or also to the actual dialing on each dialing server. If you are running a small campaign with agents logged in on many servers you may want to use the ADAPT_CALC_ONLY option, because the CALLS_PLACED option may result in fewer calls being placed than deisred. This option is only active if Dial Level Difference Target is set to something other than 0. Default is ADAPT_CALC_ONLY||
admin_campaign_multi_alt.php
File diff suppressed because one or more lines are too long