From e9feaacacc7935b9832ccfb0671a6465b7dee642 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 3 Feb 2015 18:35:45 +0000 Subject: [PATCH] Small changes to improve manual dial hotkey use in vicidial.php git-svn-id: svn://192.168.202.10@2267 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/agc/vicidial.php | 39 ++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 3ec82a11..f844aa48 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -474,10 +474,11 @@ # 150123-1505 - Fixed issue with manual dial hotkey usage and agent logs # 150129-0828 - Added confirmation if agent tries to leave the page without logging out, issue #821 # 150202-0829 - Reconfigured hotkeys and auto-manual-dial for less delay +# 150203-1331 - Small changes to improve manual dial hotkey use # -$version = '2.10-445c'; -$build = '150202-0829'; +$version = '2.10-446c'; +$build = '150203-1331'; $mel=1; # Mysql Error Log enabled = 1 $mysql_log_count=85; $one_mysql_log=0; @@ -7688,6 +7689,34 @@ function set_length(SLnumber,SLlength_goal,SLdirection) if (waiting_on_dispo > 0) { alert_box("
" + agent_log_id + " - " + waiting_on_dispo + ""); + + dial_next_failed=1; + var alert_displayed=0; + trigger_ready=1; + alt_phone_dialing=starting_alt_phone_dialing; + auto_dial_level=starting_dial_level; + MainPanelToFront(); + CalLBacKsCounTCheck(); + + if (starting_dial_level == 0) + { + document.getElementById("DiaLControl").innerHTML = "\" border=\"0\" alt=\"Dial Next Number\" />"; + } + else + { + if (dial_method == "INBOUND_MAN") + { + auto_dial_level=starting_dial_level; + + document.getElementById("DiaLControl").innerHTML = "\" border=\"0\" alt=\"You are paused\" />
\" border=\"0\" alt=\"Dial Next Number\" />"; + } + else + { + document.getElementById("DiaLControl").innerHTML = DiaLControl_auto_HTML; + } + document.getElementById("MainStatuSSpan").style.background = panel_bgcolor; + reselect_alt_dial = 0; + } } else { @@ -10205,7 +10234,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection) alt_dial_active = 0; alt_dial_status_display = 0; reselect_alt_dial = 0; - manual_auto_hotkey = 1; + manual_auto_hotkey = 2; } } } @@ -10216,7 +10245,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection) { alt_dial_active = 0; alt_dial_status_display = 0; - manual_auto_hotkey = 1; + manual_auto_hotkey = 2; } else { @@ -10244,7 +10273,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection) { if (hotkeysused == 'YES') { - manual_auto_hotkey = 1; + manual_auto_hotkey = 2; alt_dial_active=0; alt_dial_status_display = 0;