From 87e58a7a45df0c3fb8e4e72f5a255e7437da4701 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 15 Feb 2023 21:01:01 +0000 Subject: [PATCH] Fix for AGENTDIRECT No-Agent Call URL calls, Issue #1396 git-svn-id: svn://192.168.202.10@3684 3d104415-ff17-0410-8863-d5cf3c621b8a --- bin/AST_VDauto_dial.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/AST_VDauto_dial.pl b/bin/AST_VDauto_dial.pl index fd527e81..292bcfe2 100644 --- a/bin/AST_VDauto_dial.pl +++ b/bin/AST_VDauto_dial.pl @@ -153,9 +153,10 @@ # 220623-1621 - Added List dial_prefix override # 221221-2135 - Added enhanced_disconnect_logging=3 support, issue #1367 # 230204-2144 - Added ability to use ALT na_call_url entries +# 230215-1534 - Fix for AGENTDIRECT No-Agent Call URL calls, Issue #1396 # -$build='230204-2144'; +$build='230215-1534'; $script='AST_VDauto_dial'; ### begin parsing run-time options ### if (length($ARGV[0])>1) @@ -4495,7 +4496,7 @@ while($one_day_interval > 0) { if ($NCUincall !~ /\|$NCUstatus[$vle_count]\|/i) { - if ($NCUuser[$vle_count] =~ /VDAD|VDCL/i) + if ( ($NCUuser[$vle_count] =~ /VDAD|VDCL/i) || ( ($NCUcalltype[$vle_count] =~ /IN/) && ($NCUcampaign[$vle_count] =~ /AGENTDIRECT/i) && ($NCUstatus[$vle_count] =~ /ACFLTR|AFTHRS|CLOSOP|^DROP$|HOLDTO|^HXFER$|IQNANQ|MAXCAL|NANQUE|QVMAIL|TIMEOT|WAITTO/) ) ) { $NCUncurl_value=''; $NCUcamp_match=0;