AMDY VICIDIAL SETUP

ViciDial setup,
step by step.

Connect AMDY to ViciDial in six steps: create a key, install the client, add one extension, test one campaign, then roll out.

Before you start: you need root access to each ViciDial server that places calls, and an AMDY account. The free trial includes 30,000 detections — enough to test one campaign properly.

1. Create an API key

Sign up at app.amdy.ai, open Settings → API keys and create a key. Use one key per dialer server so each shows up separately in your dashboard. Keep keys out of version control.

2. Install the client on each dialer

Copy the install command shown in your dashboard and run it on each ViciDial server. The installer places the AMDY EAGI script in your AGI directory and registers the server with your account. It needs only the Python 3 that ships with current ViciBox releases.

3. Add the AMDY AMD extension

ViciDial sends answered calls with AMD enabled to a routing extension — 8369 by default — that runs Asterisk’s AMD() and then VD_amd.agi. Create a copy of it on a new extension and add the AMDY step before VD_amd.agi. Depending on your version, add it through Admin → System Settings → Custom Dialplan Entry or your custom extensions file.

extensions — AMD routing extension
exten => 8370,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 8370,n,EAGI(amdy.agi,YOUR_API_KEY)
exten => 8370,n,GotoIf($["${AMDSTATUS}" = "FALLBACK"]?native)
exten => 8370,n(vdamd),AGI(VD_amd.agi,${EXTEN})
exten => 8370,n,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB-----${CONNECTEDLINE(name)})
exten => 8370,n,Hangup()
exten => 8370,n(native),AMD()
exten => 8370,n,Goto(vdamd)

Then reload the dialplan:

shell
asterisk -rx "dialplan reload"

4. Point one campaign at it

In Campaigns → Detail, change the Routing Extension of one test campaign from 8369 to 8370. Leave your AMD send to VM exten setting as it is — VD_amd.agi keeps handling HUMAN and MACHINE exactly as before. Leave every other campaign on 8369 for now so you have a baseline.

5. Watch the first calls

6. Compare, then roll out

Run the test campaign for at least a few days on the same lists, hours and carriers as a control campaign. Label a sample of answered calls by ear and compare live people kept, machines reaching agents, and agent talk time. When your numbers support it, switch more campaigns to 8370. See how to test AMD on your own calls.

Troubleshooting

READY FOR A BETTER FIRST HELLO?

Ready to test one campaign?

Create a free account and follow the steps above — most teams are live the same day.

Talk to AMDY