Fixed minor agent alert bug

Added option to send remote agent calls with phone number*vendor_id

git-svn-id: svn://192.168.202.10@1177 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2009-07-03 02:51:41 +00:00
parent c79deb75fa
commit d1fbeae2ea
3 changed files with 70 additions and 31 deletions
@@ -92,6 +92,7 @@
# 81105-0248 - Added MySQL error logging
# 90103-0311 - Added sip-silences before transfers to fix rare MoH issues
# 90115-0601 - Added AGENTDIRECT functionality
# 90701-2250 - Fixed minor agent alert bug
#
$script = 'agi-VDAD_ALL_inbound.agi';
@@ -1228,7 +1229,7 @@ if ( ($agent_search_method =~ /^SO|^LO/) && ($skipLOSO < 1) )
if ($AGILOG) {$agi_string = "-- closer log : |$affected_rows|$insert_lead_id|$insert_close_id|\n|$stmtA|"; &agi_output;}
### if agent alert exten is not disabled, then trigger the alert and wait
if ( ($agent_alert_exten !~ /X/i) && ($no_delay_call_route !~ /Y/i) )
if ( ($agent_alert_exten !~ /^X$/i) && ($no_delay_call_route !~ /Y/i) )
{
$VHqueryCID = "VH$CIDdate$VDADconf_exten";
@@ -1560,7 +1561,7 @@ if ($agent_search_method =~ /^LO|^LB/)
$VDADremDIALstr .= "$VDADconf_exten";
### if agent alert exten is not disabled, then trigger the alert and wait
if ( ($agent_alert_exten !~ /X/i) && ($no_delay_call_route !~ /Y/i) )
if ( ($agent_alert_exten !~ /^X$/i) && ($no_delay_call_route !~ /Y/i) )
{
$VHqueryCID = "VH$CIDdate$VDADconf_exten";