Fix for rare fronter/closer logging issue on CLOSER calls
git-svn-id: svn://192.168.202.10@3768 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -256,6 +256,7 @@
|
|||||||
# 230606-2231 - Added second_alert_trigger features
|
# 230606-2231 - Added second_alert_trigger features
|
||||||
# 230612-2044 - Added second_alert_container, second_alert_only and second_alert_trigger TIMEOUT options
|
# 230612-2044 - Added second_alert_container, second_alert_only and second_alert_trigger TIMEOUT options
|
||||||
# 230810-2006 - Added third_alert_trigger features
|
# 230810-2006 - Added third_alert_trigger features
|
||||||
|
# 231026-0917 - Fix for rare fronter/closer logging issue
|
||||||
#
|
#
|
||||||
|
|
||||||
$script = 'agi-VDAD_ALL_inbound.agi';
|
$script = 'agi-VDAD_ALL_inbound.agi';
|
||||||
@@ -274,6 +275,7 @@ $called_count=1;
|
|||||||
$entry_list_id=0;
|
$entry_list_id=0;
|
||||||
$areacode_filter_run=0;
|
$areacode_filter_run=0;
|
||||||
$no_agent_no_queue_checked=0;
|
$no_agent_no_queue_checked=0;
|
||||||
|
$fronter_agent='';
|
||||||
|
|
||||||
|
|
||||||
$now_date_epoch = time();
|
$now_date_epoch = time();
|
||||||
@@ -701,6 +703,7 @@ if ($call_handle_method =~ /^CLOSER/)
|
|||||||
$park_extension = $EXT_vars[4]; # filename of the on-hold music file
|
$park_extension = $EXT_vars[4]; # filename of the on-hold music file
|
||||||
$phone_number = $EXT_vars[5]; # phone number of customer
|
$phone_number = $EXT_vars[5]; # phone number of customer
|
||||||
$fronter = $EXT_vars[6]; # user of the fronter that transferred the call
|
$fronter = $EXT_vars[6]; # user of the fronter that transferred the call
|
||||||
|
$fronter_agent = $EXT_vars[6]; # user of the fronter that transferred the call
|
||||||
$fronter_call_seconds = $EXT_vars[8]; # not currently used
|
$fronter_call_seconds = $EXT_vars[8]; # not currently used
|
||||||
$dial_ingroup_flag = $EXT_vars[9]; # used by dial in-group feature
|
$dial_ingroup_flag = $EXT_vars[9]; # used by dial in-group feature
|
||||||
if ( ($channel_group =~ /AGENTDIRECT/i) || ($dial_ingroup_flag > 0) )
|
if ( ($channel_group =~ /AGENTDIRECT/i) || ($dial_ingroup_flag > 0) )
|
||||||
@@ -1672,6 +1675,10 @@ else
|
|||||||
$vendor_id = $aryA[3];
|
$vendor_id = $aryA[3];
|
||||||
$called_count = $aryA[4];
|
$called_count = $aryA[4];
|
||||||
$list_id = $aryA[5];
|
$list_id = $aryA[5];
|
||||||
|
|
||||||
|
if (length($fronter_agent) > 0)
|
||||||
|
{$fronter = $fronter_agent;}
|
||||||
|
|
||||||
$cbc++;
|
$cbc++;
|
||||||
}
|
}
|
||||||
$sthA->finish();
|
$sthA->finish();
|
||||||
|
|||||||
Reference in New Issue
Block a user