Added TIMEZONE lead order options for campaign dialing
git-svn-id: svn://192.168.202.10@1217 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -218,6 +218,7 @@ NOTE: Upgrading from 1.1.12-3 to 2.0.1 is at the bottom
|
||||
55. Added "Active Agent Server" option to servers to allow disabling of agent
|
||||
phone logins through ViciDial Agent Screen to a specific server
|
||||
|
||||
56. Added TIMEZONE UP and DOWN lead orders options for campaigns
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
# 90608-1201 - Added Drop Lockout Time Campaign setting option
|
||||
# 90723-0842 - Added no hopper dial option to clear hopper leads
|
||||
# 90809-0347 - Quick fix for null list_id loading when no active campaign lists
|
||||
# 90904-1612 - Added timezone ordering
|
||||
#
|
||||
|
||||
# constants
|
||||
@@ -1358,6 +1359,8 @@ foreach(@campaign_id)
|
||||
if ($lead_order[$i] =~ /^DOWN RANK/) {$order_stmt = 'order by rank, lead_id asc';}
|
||||
if ($lead_order[$i] =~ /^UP OWNER/) {$order_stmt = 'order by owner desc, lead_id asc';}
|
||||
if ($lead_order[$i] =~ /^DOWN OWNER/) {$order_stmt = 'order by owner, lead_id asc';}
|
||||
if ($lead_order[$i] =~ /^UP TIMEZONE/) {$order_stmt = 'order by gmt_offset_now desc, lead_id asc';}
|
||||
if ($lead_order[$i] =~ /^DOWN TIMEZONE/) {$order_stmt = 'order gmt_offset_now, lead_id asc';}
|
||||
if ($lead_order[$i] =~ / 2nd NEW$/) {$NEW_count = 2;}
|
||||
if ($lead_order[$i] =~ / 3rd NEW$/) {$NEW_count = 3;}
|
||||
if ($lead_order[$i] =~ / 4th NEW$/) {$NEW_count = 4;}
|
||||
|
||||
@@ -295,6 +295,9 @@ MUSIC ON HOLD ENTRY NOT DELETED||
|
||||
MUSIC ON HOLD ENTRY DELETION CONFIRMATION||
|
||||
Click here to delete music on hold entry||
|
||||
MUSIC ON HOLD DELETION COMPLETED||
|
||||
Starts with Eastern timezones and works West||
|
||||
Starts with Western timezones and works East||
|
||||
you must select a user group||
|
||||
|
||||
|
||||
add-file: user_territories.php
|
||||
|
||||
@@ -208,10 +208,11 @@
|
||||
# 90722-1542 - Added no hopper dialing
|
||||
# 90729-0637 - Added DiaLableLeaDsCounT
|
||||
# 90808-0221 - Added last_state_change to vicidial_live_agents
|
||||
# 90904-1622 - Added timezone sort options for no hopper dialing
|
||||
#
|
||||
|
||||
$version = '2.2.0-119';
|
||||
$build = '90808-0221';
|
||||
$version = '2.2.0-120';
|
||||
$build = '90904-1622';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=244;
|
||||
$one_mysql_log=0;
|
||||
@@ -1365,6 +1366,8 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
if (eregi("DOWN RANK",$lead_order)){$order_stmt = 'order by rank, lead_id asc';}
|
||||
if (eregi("UP OWNER",$lead_order)){$order_stmt = 'order by owner desc, lead_id asc';}
|
||||
if (eregi("DOWN OWNER",$lead_order)){$order_stmt = 'order by owner, lead_id asc';}
|
||||
if (eregi("UP TIMEZONE",$lead_order)){$order_stmt = 'order by gmt_offset_now desc, lead_id asc';}
|
||||
if (eregi("DOWN TIMEZONE",$lead_order)){$order_stmt = 'order by gmt_offset_now, lead_id asc';}
|
||||
|
||||
$stmt="UPDATE vicidial_list SET status='QUEUE',user='$user' where called_since_last_reset='N' and status IN($Dsql) and list_id IN($camp_lists) and ($all_gmtSQL) $DLTsql $fSQL $adooSQL $order_stmt LIMIT 1;";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
|
||||
+29
-2
@@ -1938,7 +1938,7 @@ else
|
||||
# 90808-0300 - Added longest_wait_time option for agent call routing
|
||||
# 90827-1552 - Added agent_script_override option for lists
|
||||
# 90830-2217 - Added Music On Hold section
|
||||
# 90904-1536 - Added moh chooser option
|
||||
# 90904-1536 - Added moh chooser option, timezone list ordering
|
||||
#
|
||||
# make sure you have added a user to the vicidial_users MySQL table with at least user_level 8 to access this page the first time
|
||||
|
||||
@@ -3322,6 +3322,8 @@ if ($SSoutbound_autodial_active > 0)
|
||||
<BR> - DOWN RANK: Starts with the lowest rank and works its way up
|
||||
<BR> - UP OWNER: Starts with owners beginning with Z and works its way down
|
||||
<BR> - DOWN OWNER: Starts with owners beginning with A and works its way up
|
||||
<BR> - UP TIMEZONE: Starts with Eastern timezones and works West
|
||||
<BR> - DOWN TIMEZONE: Starts with Western timezones and works East
|
||||
|
||||
<BR>
|
||||
<A NAME="vicidial_campaigns-hopper_level">
|
||||
@@ -7640,11 +7642,12 @@ if ($ADD=="2")
|
||||
{
|
||||
$user = 'AUTOGENERA';
|
||||
}
|
||||
if ( (strlen($user) < 2) or (strlen($pass) < 2) or (strlen($full_name) < 2) or ( (strlen($user) > 10) and (!ereg('AUTOGENERA',$user)) ) )
|
||||
if ( (strlen($user) < 2) or (strlen($pass) < 2) or (strlen($full_name) < 2) or (strlen($user_group) < 2) or ( (strlen($user) > 10) and (!ereg('AUTOGENERA',$user)) ) )
|
||||
{
|
||||
echo "<br>USER NOT ADDED - Please go back and look at the data you entered\n";
|
||||
echo "<br>user id must be between 2 and 10 characters long\n";
|
||||
echo "<br>full name and password must be at least 2 characters long\n";
|
||||
echo "<br>you must select a user group\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -15559,6 +15562,8 @@ if ($ADD==31)
|
||||
<option>UP RANK</option>
|
||||
<option>DOWN OWNER</option>
|
||||
<option>UP OWNER</option>
|
||||
<option>DOWN TIMEZONE</option>
|
||||
<option>UP TIMEZONE</option>
|
||||
<option>DOWN 2nd NEW</option>
|
||||
<option>DOWN 3rd NEW</option>
|
||||
<option>DOWN 4th NEW</option>
|
||||
@@ -15634,6 +15639,16 @@ if ($ADD==31)
|
||||
<option>UP OWNER 4th NEW</option>
|
||||
<option>UP OWNER 5th NEW</option>
|
||||
<option>UP OWNER 6th NEW</option>
|
||||
<option>DOWN TIMEZONE 2nd NEW</option>
|
||||
<option>DOWN TIMEZONE 3rd NEW</option>
|
||||
<option>DOWN TIMEZONE 4th NEW</option>
|
||||
<option>DOWN TIMEZONE 5th NEW</option>
|
||||
<option>DOWN TIMEZONE 6th NEW</option>
|
||||
<option>UP TIMEZONE 2nd NEW</option>
|
||||
<option>UP TIMEZONE 3rd NEW</option>
|
||||
<option>UP TIMEZONE 4th NEW</option>
|
||||
<option>UP TIMEZONE 5th NEW</option>
|
||||
<option>UP TIMEZONE 6th NEW</option>
|
||||
</select>$NWB#vicidial_campaigns-lead_order$NWE</td></tr>\n";
|
||||
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right><a href=\"$PHP_SELF?ADD=31&SUB=29&campaign_id=$campaign_id&vcl_id=$list_order_mix\">List Mix</a>: </td><td align=left><select size=1 name=list_order_mix>\n";
|
||||
@@ -16846,6 +16861,8 @@ if ($ADD==34)
|
||||
<option>UP RANK</option>
|
||||
<option>DOWN OWNER</option>
|
||||
<option>UP OWNER</option>
|
||||
<option>DOWN TIMEZONE</option>
|
||||
<option>UP TIMEZONE</option>
|
||||
<option>DOWN 2nd NEW</option>
|
||||
<option>DOWN 3rd NEW</option>
|
||||
<option>DOWN 4th NEW</option>
|
||||
@@ -16921,6 +16938,16 @@ if ($ADD==34)
|
||||
<option>UP OWNER 4th NEW</option>
|
||||
<option>UP OWNER 5th NEW</option>
|
||||
<option>UP OWNER 6th NEW</option>
|
||||
<option>DOWN TIMEZONE 2nd NEW</option>
|
||||
<option>DOWN TIMEZONE 3rd NEW</option>
|
||||
<option>DOWN TIMEZONE 4th NEW</option>
|
||||
<option>DOWN TIMEZONE 5th NEW</option>
|
||||
<option>DOWN TIMEZONE 6th NEW</option>
|
||||
<option>UP TIMEZONE 2nd NEW</option>
|
||||
<option>UP TIMEZONE 3rd NEW</option>
|
||||
<option>UP TIMEZONE 4th NEW</option>
|
||||
<option>UP TIMEZONE 5th NEW</option>
|
||||
<option>UP TIMEZONE 6th NEW</option>
|
||||
</select>$NWB#vicidial_campaigns-lead_order$NWE</td></tr>\n";
|
||||
|
||||
echo "<tr bgcolor=#B6D3FC><td align=right><a href=\"$PHP_SELF?ADD=31&SUB=29&campaign_id=$campaign_id&vcl_id=$list_order_mix\">List Mix</a>: </td><td align=left><select size=1 name=list_order_mix>\n";
|
||||
|
||||
Reference in New Issue
Block a user