reformatting of status display phone number in vicidial.php
git-svn-id: svn://192.168.202.10@690 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
+27
-8
@@ -162,10 +162,11 @@
|
||||
# 70806-1530 - Added Presets Dial links above agent mute button
|
||||
# 70823-2118 - Fixed XMLHTTPRequest, HotKeys and Scheduled Callbacks issues with MSIE
|
||||
# 70828-1443 - Added source_id to output of SCRIPTtab-IFRAME and WEBFORM
|
||||
# 71022-1427 - Added formatting of the customer phone number in the main status bar
|
||||
#
|
||||
|
||||
$version = '2.0.133';
|
||||
$build = '70828-1443';
|
||||
$version = '2.0.4-134';
|
||||
$build = '71022-1427';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -2936,7 +2937,10 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
if (MDlookCID == "NO")
|
||||
{
|
||||
MD_ring_secondS++;
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Calling: " + lead_dial_number + " UID: " + CIDcheck + " Waiting for Ring... " + MD_ring_secondS + " seconds";
|
||||
var dispnum = lead_dial_number;
|
||||
var status_display_number = '(' + dispnum.substring(0,3) + ')' + dispnum.substring(3,6) + '-' + dispnum.substring(6,10);
|
||||
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Calling: " + status_display_number + " UID: " + CIDcheck + " Waiting for Ring... " + MD_ring_secondS + " seconds";
|
||||
// alert("channel not found yet:\n" + campaign);
|
||||
}
|
||||
else
|
||||
@@ -3001,7 +3005,10 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
VD_live_call_secondS = 0;
|
||||
|
||||
MD_channel_look=0;
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Called: " + lead_dial_number + " UID: " + CIDcheck + " ";
|
||||
var dispnum = lead_dial_number;
|
||||
var status_display_number = '(' + dispnum.substring(0,3) + ')' + dispnum.substring(3,6) + '-' + dispnum.substring(6,10);
|
||||
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Called: " + status_display_number + " UID: " + CIDcheck + " ";
|
||||
|
||||
document.getElementById("ParkControl").innerHTML ="<a href=\"#\" onclick=\"mainxfer_send_redirect('ParK','" + lastcustchannel + "','" + lastcustserverip + "');return false;\"><IMG SRC=\"./images/vdc_LB_parkcall.gif\" border=0 alt=\"Park Call\"></a>";
|
||||
|
||||
@@ -3146,7 +3153,10 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
dialed_label = MDnextResponse_array[33];
|
||||
|
||||
lead_dial_number = document.vicidial_form.phone_number.value;
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Calling: " + document.vicidial_form.phone_number.value + " UID: " + MDnextCID + " " + man_status;
|
||||
var dispnum = document.vicidial_form.phone_number.value;
|
||||
var status_display_number = '(' + dispnum.substring(0,3) + ')' + dispnum.substring(3,6) + '-' + dispnum.substring(6,10);
|
||||
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Calling: " + status_display_number + " UID: " + MDnextCID + " " + man_status;
|
||||
if ( (dialed_label.length < 3) || (dialed_label=='NONE') ) {dialed_label='MAIN';}
|
||||
|
||||
web_form_vars =
|
||||
@@ -3447,7 +3457,10 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
MD_channel_look=1;
|
||||
custchannellive=1;
|
||||
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Calling: " + manDiaLonly_num + " UID: " + MDnextCID + " Waiting for Ring...";
|
||||
var dispnum = manDiaLonly_num;
|
||||
var status_display_number = '(' + dispnum.substring(0,3) + ')' + dispnum.substring(3,6) + '-' + dispnum.substring(6,10);
|
||||
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Calling: " + status_display_number + " UID: " + MDnextCID + " Waiting for Ring...";
|
||||
|
||||
document.getElementById("HangupControl").innerHTML = "<a href=\"#\" onclick=\"dialedcall_send_hangup();\"><IMG SRC=\"./images/vdc_LB_hangupcustomer.gif\" border=0 alt=\"Hangup Customer\"></a>";
|
||||
|
||||
@@ -3737,7 +3750,10 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
source_id = check_VDIC_array[38];
|
||||
|
||||
lead_dial_number = document.vicidial_form.phone_number.value;
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Incoming: " + document.vicidial_form.phone_number.value + " UID: " + CIDcheck + " " + VDIC_fronter;
|
||||
var dispnum = document.vicidial_form.phone_number.value;
|
||||
var status_display_number = '(' + dispnum.substring(0,3) + ')' + dispnum.substring(3,6) + '-' + dispnum.substring(6,10);
|
||||
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Incoming: " + status_display_number + " UID: " + CIDcheck + " " + VDIC_fronter;
|
||||
|
||||
if (LeaDPreVDispO == 'CALLBK')
|
||||
{
|
||||
@@ -3756,7 +3772,10 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
{
|
||||
document.getElementById("MainStatuSSpan").style.background = VDIC_data_VDIG[2];
|
||||
}
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Incoming: " + document.vicidial_form.phone_number.value + " Group- " + VDIC_data_VDIG[1] + " " + VDIC_fronter;
|
||||
var dispnum = document.vicidial_form.phone_number.value;
|
||||
var status_display_number = '(' + dispnum.substring(0,3) + ')' + dispnum.substring(3,6) + '-' + dispnum.substring(6,10);
|
||||
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Incoming: " + status_display_number + " Group- " + VDIC_data_VDIG[1] + " " + VDIC_fronter;
|
||||
}
|
||||
|
||||
document.getElementById("ParkControl").innerHTML ="<a href=\"#\" onclick=\"mainxfer_send_redirect('ParK','" + lastcustchannel + "','" + lastcustserverip + "');return false;\"><IMG SRC=\"./images/vdc_LB_parkcall.gif\" border=0 alt=\"Park Call\"></a>";
|
||||
|
||||
Reference in New Issue
Block a user