LineVaults
Switch from Telnyx · migration guide

Replace Telnyx AMD and keep Telnyx as a trunk

To replace Telnyx AMD on a VICIdial or Asterisk floor, move detection onto the dialer itself. Telnyx offers machine detection on calls driven by its Call Control API, while many centers use Telnyx only as a SIP trunk; LineVaults listens on your server, so Telnyx minutes and every other carrier's get the same verdict.

01 · Scope

What Telnyx detection covers, and what it doesn't

On Telnyx, detection belongs to Call Control: when your application dials through that API it can ask for answering_machine_detection, choose between several modes, and receive the outcome as a webhook event.

Plain SIP trunking is a different product. When your own Asterisk server sends calls over a Telnyx trunk, Telnyx is carrying audio, not controlling the call, so Call Control detection is not part of that path.

LineVaults works one layer down. Your Asterisk or FreeSWITCH server already holds the answered audio; a small client streams its first seconds to LineVaults and receives one verdict. The carrier that delivered the call makes no difference.
02 · Comparison

Telnyx AMD against LineVaults, item by item

ItemTelnyx AMDLineVaults
How it is switched onSet answering_machine_detection on a Call Control dial commandOne EAGI line after Answer(), or a WebSocket from your own code
How the answer is deliveredA webhook event to your applicationOne JSON message on the call's own connection
Calls your Asterisk sends over a Telnyx SIP trunkOutside Call Control detectionJudged like any other call: the audio is on your server
Dialers it servesApplications that place calls through Telnyx's APIVICIdial, GoAutoDial, Asterisk 13+, FreeSWITCH, or any system through the WebSocket API
CarriersTelnyx's own networkAny SIP trunk; the audio is taken from your own server
What your dialplan readsNot a dialplan featureAMDSTATUS and AMDCAUSE, the variables VICIdial's VD_amd.agi expects
Time to a verdictSet by the mode and options you chooseMost calls near 2.0 s; the unclear 5 to 9% get up to 3.2 s
Phone call-screening assistantsSee their docsReported separately as SCREENING
Recordings that sound like a live "Hello?"See their docsClassified as recordings
Behavior on an outage or bad keySee their docsImmediate FALLBACK, no audio consumed; Asterisk AMD() decides; free
Evidence per callSee their docsCause, confidence and timing in the call log; the audio heard, kept 1 to 90 days or never
Price modelA per-call fee added to their calling charges (their pricing page has the rate)Sandbox 50,000/month at $0; Core $119 for 1,500,000; $0.00015 per extra call

Source for the Telnyx column: its public documentation, read on 2026-11-26. Re-check Telnyx's current docs and pricing before deciding; both can change.

03 · Decision

Stay, or move the detection to your dialer?

Stay with Telnyx AMD

Your software drives calls end to end through Telnyx Call Control and already consumes its webhook events. In that setup the built-in option is the shorter path and needs no extra service.

Move to LineVaults

  • The dialer of record is VICIdial, GoAutoDial, Asterisk or FreeSWITCH, and it is staying.
  • Traffic is split across more than one SIP provider, or may be later.
  • Supervisors need to replay the seconds behind a disputed verdict.
  • Finance wants a fixed monthly line, not a charge on every call.
  • Your company resells hosted VICIdial and wants detection as a line item under its own brand (private label).
04 · Migration plan

Moving over in five steps

  1. List the flows that use detection

    Note which campaigns depend on Telnyx AMD today and which already run through your own dialer. A Telnyx SIP trunk can stay exactly as it is: nothing in this plan touches your carrier settings.

  2. Open a Sandbox account and create a key

    50,000 calls a month, no card. One key per dialer server keeps the logs easy to read.

  3. Install the client

    linevaults.agi.py for VICIdial, GoAutoDial and Asterisk; linevaults_amd.lua with mod_audio_stream for FreeSWITCH. Run its connection test before any live call.

  4. Route one campaign through it

    Keep Asterisk AMD() as the FALLBACK branch, so a missing key or a lost connection never drops a call.

  5. Compare, then move the rest

    After a week, set agent connects and dead air against your current numbers, replay any verdict you doubt, then switch the remaining campaigns and pick a plan.

Setup details: VICIdial, Asterisk, FreeSWITCH, WebSocket API. Before you switch, read how the detection works and the measured accuracy, or weigh all four methods in the buyer's guide.

Trademark notice: Telnyx is a trademark of its owner. LineVaults has no affiliation with Telnyx and is not endorsed or sponsored by it.

Other migration guides: Twilio AMD · Plivo AMD · Khomp

Sandbox · 50,000 calls a month · no card

Put a verdict on every answered call

Run it on one campaign next to your current AMD and compare. If the service can't help, your dialer falls back to Asterisk AMD() on its own.