Fix for rare Agent Pause Max issue with previewed manual dial calls that don't answer
git-svn-id: svn://192.168.202.10@3613 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -695,10 +695,11 @@
|
||||
# 220518-2209 - Small fix for encrypted auth
|
||||
# 220524-1846 - Fix for rare Dead audio trigger and blind monitor trigger issue #1361
|
||||
# 220623-0911 - Added max_logged_in_agents campaign setting and list dial_prefix override
|
||||
# 220725-0839 - Fix for rare Agent Pause Max issue with previewed manual dial calls that don't answer
|
||||
#
|
||||
|
||||
$version = '2.14-663c';
|
||||
$build = '220623-0911';
|
||||
$version = '2.14-664c';
|
||||
$build = '220725-0839';
|
||||
$php_script = 'vicidial.php';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=98;
|
||||
@@ -11912,6 +11913,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
// CalL_ScripT_color='';
|
||||
xfer_agent_selected=0;
|
||||
three_way_call_cid = orig_three_way_call_cid;
|
||||
VDRP_stage_seconds=0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11923,7 +11925,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
{
|
||||
if (APRclick=='YES')
|
||||
{button_click_log = button_click_log + "" + SQLdate + "-----AutoDial_ReSume_PauSe---" + taskaction + " " + taskagentlog + " " + taskstatuschange + " " + temp_reason + " " + temp_auto + " " + temp_auto_code + "|";}
|
||||
if (VD_live_customer_call==1)
|
||||
if ( (VD_live_customer_call==1) || (MD_channel_look==1) )
|
||||
{
|
||||
alert_box("<?php echo _QXZ("STILL A LIVE CALL! You must hang it up first."); ?>\n" + VD_live_customer_call + "\n" + VDRP_stage);
|
||||
button_click_log = button_click_log + "" + SQLdate + "-----ON_CALL_pause_resume_stopped---" + VD_live_customer_call + " " + VDRP_stage + "|";
|
||||
@@ -14455,6 +14457,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
cid_lock=0;
|
||||
MD_dial_timed_out=0;
|
||||
MDcheck_for_answer=0;
|
||||
VDRP_stage_seconds=0;
|
||||
|
||||
// UPDATE VICIDIAL_LOG ENTRY FOR THIS CALL PROCESS
|
||||
DialLog("end",nodeletevdac);
|
||||
@@ -17091,7 +17094,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
{alert("<?php echo _QXZ("You cannot log out during a Dial attempt. Wait 50 seconds for the dial to fail out if it is not answered"); ?>");}
|
||||
else
|
||||
{
|
||||
if (VD_live_customer_call==1)
|
||||
if ( (VD_live_customer_call==1) || (MD_channel_look==1) )
|
||||
{
|
||||
alert("<?php echo _QXZ("STILL A LIVE CALL! Hang it up then you can log out."); ?>\n" + VD_live_customer_call);
|
||||
}
|
||||
@@ -20732,7 +20735,7 @@ function phone_number_format(formatphone) {
|
||||
var customer_local_time = customer_date + " " + customer_time;
|
||||
document.getElementById("custdatetime").innerHTML = customer_local_time;
|
||||
}
|
||||
if ( (VDRP_stage=='PAUSED') && (VD_live_customer_call < 1) )
|
||||
if ( (VDRP_stage=='PAUSED') && (VD_live_customer_call < 1) && (MD_channel_look!=1) )
|
||||
{
|
||||
VDRP_stage_seconds++;
|
||||
// document.getElementById("debugbottomspan").innerHTML = "PAUSED SECONDS " + VDRP_stage_seconds;
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
$startMS = microtime();
|
||||
|
||||
$report_name='Bench Agent Assign';
|
||||
$user_group_restructions='';
|
||||
|
||||
require("dbconnect_mysqli.php");
|
||||
require("functions.php");
|
||||
@@ -256,6 +257,12 @@ echo "<TITLE>"._QXZ("Bench Agent Assign")."</TITLE></HEAD><BODY BGCOLOR=WHITE ma
|
||||
|
||||
require("admin_header.php");
|
||||
|
||||
$user_group_restructionsSQL='';
|
||||
if (strlen($user_group_restructions) > 0)
|
||||
{
|
||||
$user_group_restructionsSQL = preg_replace("/,/","','",$user_group_restructions);
|
||||
$user_group_restructionsSQL = "and user_group IN('$user_group_restructionsSQL')";
|
||||
}
|
||||
|
||||
if ( (strlen($absent_agent) < 1) or (strlen($bench_agent) < 1) )
|
||||
{
|
||||
@@ -280,7 +287,7 @@ if ( (strlen($absent_agent) < 1) or (strlen($bench_agent) < 1) )
|
||||
while ($i < $owners_to_print)
|
||||
{
|
||||
$users_to_print=0;
|
||||
$stmt="SELECT user,full_name from vicidial_users where user='$owners[$i]';";
|
||||
$stmt="SELECT user,full_name from vicidial_users where user='$owners[$i]' $user_group_restructionsSQL;";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
if ($rslt) {$users_to_print = mysqli_num_rows($rslt);}
|
||||
@@ -295,7 +302,7 @@ if ( (strlen($absent_agent) < 1) or (strlen($bench_agent) < 1) )
|
||||
|
||||
$bench_menu="<option value=\"\">--- "._QXZ("SELECT BENCH AGENT HERE")." ---</option>\n";
|
||||
$benches_to_print=0;
|
||||
$stmt="SELECT user,full_name from vicidial_users where active='Y' order by user;";
|
||||
$stmt="SELECT user,full_name from vicidial_users where active='Y' $user_group_restructionsSQL order by user;";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
if ($rslt) {$benches_to_print = mysqli_num_rows($rslt);}
|
||||
|
||||
Reference in New Issue
Block a user