Added recording filename variable INGROUP for the In-Group ID of a call

Inbound Daily Report, Changed to multi-select for in-group selection
Cleanup log process, Added buffer time for agent log validation of LOGIN between record and next record

git-svn-id: svn://192.168.202.10@1875 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2012-11-15 11:32:09 +00:00
parent d6aabb9043
commit 80023b9a35
12 changed files with 87 additions and 28 deletions
+4 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
# agi-VDAD_RINGALL.agi version 2.4
# agi-VDAD_RINGALL.agi version 2.6
#
# NOTE: this script is used for on-hook agents to be connected to customer calls
# when they answer their ringing phones
@@ -12,12 +12,13 @@
# exten => _8331*.,n,AGI(agi-VDAD_RINGALL.agi,${EXTEN})
# exten => _8331*.,n,Hangup
#
# Copyright (C) 2011 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# Copyright (C) 2012 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# changes:
# 110303-2325 - First build
# 110324-2328 - Added recording of remote agent calls, per in-group and campaign recording settings
# 110325-1411 - Added user recording override settings checking for remote agent recording
# 121114-1935 - Added INGROUP recording option
#
$script = 'agi-VDAD_RINGALL.agi';
@@ -325,6 +326,7 @@ if ($NAGcount > 0)
$tinydate = "$Tyear$mon$mday$hour$min$sec";
$campaign_rec_filename =~ s/CAMPAIGN/$VLAcampaign_id/gi;
$campaign_rec_filename =~ s/INGROUP/$VAC_campaign_id/gi;
$campaign_rec_filename =~ s/CUSTPHONE/$VAC_phone_number/gi;
$campaign_rec_filename =~ s/FULLDATE/$recdate/gi;
$campaign_rec_filename =~ s/TINYDATE/$tinydate/gi;