|
|
|
@@ -468,10 +468,11 @@
|
|
|
|
|
# 150108-1725 - Added more validation for API transfer commands
|
|
|
|
|
# 150111-1545 - Added manual_dial_search_filter campaign option(Issue #812)
|
|
|
|
|
# 150114-2052 - Added list_name web url variable
|
|
|
|
|
# 150117-1445 - Added NAME as status display variable
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
$version = '2.10-439c';
|
|
|
|
|
$build = '150114-2052';
|
|
|
|
|
$version = '2.10-440c';
|
|
|
|
|
$build = '150117-1445';
|
|
|
|
|
$mel=1; # Mysql Error Log enabled = 1
|
|
|
|
|
$mysql_log_count=85;
|
|
|
|
|
$one_mysql_log=0;
|
|
|
|
@@ -1709,9 +1710,12 @@ else
|
|
|
|
|
if ( ($queuemetrics_pe_phone_append > 0) and (strlen($qm_phone_environment)>0) )
|
|
|
|
|
{$qm_phone_environment .= "-$qm_extension";}
|
|
|
|
|
|
|
|
|
|
$status_display_NAME=0;
|
|
|
|
|
$status_display_CALLID=0;
|
|
|
|
|
$status_display_LEADID=0;
|
|
|
|
|
$status_display_LISTID=0;
|
|
|
|
|
if (preg_match("/NAME/",$status_display_fields))
|
|
|
|
|
{$status_display_NAME=1;}
|
|
|
|
|
if (preg_match("/CALLID/",$status_display_fields))
|
|
|
|
|
{$status_display_CALLID=1;}
|
|
|
|
|
if (preg_match("/LEADID/",$status_display_fields))
|
|
|
|
@@ -4006,6 +4010,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
|
|
|
|
var waiting_on_dispo=0;
|
|
|
|
|
var disable_dispo_screen='<?php echo $disable_dispo_screen ?>';
|
|
|
|
|
var disable_dispo_status='<?php echo $disable_dispo_status ?>';
|
|
|
|
|
var status_display_NAME='<?php echo $status_display_NAME ?>';
|
|
|
|
|
var status_display_CALLID='<?php echo $status_display_CALLID ?>';
|
|
|
|
|
var status_display_LEADID='<?php echo $status_display_LEADID ?>';
|
|
|
|
|
var status_display_LISTID='<?php echo $status_display_LISTID ?>';
|
|
|
|
@@ -7231,6 +7236,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|
|
|
|
if (alt_dial_status_display=='0')
|
|
|
|
|
{
|
|
|
|
|
var status_display_content='';
|
|
|
|
|
if (status_display_NAME > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Name:"); ?> " + document.vicidial_form.first_name.value + " " + document.vicidial_form.last_name.value;}
|
|
|
|
|
if (status_display_CALLID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("UID:"); ?> " + CIDcheck;}
|
|
|
|
|
if (status_display_LEADID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Lead:"); ?> " + document.vicidial_form.lead_id.value;}
|
|
|
|
|
if (status_display_LISTID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("List:"); ?> " + document.vicidial_form.list_id.value;}
|
|
|
|
@@ -7275,6 +7281,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|
|
|
|
if (hide_xfer_number_to_dial=='ENABLED')
|
|
|
|
|
{called3rdparty=' ';}
|
|
|
|
|
var status_display_content='';
|
|
|
|
|
if (status_display_NAME > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Name:"); ?> " + document.vicidial_form.first_name.value + " " + document.vicidial_form.last_name.value;}
|
|
|
|
|
if (status_display_CALLID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("UID:"); ?> " + CIDcheck;}
|
|
|
|
|
if (status_display_LEADID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Lead:"); ?> " + document.vicidial_form.lead_id.value;}
|
|
|
|
|
if (status_display_LISTID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("List:"); ?> " + document.vicidial_form.list_id.value;}
|
|
|
|
@@ -7331,6 +7338,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|
|
|
|
var dispnum = lead_dial_number;
|
|
|
|
|
var status_display_number = phone_number_format(dispnum);
|
|
|
|
|
var status_display_content='';
|
|
|
|
|
if (status_display_NAME > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Name:"); ?> " + document.vicidial_form.first_name.value + " " + document.vicidial_form.last_name.value;}
|
|
|
|
|
if (status_display_CALLID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("UID:"); ?> " + CIDcheck;}
|
|
|
|
|
if (status_display_LEADID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Lead:"); ?> " + document.vicidial_form.lead_id.value;}
|
|
|
|
|
if (status_display_LISTID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("List:"); ?> " + document.vicidial_form.list_id.value;}
|
|
|
|
@@ -7934,6 +7942,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|
|
|
|
var dispnum = dialed_number;
|
|
|
|
|
var status_display_number = phone_number_format(dispnum);
|
|
|
|
|
var status_display_content='';
|
|
|
|
|
if (status_display_NAME > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Name:"); ?> " + document.vicidial_form.first_name.value + " " + document.vicidial_form.last_name.value;}
|
|
|
|
|
if (status_display_CALLID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("UID:"); ?> " + MDnextCID;}
|
|
|
|
|
if (status_display_LEADID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Lead:"); ?> " + document.vicidial_form.lead_id.value;}
|
|
|
|
|
if (status_display_LISTID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("List:"); ?> " + document.vicidial_form.list_id.value;}
|
|
|
|
@@ -8396,6 +8405,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|
|
|
|
if (alt_dial_status_display=='0')
|
|
|
|
|
{
|
|
|
|
|
var status_display_content='';
|
|
|
|
|
if (status_display_NAME > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Name:"); ?> " + document.vicidial_form.first_name.value + " " + document.vicidial_form.last_name.value;}
|
|
|
|
|
if (status_display_CALLID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("UID:"); ?> " + MDnextCID;}
|
|
|
|
|
if (status_display_LEADID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Lead:"); ?> " + document.vicidial_form.lead_id.value;}
|
|
|
|
|
if (status_display_LISTID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("List:"); ?> " + document.vicidial_form.list_id.value;}
|
|
|
|
@@ -8992,6 +9002,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|
|
|
|
var dial_display_number = phone_number_format(callnum);
|
|
|
|
|
|
|
|
|
|
var status_display_content='';
|
|
|
|
|
if (status_display_NAME > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Name:"); ?> " + document.vicidial_form.first_name.value + " " + document.vicidial_form.last_name.value;}
|
|
|
|
|
if (status_display_CALLID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("UID:"); ?> " + LasTCID;}
|
|
|
|
|
if (status_display_LEADID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Lead:"); ?> " + document.vicidial_form.lead_id.value;}
|
|
|
|
|
if (status_display_LISTID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("List:"); ?> " + document.vicidial_form.list_id.value;}
|
|
|
|
@@ -9044,6 +9055,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|
|
|
|
var dial_display_number = phone_number_format(callnum);
|
|
|
|
|
|
|
|
|
|
var status_display_content='';
|
|
|
|
|
if (status_display_NAME > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Name:"); ?> " + document.vicidial_form.first_name.value + " " + document.vicidial_form.last_name.value;}
|
|
|
|
|
if (status_display_CALLID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("UID:"); ?> " + CIDcheck;}
|
|
|
|
|
if (status_display_LEADID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Lead:"); ?> " + document.vicidial_form.lead_id.value;}
|
|
|
|
|
if (status_display_LISTID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("List:"); ?> " + document.vicidial_form.list_id.value;}
|
|
|
|
@@ -9532,6 +9544,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|
|
|
|
var dial_display_number = phone_number_format(callnum);
|
|
|
|
|
|
|
|
|
|
var status_display_content='';
|
|
|
|
|
if (status_display_NAME > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Name:"); ?> " + document.vicidial_form.first_name.value + " " + document.vicidial_form.last_name.value;}
|
|
|
|
|
if (status_display_CALLID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("UID:"); ?> " + LasTCID;}
|
|
|
|
|
if (status_display_LEADID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Lead:"); ?> " + document.vicidial_form.lead_id.value;}
|
|
|
|
|
if (status_display_LISTID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("List:"); ?> " + document.vicidial_form.list_id.value;}
|
|
|
|
@@ -9584,6 +9597,7 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
|
|
|
|
var dial_display_number = phone_number_format(callnum);
|
|
|
|
|
|
|
|
|
|
var status_display_content='';
|
|
|
|
|
if (status_display_NAME > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Name:"); ?> " + document.vicidial_form.first_name.value + " " + document.vicidial_form.last_name.value;}
|
|
|
|
|
if (status_display_CALLID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("UID:"); ?> " + CIDcheck;}
|
|
|
|
|
if (status_display_LEADID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("Lead:"); ?> " + document.vicidial_form.lead_id.value;}
|
|
|
|
|
if (status_display_LISTID > 0) {status_display_content = status_display_content + " <?php echo _QXZ("List:"); ?> " + document.vicidial_form.list_id.value;}
|
|
|
|
|