added dialed_label to vicidial.php webform query string
git-svn-id: svn://192.168.202.10@497 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -116,10 +116,11 @@
|
||||
# 70123-1357 - Fixed bug that would not update vicidial_closer_log status to dispo
|
||||
# 70202-1438 - Added pause code submit function
|
||||
# 70203-0930 - Added dialed_number to lead info output
|
||||
# 70203-1030 - Added dialed_label to lead info output
|
||||
#
|
||||
|
||||
$version = '2.0.43';
|
||||
$build = '70203-0930';
|
||||
$version = '2.0.44';
|
||||
$build = '70203-1030';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -626,6 +627,7 @@ if ($ACTION == 'manDiaLnextCaLL')
|
||||
$LeaD_InfO .= $CBuser . "\n";
|
||||
$LeaD_InfO .= $CBcomments . "\n";
|
||||
$LeaD_InfO .= $phone_number . "\n";
|
||||
$LeaD_InfO .= "MAIN\n";
|
||||
|
||||
echo $LeaD_InfO;
|
||||
|
||||
@@ -1274,7 +1276,7 @@ if ($ACTION == 'VDADcheckINCOMING')
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
|
||||
$stmt = "select campaign_id,phone_number from vicidial_auto_calls where callerid = '$callerid' order by call_time desc limit 1;";
|
||||
$stmt = "select campaign_id,phone_number,alt_dial from vicidial_auto_calls where callerid = '$callerid' order by call_time desc limit 1;";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$VDAC_cid_ct = mysql_num_rows($rslt);
|
||||
@@ -1283,6 +1285,7 @@ if ($ACTION == 'VDADcheckINCOMING')
|
||||
$row=mysql_fetch_row($rslt);
|
||||
$VDADchannel_group =$row[0];
|
||||
$dialed_number =$row[1];
|
||||
$dialed_label =$row[2];
|
||||
}
|
||||
|
||||
$stmt = "select count(*) from vicidial_log where lead_id='$lead_id' and uniqueid='$uniqueid';";
|
||||
@@ -1365,7 +1368,7 @@ if ($ACTION == 'VDADcheckINCOMING')
|
||||
}
|
||||
echo "|||||$VDCL_campaign_script|$VDCL_get_call_launch|$VDCL_xferconf_a_dtmf|$VDCL_xferconf_a_number|$VDCL_xferconf_b_dtmf|$VDCL_xferconf_b_number|\n|\n";
|
||||
|
||||
$stmt = "select phone_number from vicidial_auto_calls where callerid = '$callerid' order by call_time desc limit 1;";
|
||||
$stmt = "select phone_number,alt_dial from vicidial_auto_calls where callerid = '$callerid' order by call_time desc limit 1;";
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$VDAC_cid_ct = mysql_num_rows($rslt);
|
||||
@@ -1373,6 +1376,7 @@ if ($ACTION == 'VDADcheckINCOMING')
|
||||
{
|
||||
$row=mysql_fetch_row($rslt);
|
||||
$dialed_number =$row[0];
|
||||
$dialed_label =$row[1];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1412,6 +1416,7 @@ if ($ACTION == 'VDADcheckINCOMING')
|
||||
$LeaD_InfO .= $CBuser . "\n";
|
||||
$LeaD_InfO .= $CBcomments . "\n";
|
||||
$LeaD_InfO .= $dialed_number . "\n";
|
||||
$LeaD_InfO .= $dialed_label . "\n";
|
||||
|
||||
echo $LeaD_InfO;
|
||||
|
||||
|
||||
@@ -142,10 +142,11 @@
|
||||
# 70202-1453 - Added first portions of Agent Pause Codes
|
||||
# 70203-0108 - Finished Agent Pause Codes functionality
|
||||
# 70203-0930 - Added dialed_number to webform output
|
||||
# 70203-1010 - Added dialed_label to webform output
|
||||
#
|
||||
|
||||
$version = '2.0.113';
|
||||
$build = '0203-0930';
|
||||
$version = '2.0.114';
|
||||
$build = '70203-1010';
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
@@ -649,7 +650,7 @@ $VDloginDISPLAY=0;
|
||||
|
||||
if ($agent_pause_codes_active=='Y')
|
||||
{
|
||||
##### grab the campaign-specific statuses that can be used for dispositioning by an agent
|
||||
##### grab the pause codes for this campaign
|
||||
$stmt="SELECT pause_code,pause_code_name FROM vicidial_pause_codes WHERE campaign_id='$VD_campaign' order by pause_code limit 50;";
|
||||
if ($non_latin > 0) {$rslt=mysql_query("SET NAMES 'UTF8'");}
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
@@ -1504,6 +1505,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
var PauseCode_HTML = '';
|
||||
var manual_auto_hotkey = 0;
|
||||
var dialed_number = '';
|
||||
var dialed_label = '';
|
||||
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\">";
|
||||
@@ -2949,9 +2951,11 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
CBuser = MDnextResponse_array[30];
|
||||
CBcomments = MDnextResponse_array[31];
|
||||
dialed_number = MDnextResponse_array[32];
|
||||
|
||||
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;
|
||||
if ( (dialed_label.length < 3) || (dialed_label=='NONE') ) {dialed_label='MAIN';}
|
||||
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
@@ -2998,6 +3002,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
"&parked_by=" + document.vicidial_form.lead_id.value +
|
||||
"&dispo=" + LeaDDispO + '' +
|
||||
"&dialed_number=" + dialed_number + '' +
|
||||
"&dialed_label=" + dialed_label + '' +
|
||||
webform_session;
|
||||
|
||||
// $VICIDIAL_web_QUERY_STRING =~ s/ /+/gi;
|
||||
@@ -3183,7 +3188,8 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
var manDiaLonly_num = document.vicidial_form.alt_phone.value;
|
||||
lead_dial_number = document.vicidial_form.alt_phone.value;
|
||||
dialed_number = lead_dial_number;
|
||||
WebFormRefresH('')
|
||||
dialed_label = 'ALT';
|
||||
WebFormRefresH('');
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3192,14 +3198,16 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
var manDiaLonly_num = document.vicidial_form.address3.value;
|
||||
lead_dial_number = document.vicidial_form.address3.value;
|
||||
dialed_number = lead_dial_number;
|
||||
WebFormRefresH('')
|
||||
dialed_label = 'ADDR3';
|
||||
WebFormRefresH('');
|
||||
}
|
||||
else
|
||||
{
|
||||
var manDiaLonly_num = document.vicidial_form.phone_number.value;
|
||||
lead_dial_number = document.vicidial_form.phone_number.value;
|
||||
dialed_number = lead_dial_number;
|
||||
WebFormRefresH('')
|
||||
dialed_label = 'MAIN';
|
||||
WebFormRefresH('');
|
||||
}
|
||||
}
|
||||
var xmlhttp=false;
|
||||
@@ -3529,6 +3537,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
CBuser = check_VDIC_array[34];
|
||||
CBcomments = check_VDIC_array[35];
|
||||
dialed_number = check_VDIC_array[36];
|
||||
dialed_label = check_VDIC_array[37];
|
||||
|
||||
lead_dial_number = document.vicidial_form.phone_number.value;
|
||||
document.getElementById("MainStatuSSpan").innerHTML = " Incoming: " + document.vicidial_form.phone_number.value + " UID: " + CIDcheck + " " + VDIC_fronter;
|
||||
@@ -3579,6 +3588,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
{var group = VDCL_group_id;}
|
||||
else
|
||||
{var group = campaign;}
|
||||
if ( (dialed_label.length < 3) || (dialed_label=='NONE') ) {dialed_label='MAIN';}
|
||||
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
@@ -3626,6 +3636,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
"&parked_by=" + document.vicidial_form.lead_id.value +
|
||||
"&dispo=" + LeaDDispO + '' +
|
||||
"&dialed_number=" + dialed_number + '' +
|
||||
"&dialed_label=" + dialed_label + '' +
|
||||
webform_session;
|
||||
|
||||
var regWFspace = new RegExp(" ","ig");
|
||||
@@ -3687,6 +3698,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
{var group = VDCL_group_id;}
|
||||
else
|
||||
{var group = campaign;}
|
||||
if ( (dialed_label.length < 3) || (dialed_label=='NONE') ) {dialed_label='MAIN';}
|
||||
|
||||
web_form_vars =
|
||||
"lead_id=" + document.vicidial_form.lead_id.value +
|
||||
@@ -3734,6 +3746,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
"&parked_by=" + document.vicidial_form.lead_id.value +
|
||||
"&dispo=" + LeaDDispO + '' +
|
||||
"&dialed_number=" + dialed_number + '' +
|
||||
"&dialed_label=" + dialed_label + '' +
|
||||
webform_session;
|
||||
|
||||
var regWFspace = new RegExp(" ","ig");
|
||||
@@ -6017,7 +6030,7 @@ Your Status: <span id="AgentStatusStatus"></span> <BR>Calls Dialing: <span id="A
|
||||
|
||||
|
||||
<!-- BEGIN ********* Here is the main VICIDIAL display panel -->
|
||||
<span style="position:absolute;left:0px;top:46px;width=1000px;height=1000px;z-index:10;" id="MainPanel">
|
||||
<span style="position:absolute;left:0px;top:46px;z-index:10;" id="MainPanel">
|
||||
<TABLE border=0 BGCOLOR="#E0C2D6" width=760 id="MainTable">
|
||||
<TR><TD colspan=3><font class="body_text"> STATUS: <span id="MainStatuSSpan"></span></font></TD></TR>
|
||||
<tr><td colspan=3><span id="busycallsdebug"></span></td></tr>
|
||||
|
||||
Reference in New Issue
Block a user