Added List Override setting for Default Transfer Group
Added caching of inbound call stats for adapt script git-svn-id: svn://192.168.202.10@2876 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -238,6 +238,8 @@ OTHER CHANGES:
|
||||
61. Added Agent Screen Time Report campaign option, to display agent time
|
||||
statistics in the agent screen for the current day.
|
||||
|
||||
62. Added List Override setting for Default Transfer Group
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -125,9 +125,10 @@
|
||||
# 170916-1009 - Added Asterisk 13 'h' exten for dialplan generation and triggering of AMI2 scripts
|
||||
# 170920-2214 - Added expired_lists_inactive option, checks once per hour
|
||||
# 171010-2254 - Added process debug with --DebugXXX flag and screen logging
|
||||
# 171221-1628 - Added rolling of vicidial_ingroup_hour_counts records
|
||||
#
|
||||
|
||||
$build = '171010-2254';
|
||||
$build = '171221-1628';
|
||||
|
||||
$DB=0; # Debug flag
|
||||
$teodDB=0; # flag to log Timeclock End of Day processes to log file
|
||||
@@ -1347,6 +1348,28 @@ if ($timeclock_end_of_day_NOW > 0)
|
||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||
}
|
||||
|
||||
# roll vicidial_ingroup_hour_counts
|
||||
if (!$Q) {print "\nProcessing vicidial_ingroup_hour_counts table...\n";}
|
||||
$stmtA = "INSERT IGNORE INTO vicidial_ingroup_hour_counts_archive SELECT * from vicidial_ingroup_hour_counts where date_hour < '$today_start';";
|
||||
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
|
||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||
|
||||
$sthArows = $sthA->rows;
|
||||
if (!$Q) {print "$sthArows rows inserted into vicidial_ingroup_hour_counts_archive table \n";}
|
||||
|
||||
$rv = $sthA->err();
|
||||
if (!$rv)
|
||||
{
|
||||
$stmtA = "DELETE FROM vicidial_ingroup_hour_counts WHERE date_hour < '$today_start';";
|
||||
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
|
||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||
$sthArows = $sthA->rows;
|
||||
if (!$Q) {print "$sthArows rows deleted from vicidial_ingroup_hour_counts table \n";}
|
||||
|
||||
$stmtA = "optimize table vicidial_ingroup_hour_counts;";
|
||||
$sthA = $dbhA->prepare($stmtA) or die "preparing: ",$dbhA->errstr;
|
||||
$sthA->execute or die "executing: $stmtA ", $dbhA->errstr;
|
||||
}
|
||||
|
||||
##### BEGIN max stats end of day process #####
|
||||
# set OPEN max stats records to CLOSING for processing
|
||||
|
||||
+1286
-89
File diff suppressed because it is too large
Load Diff
@@ -1023,7 +1023,8 @@ local_call_time VARCHAR(10) NOT NULL DEFAULT 'campaign',
|
||||
web_form_address_three TEXT,
|
||||
status_group_id VARCHAR(20) default '',
|
||||
user_new_lead_limit SMALLINT(5) default '-1',
|
||||
inbound_list_script_override VARCHAR(20)
|
||||
inbound_list_script_override VARCHAR(20),
|
||||
default_xfer_group VARCHAR(20) default '---NONE---'
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
CREATE TABLE vicidial_statuses (
|
||||
@@ -3795,6 +3796,19 @@ index (date_hour),
|
||||
unique index vclhc_hour (date_hour, type)
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
CREATE TABLE vicidial_ingroup_hour_counts (
|
||||
group_id VARCHAR(20),
|
||||
date_hour DATETIME,
|
||||
next_hour DATETIME,
|
||||
last_update DATETIME,
|
||||
type VARCHAR(22) default 'CALLS',
|
||||
calls INT(9) UNSIGNED default '0',
|
||||
hr TINYINT(2) default '0',
|
||||
index (group_id),
|
||||
index (date_hour),
|
||||
unique index vihc_ingr_hour (group_id, date_hour, type)
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
CREATE TABLE vicidial_inbound_survey_log (
|
||||
uniqueid VARCHAR(50) NOT NULL,
|
||||
lead_id INT(9) UNSIGNED NOT NULL,
|
||||
@@ -4018,6 +4032,8 @@ CREATE TABLE vicidial_campaign_hour_counts_archive LIKE vicidial_campaign_hour_c
|
||||
|
||||
CREATE TABLE vicidial_carrier_hour_counts_archive LIKE vicidial_carrier_hour_counts;
|
||||
|
||||
CREATE TABLE vicidial_ingroup_hour_counts_archive LIKE vicidial_ingroup_hour_counts;
|
||||
|
||||
CREATE TABLE user_call_log_archive LIKE user_call_log;
|
||||
ALTER TABLE user_call_log_archive MODIFY user_call_log_id INT(9) UNSIGNED NOT NULL;
|
||||
|
||||
@@ -4100,4 +4116,4 @@ INSERT INTO vicidial_settings_containers(container_id,container_notes,container_
|
||||
|
||||
UPDATE system_settings set vdc_agent_api_active='1';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1528',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
UPDATE system_settings SET db_schema_version='1529',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
|
||||
@@ -449,3 +449,22 @@ UPDATE system_settings SET db_schema_version='1527',db_schema_update_date=NOW()
|
||||
ALTER TABLE vicidial_campaigns MODIFY get_call_launch ENUM('NONE','SCRIPT','WEBFORM','WEBFORMTWO','WEBFORMTHREE','FORM','PREVIEW_WEBFORM','PREVIEW_WEBFORMTWO','PREVIEW_WEBFORMTHREE') default 'NONE';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1528',db_schema_update_date=NOW() where db_schema_version < 1528;
|
||||
|
||||
CREATE TABLE vicidial_ingroup_hour_counts (
|
||||
group_id VARCHAR(20),
|
||||
date_hour DATETIME,
|
||||
next_hour DATETIME,
|
||||
last_update DATETIME,
|
||||
type VARCHAR(22) default 'CALLS',
|
||||
calls INT(9) UNSIGNED default '0',
|
||||
hr TINYINT(2) default '0',
|
||||
index (group_id),
|
||||
index (date_hour),
|
||||
unique index vihc_ingr_hour (group_id, date_hour, type)
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
CREATE TABLE vicidial_ingroup_hour_counts_archive LIKE vicidial_ingroup_hour_counts;
|
||||
|
||||
ALTER TABLE vicidial_lists ADD default_xfer_group VARCHAR(20) default '---NONE---';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1529',db_schema_update_date=NOW() where db_schema_version < 1529;
|
||||
|
||||
@@ -442,10 +442,11 @@
|
||||
# 171124-1158 - Added max_inbound_calls_outcome options
|
||||
# 171130-0314 - Added agent_screen_time_display option
|
||||
# 171204-1528 - Fixes for custom field duplicate fields
|
||||
# 171224-1222 - Added List default_xfer_group override
|
||||
#
|
||||
|
||||
$version = '2.14-336';
|
||||
$build = '171204-1528';
|
||||
$version = '2.14-337';
|
||||
$build = '171224-1222';
|
||||
$php_script = 'vdc_db_query.php';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=700;
|
||||
@@ -3804,7 +3805,7 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
|
||||
##### BEGIN check for postal_code and phone time zones if alert enabled
|
||||
$post_phone_time_diff_alert_message='';
|
||||
$stmt="SELECT post_phone_time_diff_alert,local_call_time,owner_populate FROM vicidial_campaigns where campaign_id='$campaign';";
|
||||
$stmt="SELECT post_phone_time_diff_alert,local_call_time,owner_populate,default_xfer_group FROM vicidial_campaigns where campaign_id='$campaign';";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00414',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
@@ -3815,6 +3816,7 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$post_phone_time_diff_alert = $row[0];
|
||||
$local_call_time = $row[1];
|
||||
$owner_populate = $row[2];
|
||||
$default_xfer_group = $row[3];
|
||||
}
|
||||
if ( ($post_phone_time_diff_alert == 'ENABLED') or (preg_match("/OUTSIDE_CALLTIME/",$post_phone_time_diff_alert)) )
|
||||
{
|
||||
@@ -4009,7 +4011,7 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
### check if there is a list_id override
|
||||
if (strlen($list_id) > 1)
|
||||
{
|
||||
$stmt = "SELECT campaign_cid_override,web_form_address,web_form_address_two,web_form_address_three,list_description FROM vicidial_lists where list_id='$list_id';";
|
||||
$stmt = "SELECT campaign_cid_override,web_form_address,web_form_address_two,web_form_address_three,list_description,default_xfer_group FROM vicidial_lists where list_id='$list_id';";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00245',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
@@ -4022,6 +4024,9 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$LISTweb_form_address_two = $row[2];
|
||||
$LISTweb_form_address_three = $row[3];
|
||||
$list_description = $row[4];
|
||||
$LISTdefault_xfer_group = $row[5];
|
||||
if ( (strlen($LISTdefault_xfer_group)>0) and (!preg_match("/---NONE---/",$LISTdefault_xfer_group)) )
|
||||
{$default_xfer_group = $LISTdefault_xfer_group;}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5055,6 +5060,7 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$LeaD_InfO .= $entry_date . "\n";
|
||||
$LeaD_InfO .= $status_group_gather_data . "\n";
|
||||
$LeaD_InfO .= $call_date . "\n";
|
||||
$LeaD_InfO .= $default_xfer_group . "\n";
|
||||
|
||||
echo $LeaD_InfO;
|
||||
}
|
||||
@@ -8147,7 +8153,7 @@ if ($ACTION == 'VDADcheckINCOMING')
|
||||
### Check for List ID override settings
|
||||
if (strlen($list_id)>0)
|
||||
{
|
||||
$stmt = "SELECT xferconf_a_number,xferconf_b_number,xferconf_c_number,xferconf_d_number,xferconf_e_number,web_form_address,web_form_address_two,list_name,web_form_address_three,list_description,status_group_id from vicidial_lists where list_id='$list_id';";
|
||||
$stmt = "SELECT xferconf_a_number,xferconf_b_number,xferconf_c_number,xferconf_d_number,xferconf_e_number,web_form_address,web_form_address_two,list_name,web_form_address_three,list_description,status_group_id,default_xfer_group from vicidial_lists where list_id='$list_id';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00281',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
@@ -8175,6 +8181,8 @@ if ($ACTION == 'VDADcheckINCOMING')
|
||||
{$VDCL_group_web_three = $row[8];}
|
||||
$list_description = $row[9];
|
||||
$status_group_gather_data = status_group_gather($row[10],'LIST');
|
||||
if ( (strlen($row[11]) > 0) and (!preg_match("/---NONE---/",$row[11])) )
|
||||
{$VDCL_default_xfer_group = $row[11];}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8293,7 +8301,7 @@ if ($ACTION == 'VDADcheckINCOMING')
|
||||
|
||||
$status_group_gather_data = status_group_gather($row[27],'INGROUP');
|
||||
|
||||
$stmt = "SELECT campaign_script,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,default_group_alias,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,timer_action_destination from vicidial_campaigns where campaign_id='$campaign';";
|
||||
$stmt = "SELECT campaign_script,xferconf_a_dtmf,xferconf_a_number,xferconf_b_dtmf,xferconf_b_number,default_group_alias,timer_action,timer_action_message,timer_action_seconds,start_call_url,dispo_call_url,xferconf_c_number,xferconf_d_number,xferconf_e_number,timer_action_destination,default_xfer_group from vicidial_campaigns where campaign_id='$campaign';";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'00181',$user,$server_ip,$session_name,$one_mysql_log);}
|
||||
@@ -8329,6 +8337,8 @@ if ($ACTION == 'VDADcheckINCOMING')
|
||||
{$VDCL_xferconf_e_number = $row[13];}
|
||||
if (strlen($VDCL_timer_action_destination) < 1)
|
||||
{$VDCL_timer_action_destination = $row[14];}
|
||||
if ( (strlen($row[15]) > 0) and (!preg_match("/---NONE---/",$row[15])) )
|
||||
{$VDCL_default_xfer_group = $row[15];}
|
||||
|
||||
if ( ( (preg_match('/NONE/',$VDCL_ingroup_script)) and (strlen($VDCL_ingroup_script) < 5) ) or (strlen($VDCL_ingroup_script) < 1) )
|
||||
{
|
||||
|
||||
@@ -574,10 +574,11 @@
|
||||
# 171126-1140 - Added ability to use EMAILinbound_message script variable
|
||||
# 171130-0226 - Added agent_screen_time_display option
|
||||
# 171214-2018 - Added PREVIEW_ get_call_launch options
|
||||
# 171224-1244 - Added List default_xfer_group override
|
||||
#
|
||||
|
||||
$version = '2.14-544c';
|
||||
$build = '171214-2018';
|
||||
$version = '2.14-545c';
|
||||
$build = '171224-1244';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=87;
|
||||
$one_mysql_log=0;
|
||||
@@ -9149,6 +9150,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
entry_date = MDnextResponse_array[57];
|
||||
status_group_statuses_data = MDnextResponse_array[58];
|
||||
last_call_date = MDnextResponse_array[59];
|
||||
LIVE_default_xfer_group = MDnextResponse_array[60];
|
||||
|
||||
// build statuses list for disposition screen
|
||||
VARstatuses = [];
|
||||
|
||||
@@ -4214,12 +4214,13 @@ else
|
||||
# 171126-1413 - Changes to allow for Email groups to display script tab on get_call_launch
|
||||
# 171130-0036 - Added agent_screen_time_display campaign setting
|
||||
# 171214-2045 - Added PREVIEW_ options for get_call_launch
|
||||
# 171224-1220 - Added List default_xfer_group override
|
||||
#
|
||||
|
||||
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 9 to access this page the first time
|
||||
|
||||
$admin_version = '2.14-645a';
|
||||
$build = '171214-2045';
|
||||
$admin_version = '2.14-646a';
|
||||
$build = '171224-1220';
|
||||
|
||||
$STARTtime = date("U");
|
||||
$SQLdate = date("Y-m-d H:i:s");
|
||||
@@ -14725,7 +14726,7 @@ if ($ADD==411)
|
||||
|
||||
echo "<br><B>"._QXZ("LIST MODIFIED").": $list_id</B>\n";
|
||||
|
||||
$stmt="UPDATE vicidial_lists set list_name='$list_name',campaign_id='$campaign_id',active='$active',list_description='$list_description',list_changedate='$SQLdate',reset_time='$reset_time',agent_script_override='$agent_script_override',inbound_list_script_override='$inbound_list_script_override',campaign_cid_override='$campaign_cid_override',am_message_exten_override='$am_message_exten_override',drop_inbound_group_override='$drop_inbound_group_override',xferconf_a_number='$xferconf_a_number',xferconf_b_number='$xferconf_b_number',xferconf_c_number='$xferconf_c_number',xferconf_d_number='$xferconf_d_number',xferconf_e_number='$xferconf_e_number',web_form_address='" . mysqli_real_escape_string($link, $web_form_address) . "',web_form_address_two='" . mysqli_real_escape_string($link, $web_form_address_two) . "',time_zone_setting='$time_zone_setting',inventory_report='$inventory_report',expiration_date='$expiration_date',na_call_url='" . mysqli_real_escape_string($link, $na_call_url) . "',local_call_time='$local_call_time',web_form_address_three='" . mysqli_real_escape_string($link, $web_form_address_three) . "',status_group_id='$status_group_id',user_new_lead_limit='$user_new_lead_limit' where list_id='$list_id';";
|
||||
$stmt="UPDATE vicidial_lists set list_name='$list_name',campaign_id='$campaign_id',active='$active',list_description='$list_description',list_changedate='$SQLdate',reset_time='$reset_time',agent_script_override='$agent_script_override',inbound_list_script_override='$inbound_list_script_override',campaign_cid_override='$campaign_cid_override',am_message_exten_override='$am_message_exten_override',drop_inbound_group_override='$drop_inbound_group_override',xferconf_a_number='$xferconf_a_number',xferconf_b_number='$xferconf_b_number',xferconf_c_number='$xferconf_c_number',xferconf_d_number='$xferconf_d_number',xferconf_e_number='$xferconf_e_number',web_form_address='" . mysqli_real_escape_string($link, $web_form_address) . "',web_form_address_two='" . mysqli_real_escape_string($link, $web_form_address_two) . "',time_zone_setting='$time_zone_setting',inventory_report='$inventory_report',expiration_date='$expiration_date',na_call_url='" . mysqli_real_escape_string($link, $na_call_url) . "',local_call_time='$local_call_time',web_form_address_three='" . mysqli_real_escape_string($link, $web_form_address_three) . "',status_group_id='$status_group_id',user_new_lead_limit='$user_new_lead_limit',default_xfer_group='$default_xfer_group' where list_id='$list_id';";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
|
||||
## QC Addition for Audited Comments
|
||||
@@ -25349,7 +25350,7 @@ if ($ADD==311)
|
||||
}
|
||||
}
|
||||
|
||||
$stmt="SELECT vicidial_lists.list_id,list_name,campaign_id,active,list_description,list_changedate,list_lastcalldate,reset_time,agent_script_override,campaign_cid_override,am_message_exten_override,drop_inbound_group_override,xferconf_a_number,xferconf_b_number,xferconf_c_number,xferconf_d_number,xferconf_e_number,web_form_address,web_form_address_two,time_zone_setting,inventory_report,IFNULL(audit_comments,0),expiration_date,DATE_FORMAT(expiration_date,'%Y%m%d'),na_call_url,local_call_time,web_form_address_three,status_group_id,user_new_lead_limit,inbound_list_script_override from vicidial_lists left outer join vicidial_lists_custom on vicidial_lists.list_id=vicidial_lists_custom.list_id where vicidial_lists.list_id='$list_id' $LOGallowed_campaignsSQL;";
|
||||
$stmt="SELECT vicidial_lists.list_id,list_name,campaign_id,active,list_description,list_changedate,list_lastcalldate,reset_time,agent_script_override,campaign_cid_override,am_message_exten_override,drop_inbound_group_override,xferconf_a_number,xferconf_b_number,xferconf_c_number,xferconf_d_number,xferconf_e_number,web_form_address,web_form_address_two,time_zone_setting,inventory_report,IFNULL(audit_comments,0),expiration_date,DATE_FORMAT(expiration_date,'%Y%m%d'),na_call_url,local_call_time,web_form_address_three,status_group_id,user_new_lead_limit,inbound_list_script_override,default_xfer_group from vicidial_lists left outer join vicidial_lists_custom on vicidial_lists.list_id=vicidial_lists_custom.list_id where vicidial_lists.list_id='$list_id' $LOGallowed_campaignsSQL;";
|
||||
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
@@ -25383,6 +25384,7 @@ if ($ADD==311)
|
||||
$status_group_id = $row[27];
|
||||
$user_new_lead_limit = $row[28];
|
||||
$inbound_list_script_override = $row[29];
|
||||
$default_xfer_group = $row[30];
|
||||
|
||||
# grab names of global statuses and statuses in the selected campaign
|
||||
$stmt="SELECT status,status_name,selectable,human_answered,category,sale,dnc,customer_contact,not_interested,unworkable,scheduled_callback,completed,min_sec,max_sec,answering_machine from vicidial_statuses order by status;";
|
||||
@@ -25592,6 +25594,49 @@ if ($ADD==311)
|
||||
$sglinkE='</a>';
|
||||
}
|
||||
|
||||
##### get in-groups listings for dynamic transfer group pulldown list menu
|
||||
$xfer_groupsSQL='';
|
||||
$stmt="SELECT closer_campaigns,xfer_groups from vicidial_campaigns where campaign_id='$campaign_id' $LOGallowed_campaignsSQL;";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
$row=mysqli_fetch_row($rslt);
|
||||
$closer_campaigns = $row[0];
|
||||
$closer_campaigns = preg_replace("/ -$/","",$closer_campaigns);
|
||||
$groups = explode(" ", $closer_campaigns);
|
||||
$xfer_groups = $row[1];
|
||||
$xfer_groups = preg_replace("/ -$/","",$xfer_groups);
|
||||
$XFERgroups = explode(" ", $xfer_groups);
|
||||
$xfer_groupsSQL = preg_replace("/^ | -$/","",$xfer_groups);
|
||||
$xfer_groupsSQL = preg_replace("/ /","','",$xfer_groupsSQL);
|
||||
$xfer_groupsSQL = "WHERE group_id IN('$xfer_groupsSQL')";
|
||||
|
||||
$nxLOGadmin_viewable_groupsSQL = $LOGadmin_viewable_groupsSQL;
|
||||
if (strlen($xfer_groupsSQL) < 6)
|
||||
{$nxLOGadmin_viewable_groupsSQL = $whereLOGadmin_viewable_groupsSQL;}
|
||||
|
||||
$stmt="SELECT group_id,group_name from vicidial_inbound_groups $xfer_groupsSQL $nxLOGadmin_viewable_groupsSQL order by group_id;";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
$Xgroups_to_print = mysqli_num_rows($rslt);
|
||||
$Xgroups_menu='';
|
||||
$Xgroups_selected=0;
|
||||
$o=0;
|
||||
while ($Xgroups_to_print > $o)
|
||||
{
|
||||
$rowx=mysqli_fetch_row($rslt);
|
||||
$Xgroups_menu .= "<option ";
|
||||
if ($default_xfer_group == "$rowx[0]")
|
||||
{
|
||||
$Xgroups_menu .= "SELECTED ";
|
||||
$Xgroups_selected++;
|
||||
}
|
||||
$Xgroups_menu .= "value=\"$rowx[0]\">$rowx[0] - $rowx[1]</option>\n";
|
||||
$o++;
|
||||
}
|
||||
if ($Xgroups_selected < 1)
|
||||
{$Xgroups_menu .= "<option SELECTED value=\"---NONE---\">---"._QXZ("NONE")."---</option>\n";}
|
||||
else
|
||||
{$Xgroups_menu .= "<option value=\"---NONE---\">---"._QXZ("NONE")."---</option>\n";}
|
||||
|
||||
|
||||
echo "<tr bgcolor=#$SSstd_row3_background><td align=right>$sglinkB"._QXZ("Status Group Override")."$sglinkE: </td><td align=left><select size=1 name=status_group_id>";
|
||||
echo "<option value=\"\">"._QXZ("NONE")."</option>";
|
||||
echo "$status_groups_menu";
|
||||
@@ -25619,6 +25664,10 @@ if ($ADD==311)
|
||||
|
||||
echo "<tr bgcolor=#$SSstd_row3_background><td align=right>"._QXZ("Transfer-Conf Number 5 Override").": </td><td align=left><input type=text name=xferconf_e_number size=20 maxlength=50 value=\"$xferconf_e_number\">$NWB#lists-xferconf_a_dtmf$NWE</td></tr>\n";
|
||||
|
||||
echo "<tr bgcolor=#$SSstd_row3_background><td align=right>"._QXZ("Default Transfer Group").": </td><td align=left><select size=1 name=default_xfer_group>";
|
||||
echo "$Xgroups_menu";
|
||||
echo "</select>$NWB#lists-default_xfer_group$NWE</td></tr>\n";
|
||||
|
||||
if ($SSuser_new_lead_limit > 0)
|
||||
{
|
||||
$stmt="SELECT no_hopper_dialing from vicidial_campaigns where campaign_id='$campaign_id' $LOGallowed_campaignsSQL;";
|
||||
|
||||
@@ -145,6 +145,7 @@
|
||||
# 171124-1045 - Added campaigns-max_inbound_calls_outcome entry
|
||||
# 171124-1353 = Added campaigns-manual_auto_next_options entry
|
||||
# 171130-0048 - Added agent_screen_time_display entry
|
||||
# 171224-1027 - Added lists-default_xfer_group entry
|
||||
#
|
||||
|
||||
require("dbconnect_mysqli.php");
|
||||
@@ -2221,6 +2222,11 @@ if ($SSqc_features_active > 0)
|
||||
<BR>
|
||||
<B><?php echo _QXZ("User New Lead Limit"); ?> -</B><?php echo _QXZ("This setting will limit the number of new leads any user can dial in this list per day. This feature will only work properly if the campaign is set to either the MANUAL or INBOUND_MAN Dial Method and No Hopper dialing is enabled. Default is -1 for disabled."); ?>
|
||||
|
||||
<BR>
|
||||
<A NAME="lists-default_xfer_group">
|
||||
<BR>
|
||||
<B><?php echo _QXZ("Default Transfer Group"); ?> -</B><?php echo _QXZ("This field is the default In-Group that will be automatically selected when the agent opens the transfer-conference frame in their agent interface. If set to NONE, then the campaign or in-group Default Transfer Group will be used. Default is NONE."); ?>
|
||||
|
||||
<BR>
|
||||
<A NAME="lists-inventory_report">
|
||||
<BR>
|
||||
|
||||
Reference in New Issue
Block a user