diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/Thumbs.db b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/Thumbs.db
index d6ae4c59..34130091 100644
Binary files a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/Thumbs.db and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/Thumbs.db differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/agc_live_call_OFF_de.jpg b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/agc_live_call_OFF_de.jpg
new file mode 100644
index 00000000..af13f363
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/agc_live_call_OFF_de.jpg differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/agc_live_call_ON_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/agc_live_call_ON_de.gif
new file mode 100644
index 00000000..957e6fdd
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/agc_live_call_ON_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/sk.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/sk.gif
new file mode 100644
index 00000000..fa13224e
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/sk.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_dialnextnumber_OFF_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_dialnextnumber_OFF_de.gif
new file mode 100644
index 00000000..e9658f35
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_dialnextnumber_OFF_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_dialnextnumber_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_dialnextnumber_de.gif
new file mode 100644
index 00000000..de377551
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_dialnextnumber_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_hangupcustomer_OFF_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_hangupcustomer_OFF_de.gif
new file mode 100644
index 00000000..b30b2013
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_hangupcustomer_OFF_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_hangupcustomer_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_hangupcustomer_de.gif
new file mode 100644
index 00000000..1e1118c0
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_hangupcustomer_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_parkcall_OFF_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_parkcall_OFF_de.gif
new file mode 100644
index 00000000..4ee04ce5
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_parkcall_OFF_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_parkcall_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_parkcall_de.gif
new file mode 100644
index 00000000..8807883b
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_parkcall_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_resume_OFF_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_resume_OFF_de.gif
new file mode 100644
index 00000000..f707e326
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_resume_OFF_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_resume_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_resume_de.gif
new file mode 100644
index 00000000..a3766538
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_resume_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_senddtmf_OFF_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_senddtmf_OFF_de.gif
new file mode 100644
index 00000000..c6b054ae
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_senddtmf_OFF_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_senddtmf_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_senddtmf_de.gif
new file mode 100644
index 00000000..59668706
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_senddtmf_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_startrecording_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_startrecording_de.gif
new file mode 100644
index 00000000..7674d776
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_startrecording_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_stoprecording2_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_stoprecording2_de.gif
new file mode 100644
index 00000000..ff21e557
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_stoprecording2_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_transferconf_OFF_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_transferconf_OFF_de.gif
new file mode 100644
index 00000000..86c2c526
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_transferconf_OFF_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_transferconf_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_transferconf_de.gif
new file mode 100644
index 00000000..bb0274cb
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_transferconf_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_webform_OFF_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_webform_OFF_de.gif
new file mode 100644
index 00000000..b667ef77
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_webform_OFF_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_webform_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_webform_de.gif
new file mode 100644
index 00000000..24876966
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_LB_webform_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_XB_hotkeysactive_OFF_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_XB_hotkeysactive_OFF_de.gif
new file mode 100644
index 00000000..f334afd9
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_XB_hotkeysactive_OFF_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_XB_hotkeysactive_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_XB_hotkeysactive_de.gif
new file mode 100644
index 00000000..3657790c
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_XB_hotkeysactive_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_tab_script_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_tab_script_de.gif
new file mode 100644
index 00000000..d2a252c7
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_tab_script_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_volume_MUTE_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_volume_MUTE_de.gif
new file mode 100644
index 00000000..b828c5fb
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_volume_MUTE_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_volume_UNMUTE_de.gif b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_volume_UNMUTE_de.gif
new file mode 100644
index 00000000..228395bf
Binary files /dev/null and b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/images/vdc_volume_UNMUTE_de.gif differ
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/vdc_db_query.php b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/vdc_db_query.php
index 253ec880..4b428b77 100644
--- a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/vdc_db_query.php
+++ b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/vdc_db_query.php
@@ -70,6 +70,7 @@
# - $omit_phone_code - ('Y','N')
# - $no_delete_sessions - ('0','1')
# - $LogouTKicKAlL - ('0','1');
+# - $manual_dial_filter = ('NONE','CAMPLISTS','DNC','CAMPLISTS_DNC');
# CHANGELOG:
# 50629-1044 - First build of script
@@ -143,10 +144,12 @@
# 80128-1159 - fixed vicidial_log bugs
# 80402-0121 - Fixes for manual dial transfers on some systems, removed /n persist flag
# 80424-0442 - Added non_latin lookup from system_settings
+# 80722-1000 - Fixed small bugs
+# 80815-1020 - Added manual dial list restriction option
#
-$version = '2.0.4-69';
-$build = '80424-0442';
+$version = '2.0.4-71';
+$build = '80815-1020';
require("dbconnect.php");
@@ -281,6 +284,8 @@ if (isset($_GET["status"])) {$status=$_GET["status"];}
elseif (isset($_POST["status"])) {$status=$_POST["status"];}
if (isset($_GET["LogouTKicKAlL"])) {$LogouTKicKAlL=$_GET["LogouTKicKAlL"];}
elseif (isset($_POST["LogouTKicKAlL"])) {$LogouTKicKAlL=$_POST["LogouTKicKAlL"];}
+if (isset($_GET["manual_dial_filter"])) {$manual_dial_filter=$_GET["manual_dial_filter"];}
+ elseif (isset($_POST["manual_dial_filter"])) {$manual_dial_filter=$_POST["manual_dial_filter"];}
header ("Content-type: text/html; charset=utf-8");
@@ -573,6 +578,33 @@ if ($ACTION == 'manDiaLnextCaLL')
exit;
}
}
+ if (ereg("CAMPLISTS",$manual_dial_filter))
+ {
+ $stmt="SELECT list_id,active from vicidial_lists where campaign_id='$campaign'";
+ $rslt=mysql_query($stmt, $link);
+ $lists_to_parse = mysql_num_rows($rslt);
+ $camp_lists='';
+ $o=0;
+ while ($lists_to_parse > $o)
+ {
+ $rowx=mysql_fetch_row($rslt);
+ if (ereg("Y", $rowx[1])) {$active_lists++; $camp_lists .= "'$rowx[0]',";}
+ if (ereg("N", $rowx[1])) {$inactive_lists++;}
+ $o++;
+ }
+ $camp_lists = eregi_replace(".$","",$camp_lists);
+
+ $stmt="SELECT count(*) FROM vicidial_list where phone_number='$phone_number' and list_id IN($camp_lists);";
+ $rslt=mysql_query($stmt, $link);
+ if ($DB) {echo "$stmt\n";}
+ $row=mysql_fetch_row($rslt);
+
+ if ($row[0] < 1)
+ {
+ echo "NUMBER NOT IN CAMPLISTS\n";
+ exit;
+ }
+ }
if ($stage=='lookup')
{
$stmt="SELECT lead_id FROM vicidial_list where phone_number='$phone_number' order by modify_date desc LIMIT 1;";
diff --git a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/vicidial.php b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/vicidial.php
index 862f2936..84c55b12 100644
--- a/agc_2-X/branches/agc_2.0.4/LANG_www/agc/vicidial.php
+++ b/agc_2-X/branches/agc_2.0.4/LANG_www/agc/vicidial.php
@@ -177,10 +177,14 @@
# 80428-0413 - UTF8 changes and testing
# 80507-0932 - Fixed Script display bug (+ instead of space)
# 80519-1425 - Added calls in queue display
+# 80722-1000 - Fixed quote display bug
+# 80815-1015 - Added manual dial list restriction option
+# 80823-2127 - Fixed form scroll for IE
+# 81012-0857 - Marker for 2.0.4.1rc5 release
#
-$version = '2.0.4-148';
-$build = '80519-1425';
+$version = '2.0.4-152';
+$build = '81012-0857';
require("dbconnect.php");
@@ -285,6 +289,7 @@ $PreseT_DiaL_LinKs = '1'; # set to 1 to show a DIAL link for Dial Presets
$LogiNAJAX = '1'; # set to 1 to do lookups
$HidEMonitoRSessionS = '1'; # set to 1 to hide remote monitoring channels from "session calls"
$LogouTKicKAlL = '1'; # set to 1 to hangup all calls in session upon agent logout
+$CamPManDiaLLocK = '0'; # set to 1 to lock out all manual dials to only numbers in camp lists
$TEST_all_statuses = '0'; # TEST variable allows all statuses in dispo screen
@@ -348,6 +353,11 @@ echo "\n";
echo "
\n";
echo "\n";
+if ($CamPManDiaLLocK > 0)
+ {$manual_dial_filter = "CAMPLISTS_ONLY";}
+else
+ {$manual_dial_filter = "NONE";}
+
if ($campaign_login_list > 0)
{
$camp_form_code = "