From 60f06c492a8fb5592e1ed98ece86be52eea8ab39 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 10 May 2022 19:50:03 +0000 Subject: [PATCH] small fixes to the last commit git-svn-id: svn://192.168.202.10@3599 3d104415-ff17-0410-8863-d5cf3c621b8a --- agi/agi-DID_route.agi | 2 +- www/vicidial/help_documentation.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agi/agi-DID_route.agi b/agi/agi-DID_route.agi index 0f32750b..1a4a9dc9 100644 --- a/agi/agi-DID_route.agi +++ b/agi/agi-DID_route.agi @@ -58,7 +58,7 @@ $at='@'; $S='*'; $US='_'; $route_type='DID'; -$DBX=1; # set to 1 for extra debugging output +$DBX=0; # set to 1 for extra debugging output ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); $year = ($year + 1900); diff --git a/www/vicidial/help_documentation.txt b/www/vicidial/help_documentation.txt index b980fbf9..96ed6f9c 100644 --- a/www/vicidial/help_documentation.txt +++ b/www/vicidial/help_documentation.txt @@ -686,7 +686,7 @@ inbound_dids-max_queue_ingroup_id Max Queue In-Group ID For the Max Queue I inbound_dids-max_queue_ingroup_extension Max Queue In-Group Extension For the Max Queue In-Group Calls feature above to work properly, an Extension must be set in this field. Default is 9998811112. Directly above, in the No-Agent In-Group Extension description, you will see some examples of default extensions that you can use in the system to terminate calls to. inbound_dids-pre_filter_phone_group_id Pre-Filter Phone Group ID This option allows you to filter calls through a Filter Phone Group before going through the standard filtering process below. If a match is found then the call is redirected to the Pre-Filter Phone Group DID as defined below. Default is blank for disabled. inbound_dids-pre_filter_extension Pre-Filter Phone Group DID For the Pre-Filter Phone Group ID feature above to work properly, a DID Pattern must be set in this field. Default is blank for disabled. It is recommended that you confirm the DID you enter here is properly set in the system before assigning it. -inbound_dids-pre_filter_recent_call Pre-Filter Recent Call The Pre-Filter Recent Call feature allows for the filtering of inbound phone calls by whether the phone number has previously been an outbound and-or inbound phone call in the system. This setting requires that a Settings Container of the type DID_RECENT_CALL be set up to specify the settings for how it will search for a previous call. In this settings container you can configure it for outbound calls or inbound calls or both. There are 4 settings for each outbound and inbound that you must use:
outbound_recent_call_check_type - can be set to lead-x-y-days-range or log-x-y-days-range, the difference being if the leads database is searched using the last_local_call_time field or if the logs are searched using the call_time field.
outbound_recent_call_days - must be a range of days going back from today, with the start and end days separated by a dash. The start day will start at 00:00:00 and the end day would end at 23:59:59 local server time, so if 0-0 is set, it would search today for the full 24-hours of today.
outbound_recent_call_campaigns - can be set to --ALL-- to have no campaign restrictions, or can be set to a pipe-delimited list of campaign IDs. For inbound, this setting is called inbound_recent_call_groups and if the log method is used it should be a list of inbound group IDs if --ALL-- is not used.
outbound_recent_call_statuses - can be set to --ALL-- to have no status restrictions, or can be set to a pipe-delimited list of statuses.

Here are examples of both outbound and inbound reccent call filtering settings:

outbound_recent_call_check_type => lead-x-y-days-range
outbound_recent_call_days => 0-14
outbound_recent_call_campaigns => --ALL--
outbound_recent_call_statuses => --ALL--

inbound_recent_call_check_type => log-x-y-days-range
inbound_recent_call_days => 21-999
inbound_recent_call_groups => TEST_IN|TEST_IN2|TEST_IN3
inbound_recent_call_statuses => DNC|NI|LIT

WARNING: Using this feature may cause load problems and slow down your system.
+inbound_dids-pre_filter_recent_call Pre-Filter Recent Call The Pre-Filter Recent Call feature allows for the filtering of inbound phone calls by whether the phone number has previously been an outbound and-or inbound phone call in the system. This setting requires that a Settings Container of the type DID_RECENT_CALL be set up to specify the settings for how it will search for a previous call. In this settings container you can configure it for outbound calls or inbound calls or both. There are 4 settings for each outbound and inbound that you must use:
outbound_recent_call_check_type - can be set to lead-x-y-days-range or log-x-y-days-range, the difference being if the leads database is searched using the last_local_call_time field or if the logs are searched using the call_time field.
outbound_recent_call_days - must be a range of days going back from today, with the start and end days separated by a dash. The start day will start at 00:00:00 and the end day would end at 23:59:59 local server time, so if 0-0 is set, it would search today for the full 24-hours of today.
outbound_recent_call_campaigns - can be set to --ALL-- to have no campaign restrictions, or can be set to a pipe-delimited list of campaign IDs. For inbound, this setting is called inbound_recent_call_groups and if the log method is used it should be a list of inbound group IDs if --ALL-- is not used.
outbound_recent_call_statuses - can be set to --ALL-- to have no status restrictions, or can be set to a pipe-delimited list of statuses.

Here are examples of both outbound and inbound recent call filtering settings:

outbound_recent_call_check_type => lead-x-y-days-range
outbound_recent_call_days => 0-14
outbound_recent_call_campaigns => --ALL--
outbound_recent_call_statuses => --ALL--

inbound_recent_call_check_type => log-x-y-days-range
inbound_recent_call_days => 21-999
inbound_recent_call_groups => TEST_IN|TEST_IN2|TEST_IN3
inbound_recent_call_statuses => DNC|NI|LIT

WARNING: Using this feature may cause load problems and slow down your system.
inbound_dids-pre_filter_recent_extension Pre-Filter Recent Call DID If the Pre-Filter Recent Call feature above is active and set to a valid Settings Container, then this field is the internal DID that the call would be sent to if there is a match for a recent call. inbound_dids-filter_inbound_number Filter Inbound Number This option if enabled allows you to filter calls coming into this DID and send them to an alternative action if they match a phone number that is in the filter phone group or a URL response if you have configured one. Default is DISABLED. GROUP will search in a Filter Phone Group. URL will send a URL and will match if a 1 is sent back. DNC_INTERNAL will search by the internal DNC list. DNC_CAMPAIGN will search by one specific campaign DNC list. If the option has AREACODE at the end, then the number and an entry for that numbers 3 digit areacode will be searched for. Both DNC options already have areacode searching built in. inbound_dids-filter_phone_group_id Filter Phone Group ID If the Filter Inbound Number field is set to GROUP then this is the ID of the Filter Phone Group that will have its numbers searched looking for a match to the caller ID number of the incoming call.