Fixes for lead not found, Issue #1358 in admin_modify_lead.php
git-svn-id: svn://192.168.202.10@3595 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -4,21 +4,27 @@ NOTE: for DNC.COM integration of batch cellphone filtering, see this document:
|
||||
CELLPHONE_USA_TCPA_FCC_COMPLIANCE.txt
|
||||
|
||||
|
||||
We have added a utility to allow for direct filtering of inactive lists on your Vicidial system with a DNC.COM account, to allow for state, federal(FTC) and internal DNC lists as well as TCPA and Litigator Scrub direct through DNC.COM. We have also added a new inbound scrubbing option for calls coming in through DIDs on your system.
|
||||
We have added a utility to allow for direct filtering of lists on your Vicidial system with a DNC.COM account, to allow for state, federal(FTC) and internal DNC lists as well as TCPA and Litigator Scrub direct through DNC.COM. We have also added a new inbound scrubbing option for calls coming in through DIDs on your system.
|
||||
|
||||
DNC.COM is also offering a Free 15 day trial to VICIdial users of their Real-time Integrated TCPA and DNC Safe Harbor lead scrubbing. For more information on this free offer, contact us (http://www.vicidial.com/?page_id=7).
|
||||
|
||||
|
||||
########## OUTBOUND LIST FILTERING ############################################
|
||||
|
||||
NOTE: Outbound list filtering is currently only available in a batch mode application, it does NOT look phone numbers up as they are dialed.
|
||||
NOTE: Outbound list filtering is currently only available in a batch mode
|
||||
application, after the leads are already loaded into a list on the system, it
|
||||
does NOT look phone numbers up as they are dialed.
|
||||
|
||||
The script that allows for this must be run from the Linux command-line(CLI):
|
||||
AST_DNCcom_filter.pl --lists=LISTID1-LISTID2
|
||||
|
||||
The DNC.com List Filtering is designed to work in batch mode, usually set up in the crontab of one of your system's dialers. We recommend running this script after-hours, or only during calling hours on inavtive lists.
|
||||
The DNC.com List Filtering is designed to work in batch mode, usually set up in
|
||||
the crontab of one of your system's dialers. We recommend running this script
|
||||
after-hours, or only during calling hours on inavtive lists.
|
||||
|
||||
In order for this script to work, you must have a Settings Container set up within Vicidial with the ID of "DNCDOTCOM". This settings container should be customized for your specific DNC.COM account, and how you want it to function.
|
||||
In order for this script to work, you must have a Settings Container set up
|
||||
within Vicidial with the ID of "DNCDOTCOM". This settings container should be
|
||||
customized for your specific DNC.COM account, and how you want it to function.
|
||||
|
||||
|
||||
Below is an example Settings Container for DNC.COM:
|
||||
|
||||
@@ -109,6 +109,7 @@
|
||||
# 210630-0838 - Added display of vicidial_vmm_counts data, if $CIDdisplay=="Yes"
|
||||
# 220222-1454 - Added allow_web_debug system setting
|
||||
# 220312-0953 - Added vicidial_dial_cid_log data
|
||||
# 220427-1132 - Fixes for lead not found, Issue #1358
|
||||
#
|
||||
|
||||
require("dbconnect_mysqli.php");
|
||||
@@ -1536,7 +1537,9 @@ else
|
||||
require("admin_header.php");
|
||||
|
||||
echo "</span>\n";
|
||||
echo "<BR><BR><b>"._QXZ("lead does not exist")."</b><BR>\n";
|
||||
echo "<BR><BR><b>"._QXZ("lead does not exist").": $lead_id</b><BR><BR>\n";
|
||||
echo "</BODY>\n";
|
||||
echo "</html>\n";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@@ -1816,9 +1819,23 @@ else
|
||||
{
|
||||
if ($lead_id != 'NEW')
|
||||
{
|
||||
echo _QXZ("lead lookup FAILED for lead_id")." $lead_id $NOW_TIME\n<BR><BR>\n";
|
||||
echo "</script>\n";
|
||||
echo "<link rel=\"stylesheet\" href=\"calendar.css\">\n";
|
||||
echo "</head><BODY BGCOLOR=white marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
|
||||
echo "<span style=\"position:absolute;left:0px;top:0px;z-index:20;\" id=admin_header>";
|
||||
|
||||
$short_header=1;
|
||||
|
||||
require("admin_header.php");
|
||||
|
||||
echo "</span>\n";
|
||||
echo "<BR><BR><b>"._QXZ("lead does not exist").": $lead_id</b><BR><BR>\n";
|
||||
if (!preg_match('/\-ALL/i', $LOGallowed_campaigns))
|
||||
{exit;}
|
||||
{
|
||||
echo "</BODY>\n";
|
||||
echo "</html>\n";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
# echo "<a href=\"$PHP_SELF\">Close this window</a>\n<BR><BR>\n";
|
||||
}
|
||||
@@ -2316,7 +2333,8 @@ else
|
||||
}
|
||||
########## END ARCHIVE LOG SEARCH ##########
|
||||
|
||||
|
||||
if ($lead_count > 0)
|
||||
{
|
||||
##### grab vicidial_list data for lead #####
|
||||
$stmt="SELECT lead_id,entry_date,modify_date,status,user,vendor_lead_code,source_id,list_id,gmt_offset_now,called_since_last_reset,phone_code,phone_number,title,first_name,middle_initial,last_name,address1,address2,address3,city,state,province,postal_code,country_code,gender,date_of_birth,alt_phone,email,security_phrase,comments,called_count,last_local_call_time,rank,owner,entry_list_id from $vl_table where lead_id='" . mysqli_real_escape_string($link, $lead_id) . "' $LOGallowed_listsSQL";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
@@ -2412,7 +2430,7 @@ else
|
||||
$entry_list_id = $row[34];
|
||||
|
||||
$comments = preg_replace("/!N/","\n",$comments);
|
||||
|
||||
}
|
||||
|
||||
##### grab today call count for lead #####
|
||||
$call_count_today=0;
|
||||
@@ -2480,8 +2498,13 @@ else
|
||||
echo "<br><b>"._QXZ("Add A New Lead")."</B>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($lead_count > 0)
|
||||
{echo "<br>"._QXZ("Lead information").": $first_name $last_name - $phone_number\n";}
|
||||
}
|
||||
|
||||
if ( ($lead_count > 0) or ($lead_id == 'NEW') )
|
||||
{
|
||||
if ($campaign_id=='---NONE') {$campaign_id='';}
|
||||
echo "<br><br><form action=$PHP_SELF method=POST>\n";
|
||||
echo "<input type=hidden name=end_call value=1>\n";
|
||||
@@ -2591,6 +2614,26 @@ else
|
||||
echo "<tr><td align=right>$label_owner : </td><td align=left><input type=text name=owner id=owner size=22 maxlength=$MAXowner value=\"".htmlparse($owner)."\"></td></tr>\n";
|
||||
echo "<tr><td align=right>$label_comments : </td><td align=left><TEXTAREA name=comments id=comments ROWS=3 COLS=65>".htmlparse($comments)."</TEXTAREA></td></tr>\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<!-- "._QXZ("no lead fields form display lead does not exist")." -->\n";
|
||||
echo "<br><br><form action=$PHP_SELF method=POST>\n";
|
||||
echo "<input type=hidden name=end_call value=1>\n";
|
||||
echo "<input type=hidden name=DB value=\"$DB\">\n";
|
||||
echo "<input type=hidden name=lead_id value=\"$lead_id\">\n";
|
||||
echo "<input type=hidden name=dispo value=\"$dispo\">\n";
|
||||
echo "<input type=hidden name=list_id value=\"$list_id\">\n";
|
||||
echo "<input type=hidden name=campaign_id value=\"$campaign_id\">\n";
|
||||
echo "<input type=hidden name=old_phone value=\"$phone_number\">\n";
|
||||
echo "<input type=hidden name=server_ip value=\"$server_ip\">\n";
|
||||
echo "<input type=hidden name=extension value=\"$extension\">\n";
|
||||
echo "<input type=hidden name=channel value=\"$channel\">\n";
|
||||
echo "<input type=hidden name=call_began value=\"$call_began\">\n";
|
||||
echo "<input type=hidden name=parked_time value=\"$parked_time\">\n";
|
||||
echo "<input type=hidden name=FORM_LOADED id=FORM_LOADED value=\"0\" />\n";
|
||||
echo "<table cellpadding=1 cellspacing=0>\n";
|
||||
}
|
||||
|
||||
if ($lead_id != 'NEW')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user