Need a mixed dialing extension
Posted: Thu Sep 05, 2019 4:40 pm
Hello,
We have set up a campaign with three classes of leads in three different lists. The leads in the first list we'd like to dial with Answering Machine Detection (AMD) turned OFF (Routing Extension 8368). When dialing leads in the other two lists, we'd like AMD turned ON (Routing Extension 8369). We tried splitting the campaign into two campaigns, but we also have a lead priority algorithm (which uses the lead rank) which falls apart when the campaign is split into two separate campaigns.
In an attempt to resolve this problem, I found that I could modify the file /usr/share/astguiclient/AST_VDauto_dial.pl and forcibly set the variable $VDAD_dial_exten = '8368' if the list ID is equal to the list ID of the first list (This change is made at around line 1383 in AST_VDauto_dial.pl - version 2.14).
This works great on a stand-alone VICI server!
However, when attempting to get this working in a clustered environment, it does not work. (Our cluster consists of 4x Web Servers, 8x Dialers and 2x DB servers). I have modified the /usr/share/astguiclient/AST_VDauto_dial.pl on all Dialer Servers and on all of the Web Servers (mainly because I'm not clear on which server should be executing this script -i.e. shotgun approach).
I realize that there may be a better way to do this, so here are my questions:
1. Can you suggest a better way to implement this so that leads from one list are dialed with AMD disabled and leads from another list are dialed with AMD enabled within a single campaign? (i.e. one where I don't have to modify the source code).
Assuming the method I've discovered is the best way for now - here is an additional question:
2. In a clustered environment, where is the AST_VDauto_dial.pl loaded from? I've found similar code in AST_VDauto_dial_FILL.pl and have made similar code changes here without success. However, I have NOT made the changes in the /usr/src/astguiclient/trunk/bin/ version of these files as I've assumed that these are used primarily for source management?
As you can probably tell from my question, I'm fairly new to VICI and its internals. So, any help would be appreciated.
Regards,
Peter Manley
Here are the specifics of our installation:
VICI version: 2.14-708a Build: 190414_0924
Linux Distro/Kernal version: SUSE Linux 4.4.176-06-default
PERL version: v5.18.2
Asterisk version: 13.21.1-vici
MySQL version: 10.2.23-MariaDB-log OpenSUSE package
We have set up a campaign with three classes of leads in three different lists. The leads in the first list we'd like to dial with Answering Machine Detection (AMD) turned OFF (Routing Extension 8368). When dialing leads in the other two lists, we'd like AMD turned ON (Routing Extension 8369). We tried splitting the campaign into two campaigns, but we also have a lead priority algorithm (which uses the lead rank) which falls apart when the campaign is split into two separate campaigns.
In an attempt to resolve this problem, I found that I could modify the file /usr/share/astguiclient/AST_VDauto_dial.pl and forcibly set the variable $VDAD_dial_exten = '8368' if the list ID is equal to the list ID of the first list (This change is made at around line 1383 in AST_VDauto_dial.pl - version 2.14).
This works great on a stand-alone VICI server!
However, when attempting to get this working in a clustered environment, it does not work. (Our cluster consists of 4x Web Servers, 8x Dialers and 2x DB servers). I have modified the /usr/share/astguiclient/AST_VDauto_dial.pl on all Dialer Servers and on all of the Web Servers (mainly because I'm not clear on which server should be executing this script -i.e. shotgun approach).
I realize that there may be a better way to do this, so here are my questions:
1. Can you suggest a better way to implement this so that leads from one list are dialed with AMD disabled and leads from another list are dialed with AMD enabled within a single campaign? (i.e. one where I don't have to modify the source code).
Assuming the method I've discovered is the best way for now - here is an additional question:
2. In a clustered environment, where is the AST_VDauto_dial.pl loaded from? I've found similar code in AST_VDauto_dial_FILL.pl and have made similar code changes here without success. However, I have NOT made the changes in the /usr/src/astguiclient/trunk/bin/ version of these files as I've assumed that these are used primarily for source management?
As you can probably tell from my question, I'm fairly new to VICI and its internals. So, any help would be appreciated.
Regards,
Peter Manley
Here are the specifics of our installation:
VICI version: 2.14-708a Build: 190414_0924
Linux Distro/Kernal version: SUSE Linux 4.4.176-06-default
PERL version: v5.18.2
Asterisk version: 13.21.1-vici
MySQL version: 10.2.23-MariaDB-log OpenSUSE package