added ALTPH2 and ADDR3 HotKey options in admin.php
changed behaviour of manual dial hotkeys to automatically dial next number, vicidial.php added ability for agent to dial alternate phone number and address3 with hotkeys, vicidial.php git-svn-id: svn://192.168.202.10@457 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
ADAPT OVERRIDE||
|
||||
The ADAPT OVERRIDE checkbox allows you to force a new dial level even though the dial method is in an ADAPT mode. This is useful if there is a dramatic shift in the quality of leads and you want to drastically change the dial_level manually.||
|
||||
There are two special HotKey options that you can use in conjunction with Alternate Phone number dialing, ALTPH2 - Alternate Phone Hot Dial and ADDR3-----Address3 Hot Dial allow an agent to use a hotkey to hangup their call, stay on the same lead, and dial another contact number from that lead.||
|
||||
|
||||
############################################################ CLIENT
|
||||
|
||||
|
||||
@@ -133,6 +133,8 @@
|
||||
# 61130-1617 - Added lead_id to MonitorConf for recording_log
|
||||
# 61221-1212 - Changed width to 760 to better fit 800x600 screens, widened SCRIPT
|
||||
# 70109-1128 - Fixed wrapup timer bug
|
||||
# 70109-1635 - Added option for HotKeys automatically dialing next number in manual mode
|
||||
# - Added option for alternate number dialing with hotkeys
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -178,8 +180,8 @@ if (isset($_GET["relogin"])) {$relogin=$_GET["relogin"];}
|
||||
|
||||
$forever_stop=0;
|
||||
|
||||
$version = '2.0.106';
|
||||
$build = '70109-1128';
|
||||
$version = '2.0.107';
|
||||
$build = '70109-1635';
|
||||
|
||||
if ($force_logout)
|
||||
{
|
||||
@@ -1434,6 +1436,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
var CBuser = '';
|
||||
var CBcomments = '';
|
||||
var volumecontrol_active = '<? echo $volumecontrol_active ?>';
|
||||
var manual_auto_hotkey = 0;
|
||||
var DiaLControl_auto_HTML = "<IMG SRC=\"./images/vdc_LB_pause_OFF.gif\" border=0 alt=\"Pause\"><a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADready');\"><IMG SRC=\"./images/vdc_LB_resume.gif\" border=0 alt=\"Resume\"></a>";
|
||||
var DiaLControl_auto_HTML_ready = "<a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADpause');\"><IMG SRC=\"./images/vdc_LB_pause.gif\" border=0 alt=\"Pause\"></a><IMG SRC=\"./images/vdc_LB_resume_OFF.gif\" border=0 alt=\"Resume\">";
|
||||
var DiaLControl_auto_HTML_OFF = "<IMG SRC=\"./images/vdc_LB_pause_OFF.gif\" border=0 alt=\"Pause\"><IMG SRC=\"./images/vdc_LB_resume_OFF.gif\" border=0 alt=\"Resume\">";
|
||||
@@ -3671,7 +3674,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
|
||||
// ################################################################################
|
||||
// Send Hangup command for customer call connected to the conference now to Manager
|
||||
function dialedcall_send_hangup(dispowindow)
|
||||
function dialedcall_send_hangup(dispowindow,hotkeysused,altdispo)
|
||||
{
|
||||
var form_cust_channel = document.vicidial_form.callchannel.value;
|
||||
var form_cust_serverip = document.vicidial_form.callserverip.value;
|
||||
@@ -3809,10 +3812,36 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
if (document.vicidial_form.DiaLAltPhonE.checked==true)
|
||||
{
|
||||
reselect_alt_dial = 1;
|
||||
if (altdispo == 'ALTPH2')
|
||||
{
|
||||
ManualDialOnly('ALTPhoneE');
|
||||
}
|
||||
else
|
||||
{
|
||||
if (altdispo == 'ADDR3')
|
||||
{
|
||||
ManualDialOnly('AddresS3');
|
||||
}
|
||||
else
|
||||
{
|
||||
if (hotkeysused == 'YES')
|
||||
{
|
||||
reselect_alt_dial = 0;
|
||||
manual_auto_hotkey = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById("DiaLControl").innerHTML = "<a href=\"#\" onclick=\"ManualDialNext('','','','','');\"><IMG SRC=\"./images/vdc_LB_dialnextnumber.gif\" border=0 alt=\"Dial Next Number\"></a>";
|
||||
if (hotkeysused == 'YES')
|
||||
{
|
||||
manual_auto_hotkey = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById("DiaLControl").innerHTML = "<a href=\"#\" onclick=\"ManualDialNext('','','','','');\"><IMG SRC=\"./images/vdc_LB_dialnextnumber.gif\" border=0 alt=\"Dial Next Number\"></a>";
|
||||
}
|
||||
reselect_alt_dial = 0;
|
||||
}
|
||||
}
|
||||
@@ -3821,6 +3850,27 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
if (document.vicidial_form.DiaLAltPhonE.checked==true)
|
||||
{
|
||||
reselect_alt_dial = 1;
|
||||
if (altdispo == 'ALTPH2')
|
||||
{
|
||||
ManualDialOnly('ALTPhoneE');
|
||||
}
|
||||
else
|
||||
{
|
||||
if (altdispo == 'ADDR3')
|
||||
{
|
||||
ManualDialOnly('AddresS3');
|
||||
}
|
||||
else
|
||||
{
|
||||
if (hotkeysused == 'YES')
|
||||
{
|
||||
document.getElementById("MainStatuSSpan").style.background = panel_bgcolor;
|
||||
document.getElementById("MainStatuSSpan").innerHTML = '';
|
||||
document.getElementById("DiaLControl").innerHTML = DiaLControl_auto_HTML_OFF;
|
||||
reselect_alt_dial = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -4204,6 +4254,15 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
AutoDial_ReSume_PauSe("VDADready","NO");
|
||||
// document.getElementById("DiaLControl").innerHTML = DiaLControl_auto_HTML_ready;
|
||||
}
|
||||
else
|
||||
{
|
||||
// trigger HotKeys manual dial automatically go to next lead
|
||||
if (manual_auto_hotkey == '1')
|
||||
{
|
||||
manual_auto_hotkey = 0;
|
||||
ManualDialNext('','','','','');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4537,14 +4596,24 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
document.vicidial_form.inert_button.focus();
|
||||
document.vicidial_form.inert_button.blur();
|
||||
CustomerData_update();
|
||||
HKdispo_display = 4;
|
||||
HKfinish=1;
|
||||
var HKdispo_ary = HKdispo.split(" ----- ");
|
||||
document.getElementById("HotKeyDispo").innerHTML = HKdispo_ary[0] + " - " + HKdispo_ary[1];
|
||||
showDiv('HotKeyActionBox');
|
||||
hideDiv('HotKeyEntriesBox');
|
||||
document.vicidial_form.DispoSelection.value = HKdispo_ary[0];
|
||||
dialedcall_send_hangup('NO');
|
||||
if ( (HKdispo_ary[0] == 'ALTPH2') || (HKdispo_ary[0] == 'ADDR3') )
|
||||
{
|
||||
if (document.vicidial_form.DiaLAltPhonE.checked==true)
|
||||
{
|
||||
dialedcall_send_hangup('NO', 'YES', HKdispo_ary[0]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
HKdispo_display = 4;
|
||||
HKfinish=1;
|
||||
document.getElementById("HotKeyDispo").innerHTML = HKdispo_ary[0] + " - " + HKdispo_ary[1];
|
||||
showDiv('HotKeyActionBox');
|
||||
hideDiv('HotKeyEntriesBox');
|
||||
document.vicidial_form.DispoSelection.value = HKdispo_ary[0];
|
||||
dialedcall_send_hangup('NO', 'YES', HKdispo_ary[0]);
|
||||
}
|
||||
// DispoSelect_submit();
|
||||
// AutoDialWaiting = 1;
|
||||
// AutoDial_ReSume_PauSe("VDADready");
|
||||
|
||||
@@ -802,12 +802,13 @@ $lead_filter_sql = ereg_replace(";","",$lead_filter_sql);
|
||||
# 61129-1028 - Added headers to Users and Phones with clickable order-by titles
|
||||
# 70108-1405 - Added ADAPT OVERRIDE to allow for forced dial_level changes in ADAPT dial methods
|
||||
# - Screen width definable at top of script, merged server_stats into this script
|
||||
# 70109-1638 - Added ALTPH2 and ADDR3 hotkey options for alt number dialing with HotKeys
|
||||
#
|
||||
|
||||
# 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
|
||||
|
||||
$version = '2.0.74';
|
||||
$build = '70108-1405';
|
||||
$version = '2.0.75';
|
||||
$build = '70109-1638';
|
||||
|
||||
$STARTtime = date("U");
|
||||
|
||||
@@ -1858,7 +1859,8 @@ echo "<TABLE WIDTH=98% BGCOLOR=#E6E6E6 cellpadding=2 cellspacing=0><TR><TD ALIGN
|
||||
<B><FONT SIZE=3>VICIDIAL_CAMPAIGN_HOTKEYS TABLE</FONT></B><BR><BR>
|
||||
<A NAME="vicidial_campaign_hotkeys">
|
||||
<BR>
|
||||
<B>Through the use of custom campaign hotkeys, agents that use the vicidial web-client can hangup and disposition calls just by pressing a single key on their keyboard.</B>
|
||||
<B>Through the use of custom campaign hotkeys, agents that use the vicidial web-client can hangup and disposition calls just by pressing a single key on their keyboard.</B> There are two special HotKey options that you can use in conjunction with Alternate Phone number dialing, ALTPH2 - Alternate Phone Hot Dial and ADDR3-----Address3 Hot Dial allow an agent to use a hotkey to hangup their call, stay on the same lead, and dial another contact number from that lead.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -6466,6 +6468,8 @@ echo "<option>9</option>\n";
|
||||
echo "</select> \n";
|
||||
echo "Status: <select size=1 name=HKstatus>\n";
|
||||
echo "$HKstatuses_list\n";
|
||||
echo "<option value=\"ALTPH2-----Alternate Phone Hot Dial\">ALTPH2 - Alternate Phone Hot Dial</option>\n";
|
||||
echo "<option value=\"ADDR3-----Address3 Hot Dial\">ADDR3 - Address3 Hot Dial</option>\n";
|
||||
echo "</select> \n";
|
||||
echo "<input type=submit name=submit value=ADD><BR>\n";
|
||||
echo "</form><BR>\n";
|
||||
|
||||
Reference in New Issue
Block a user