Fixed rare inbound logging issue #1017
Added more additional variable filtering git-svn-id: svn://192.168.202.10@2761 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -89,10 +89,11 @@
|
||||
# 161103-1729 - Added agent_debug to audio playing
|
||||
# 170209-1222 - Added URL and IP logging
|
||||
# 170220-1303 - Added switch_lead function
|
||||
# 170527-2250 - Fix for rare inbound logging issue #1017, Added variable filtering
|
||||
#
|
||||
|
||||
$version = '2.14-55';
|
||||
$build = '170220-1303';
|
||||
$version = '2.14-56';
|
||||
$build = '170527-2250';
|
||||
|
||||
$startMS = microtime();
|
||||
|
||||
@@ -275,6 +276,8 @@ if ($qm_conf_ct > 0)
|
||||
|
||||
$ingroup_choices = preg_replace("/\+/"," ",$ingroup_choices);
|
||||
$query_string = preg_replace("/'|\"|\\\\|;/","",$query_string);
|
||||
$stage = preg_replace("/\'|\"|\\\\|;/","",$stage);
|
||||
$status = preg_replace("/\'|\"|\\\\|;/","",$status);
|
||||
|
||||
if ($non_latin < 1)
|
||||
{
|
||||
@@ -351,6 +354,7 @@ if ($non_latin < 1)
|
||||
$alt_user = preg_replace("/[^0-9a-zA-Z]/","",$alt_user);
|
||||
$postal_code = preg_replace("/[^- \.\_0-9a-zA-Z]/","",$postal_code);
|
||||
$agent_debug = preg_replace("/[^- \.\:\|\_0-9a-zA-Z]/","",$agent_debug);
|
||||
$status = preg_replace("/[^-\_0-9a-zA-Z]/","",$status);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3176,7 +3180,7 @@ if ($function == 'ra_call_control')
|
||||
{$status='RAXFER';}
|
||||
if ($call_type=='IN')
|
||||
{
|
||||
$stmt = "UPDATE vicidial_closer_log SET status='$status' where uniqueid='$uniqueid' and lead_id='$lead_id' and campaign_id='$campaign_id' order by call_date desc limit 1;";
|
||||
$stmt = "UPDATE vicidial_closer_log SET status='$status' where uniqueid='$uniqueid' and lead_id='$lead_id' and campaign_id='$campaign_id' order by closecallid desc limit 1;";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user