diff --git a/agc_2-X/branches/agc_2.0.4/extras/GMT_USA_zip.txt b/agc_2-X/branches/agc_2.0.4/extras/GMT_USA_zip.txt index 0f239b5f..5aef0cc5 100644 --- a/agc_2-X/branches/agc_2.0.4/extras/GMT_USA_zip.txt +++ b/agc_2-X/branches/agc_2.0.4/extras/GMT_USA_zip.txt @@ -3359,6 +3359,7 @@ 09277 AE 1.0 Y 09278 AE 1.0 Y 09279 AE 1.0 Y +09280 AE 1.0 Y 09283 AE 1.0 Y 09285 AE 1.0 Y 09287 AE 1.0 Y @@ -3483,6 +3484,7 @@ 09512 AE 1.0 Y 09513 AE 1.0 Y 09514 AE 1.0 Y +09516 AE 1.0 Y 09517 AE 1.0 Y 09520 AE 1.0 Y 09522 AE 1.0 Y @@ -3722,6 +3724,7 @@ 09975 AE 1.0 Y 09976 AE 1.0 Y 09977 AE 1.0 Y +09978 AE 1.0 Y 10001 NY -5.0 Y 10002 NY -5.0 Y 10003 NY -5.0 Y @@ -15047,6 +15050,8 @@ 34006 AA -4.0 Y 34007 AA -4.0 Y 34008 AA -4.0 Y +34009 AA -4.0 Y +34010 AA -4.0 Y 34011 AA -4.0 Y 34020 AA -4.0 Y 34021 AA -4.0 Y @@ -25151,6 +25156,7 @@ 56944 DC -5.0 Y 56945 DC -5.0 Y 56950 DC -5.0 Y +56964 DC -5.0 Y 56965 DC -5.0 Y 56966 DC -5.0 Y 56967 DC -5.0 Y @@ -25160,6 +25166,12 @@ 56971 DC -5.0 Y 56972 DC -5.0 Y 56973 DC -5.0 Y +56980 DC -5.0 Y +56981 DC -5.0 Y +56982 DC -5.0 Y +56983 DC -5.0 Y +56984 DC -5.0 Y +56985 DC -5.0 Y 56998 DC -5.0 Y 56999 DC -5.0 Y 57001 SD -6.0 Y diff --git a/agc_2-X/branches/agc_2.0.4/extras/phone_codes_GMT.txt b/agc_2-X/branches/agc_2.0.4/extras/phone_codes_GMT.txt index b437af61..bf31d406 100644 --- a/agc_2-X/branches/agc_2.0.4/extras/phone_codes_GMT.txt +++ b/agc_2-X/branches/agc_2.0.4/extras/phone_codes_GMT.txt @@ -27,6 +27,7 @@ code country areacode state GMT DST DST_RANGE GEOGRAPHIC DESCRIPTION TZ_CODE PHP 1 USA 229 GA -5 Y SSM-FSN Georgia EST America/New_York 1 USA 231 MI -5 Y SSM-FSN Michigan EST America/New_York 1 USA 234 OH -5 Y SSM-FSN Ohio EST America/New_York +1 USA 235 MO -6 Y SSM-FSN Missouri CST America/Chicago 1 CAN 236 BC -8 Y SSM-FSN British Columbia PST America/Vancouver 1 USA 239 FL -5 Y SSM-FSN Florida EST America/New_York 1 USA 240 MD -5 Y SSM-FSN Maryland EST America/New_York @@ -81,9 +82,11 @@ code country areacode state GMT DST DST_RANGE GEOGRAPHIC DESCRIPTION TZ_CODE PHP 1 USA 320 MN -6 Y SSM-FSN Minnesota CST America/Chicago 1 USA 321 FL -5 Y SSM-FSN Florida EST America/New_York 1 USA 323 CA -8 Y SSM-FSN California PST America/Los_Angeles +1 USA 324 FL -5 Y SSM-FSN Florida EST America/New_York 1 USA 325 TX -6 Y SSM-FSN Texas CST America/Chicago 1 USA 326 OH -5 Y SSM-FSN Ohio EST America/New_York 1 USA 327 AR -6 Y SSM-FSN Arkansas CST America/Chicago +1 USA 329 NY -5 Y SSM-FSN New York EST America/New_York 1 USA 330 OH -5 Y SSM-FSN Ohio EST America/New_York 1 USA 331 IL -6 Y SSM-FSN Illinois CST America/Chicago 1 USA 332 NY -5 Y SSM-FSN New York EST America/New_York diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 8c924614..0cf6e1a9 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -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("\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("");} else { - if (VD_live_customer_call==1) + if ( (VD_live_customer_call==1) || (MD_channel_look==1) ) { alert("\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; diff --git a/agc_2-X/trunk/www/vicidial/bench_agent_assign.php b/agc_2-X/trunk/www/vicidial/bench_agent_assign.php index 05922687..665a82e7 100644 --- a/agc_2-X/trunk/www/vicidial/bench_agent_assign.php +++ b/agc_2-X/trunk/www/vicidial/bench_agent_assign.php @@ -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 ""._QXZ("Bench Agent Assign")." 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="\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);}