Switching from AMDY
Install beside AMDY, move one campaign with two settings, compare, then move the rest.
This guide is for a ViciDial dialer that runs AMDY today. You move one campaign at a time, AMDY keeps working until the last one moves, and moving back is the same two fields.
Before you start
- Everything in Connect ViciDial: ViciDial on Asterisk 13 or newer, root on each dialing server, Python 3.6 or newer.
- Note which campaigns use AMDY and their current settings, so moving back is a copy, not a guess.
- Install on every dialer server that places calls, and note the extension each one prints: it is usually the same on all of them.
Press-1 campaigns stay on AMDY
AMD Cop does not handle Press-1 (survey) campaigns yet. They dial AMDY's Press-1 extension, 8371 on most dialers, and AMD Cop never changes it: leave those campaigns on AMDY and move the others.
Install beside AMDY
AMDY's installer puts its own dialplan on extension 8370. When AMD Cop finds 8370 taken, it installs beside it: the same block on 8371, or the next free extension if 8371 is taken too (by AMDY's Press-1 installer, for example), and nothing else in the file changes. Run the install command from the portal as root, as in Connect ViciDial. The portal shows the extension it chose.
Move one campaign
In ViciDial, on the campaign you are moving:
| Campaign setting | From (AMDY) | To (AMD Cop) |
|---|---|---|
| Routing Extension | 8370 | the extension the portal shows, usually 8371 |
| AMD Agent Route Options | ENABLED | DISABLED, or ENABLED with NOTSURE,NOTSURE added (below) |
Then Admin, Servers, Rebuild Config, as after any dialplan change.
AMDY asks for AMD Agent Route Options ENABLED with a settings container named AMD_AGENT_OPT_ and the campaign, holding only HUMAN,HUMAN. With it in place ViciDial sends a call to an agent only when a line matches its status and its cause, read up to the first dash, and hangs up every other call. AMD Cop's causes start with the status, HUMAN-AMDCOP for a person, so that container lets AMD Cop's people and sampled calls through. It hangs up the calls AMD Cop is not sure of, which AMD Cop sends to an agent rather than guess. It also hangs up the calls AMD Cop could not answer that go to an agent, so an outage on our side would hang up every call on the campaign, people included. So on the moved campaign, either:
- set AMD Agent Route Options to DISABLED, or
- keep it ENABLED and add the line
NOTSURE,NOTSUREto that campaign's container.
Each container belongs to one campaign, so neither change touches a campaign still on AMDY. With the campaign lookup on, the doctor checks every campaign's container and names the line to add (Statuses and causes).
Check it
- From the campaign you moved, call your own mobile and answer with a normal "Hello?". It should reach an agent, and the portal shows Human.
- Call a number you know goes to voicemail. No agent should hear it, and the portal shows Machine.
- If either goes wrong, run the doctor on the dialer,
sudo /usr/local/lib/amdcop/doctor.py, and see Troubleshooting. If that does not settle it, send us what the doctor printed: it never contains your key or a phone number. Contact support lists the ways to reach us.
Compare, then move the rest
Give the moved campaign a few days of normal traffic beside one still on AMDY. Compare what matters to you: people who reached an agent, voicemails that did not, and how long people waited. The portal's Analytics has the AMD Cop side; your ViciDial reports have both.
Then move the other campaigns the same way. With the campaign lookup on (install with AMDCOP_CAMPAIGN_LOOKUP=1), Dialers names each campaign that still dials 8370 or 8371, and the Routing Extension to set instead, so you can see which are left. When none is left on AMDY, remove AMDY with its own uninstaller. AMD Cop does not need 8370.
Move back
Set the two fields back to their AMDY values on the campaign, take out any NOTSURE,NOTSURE line you added, and rebuild the config. AMD Cop stays installed and idle on its extension until you run sudo /usr/local/lib/amdcop/uninstall.sh.
Installed before connector 1.5.0?
Every new install is connector 1.6.0. A dialer installed earlier needs the install command run again before anything else on this page: it upgrades in place, keeps the extension and your settings, and Dialers then shows 1.6.0. Until it is upgraded:
- on connector 1.3.0 or older, causes start with
AMDCOP_(such asAMDCOP_HUMAN), whichHUMAN,HUMANdoes not match, so upgrade before you move a campaign.
Next: Statuses and causes