If your contact center runs on Asterisk, you do not have to replace the PBX to put an AI voice agent on the phones. You can stream call audio out of Asterisk to an AI stack you run, or send the call over SIP to a managed platform that transfers it back when a person is needed. This guide to voice AI for Asterisk contact center teams compares both routes and five platforms on how calls get in and back, price and concurrency.

Short answer

  • Stream audio from Asterisk yourself (AudioSocket, ARI External Media or the WebSocket channel driver) if you have engineers to run the speech and model pipeline and want queues, recordings and call control to stay entirely on your PBX.
  • Hand the call to a managed platform over SIP if you want the AI runtime operated for you and can design the transfer back into Asterisk. Bland AI lists Asterisk/FreePBX in its SIP setup wizard; Retell AI and Vapi publish SIP endpoints any PBX can route to.
  • Choose LiveKit if you want an open-source agent framework you can self-host or run on its cloud, and you are comfortable building the agent in code.
  • Consider NextLevel if you want a configured agent connected through an Asterisk-based SIP bridge with a fallback route to your human queue.
  • Check your Asterisk version first: the WebSocket channel driver needs 20.16, 21.11, 22.6 or 23.0 and later, and the 20.x series leaves full support on 19 October 2026.

How we compared these options

The options below are listed alphabetically, not ranked. We included platforms named in the earlier edition of this article that accept calls from a PBX over SIP and publish pricing and technical documentation we could check. Every fact comes from the vendor's own pricing, documentation or trust pages, checked on October 6, 2026. We did not test any vendor; compliance and uptime statements are reported as vendor claims. NextLevel publishes this article and is held to the same sourcing rules.

Three 'Evidence' cards with 'Research date' tags reviewed under a magnifier and filed into separate archives marked 'Not merged'.

Two ways to connect AI to Asterisk

Streaming audio out of Asterisk. Asterisk documents three first-party ways to get live call audio to an external service:

  • AudioSocket is "a simple TCP-based protocol for sending and receiving real-time audio streams, and sending DTMF digits". Each message has a 3-byte header, and audio is signed-linear 16-bit mono PCM at sample rates from 8 kHz upward.
  • ARI External Media, introduced in Asterisk 16.6, sends bridge media to an external server, for example one that forwards it to cloud speech recognition, and can inject audio back. The original version uses RTP over UDP with a fixed format that Asterisk transcodes to.
  • The WebSocket channel driver (chan_websocket) is available from Asterisk 23.0.0, 22.6.0, 21.11.0 and 20.16.0. The driver handles framing and timing for most codecs, supports TLS, and offers commands such as FLUSH_MEDIA for interruptions. A message larger than 65,500 bytes closes the socket and hangs up the call.

The same page notes that AudioSocket and RTP External Media "require binary packet manipulation" and leave packet timing to the developer. Open-source projects build on these hooks; Agent Voice Response, for example, describes itself as an open-source voice AI layer for Asterisk that speaks AudioSocket natively.

'Audio' entering a locked 'Pass rule' gate opened by three keys, with a broken output link leading to an 'Unresolved' tray.

Handing the call over SIP. Asterisk routes the call over SIP (RFC 3261), with audio carried over RTP (RFC 3550), to the platform's endpoint. The platform's agent runs the conversation and, when needed, transfers the caller back to an Asterisk queue or extension. Your PBX, carrier and queues stay in place, but you add a SIP leg and a transfer design that both sides must get right.

Choose streaming if you need every call to stay under your PBX's control and you can run and patch the bridge service. Choose a SIP hand-off if you would rather pay a platform per minute to run speech, models and agent logic.

Asterisk voice AI platforms side by side

CriterionBland AILiveKitNextLevelRetell AIVapi
What it isVoice-agent platform with a bundled per-minute rateOpen-source real-time media and agents framework, plus LiveKit CloudConfigured AI voice agents connected through an Asterisk-based SIP BridgeVoice and chat agent platform, pay as you goDeveloper voice-agent platform; models passed through at cost
Published entry priceStart: $0.14/min, no platform fee. Build: $0.12/min + $299/monthBuild: $0/month (1,000 agent session min). Ship: from $50/month. Scale: from $500/monthPlans start from $49/month; higher tiers, telephony and setup can add cost$0.07–$0.31/min for voice agents; $10 free credits$0.05/min hosting plus models at cost. Core: $29/month. Pro: $999/month minimum
What the price coversLLM, STT and TTS; telephony billed separately; transfer minutes $0.05 (Start) or $0.04 (Build)Agent session minutes ($0.01/min over allowance); SIP minutes and models billed by usageLLM, STT, TTS and platform licences; active SIP trunk required; tuning and integrations billed as servicesVoice infrastructure $0.055/min plus chosen TTS and LLM; no charge for SIP trunkingHosting only; speech, model and carrier costs added; Vapi SIP free
Concurrent calls10 (Start), 50 (Build); 100 or 2,000 calls/day5 (Build), 20 (Ship), up to 600 (Scale, starts at 50)100+ on enterprise plans, depending on telephony20 included; higher limits on Enterprise4 (no package), 10 (Core), 30 (Pro); extra lines $10/month
How Asterisk sends callsSIP trunk; setup wizard lists "Asterisk / FreePBX" by public IP or hostnameSIP trunk to LiveKit SIP; dispatch rules route calls to roomsSIP to the SIP Bridge; sidecar, menu-node, overflow or full-takeover modesElastic SIP trunk to sip.retellai.com, or register via API and dial a per-call SIP URIDial a Vapi SIP address (US or EU), or connect a BYO SIP trunk
AuthenticationIP-based (recommended) or SIP REGISTERSIP REGISTER not supported; inbound trunks restricted by IP or numberNot publishedPublished IP blocks for allowlisting; TCP, UDP, TLS or mTLSNo auth or registration to dial a Vapi SIP number; BYO trunk uses gateway and credentials
CodecsPCMU, PCMA, Opus, G.722, G.729Not publishedG.711, G.722, OpusPCMU, PCMA, G.722Not published
Transfer back to the PBXSIP REFER, new INVITE (Bland bridges) or warm transfer; warm and live transfers shown as Enterprise featuresCold transfer (REFER) and warm transferPer-call routing to AI, human queue or failover; multi-leg conferencing for warm transfersSIP REFER cold transfer if your provider allows REFER; not available with per-call SIP URISIP REFER blind transfer, optional summary in a SIP header; dial/bridge; warm modes
Testing and monitoringPer-call SIP trace (ladder, PCAP); alarms and monitoring on EnterpriseAgent observability, session metrics, telephony testing guideHealth detection; alerts via Slack, PagerDuty or emailSimulation testing, call analytics, AI QA $0.10/min (first 100 min free)Testing and simulation; monitoring
Compliance (vendor claims)SOC 2 Type I and II, HIPAA-eligible with BAA, GDPR, PCI DSSHIPAA and security reports on ScaleISO 27001:2022 certified, SOC 2 Type 1, HIPAA, GDPRHIPAA/BAA listed as a plan feature; certifications not published in pages checkedTrust Center lists SOC 2, SOC 3, HIPAA, GDPR, CCPA, PCI DSS v4.0.1; HIPAA add-on $2,000/month
Published uptime SLA99.9% listed on all plansNot publishedNot publishedNot published99% (Pro), 99.9% (Premier)
Hosting optionsEnterprise: on-prem or VPC, data residencyLiveKit Cloud or self-hosted; region pinning on ScaleDeployment in your own cloud; enterprise zones US, EU, UAE, KSANot publishedEU region with EU SIP endpoints

Prices and features checked October 6, 2026. Sources: Bland pricing and SIP docs; LiveKit pricing and SIP docs; NextLevel pricing, SIP Bridge and compliance; Retell pricing and custom telephony docs; Vapi pricing, SIP docs and Trust Center. "Not published" means we did not find the item on the vendor's pages, not that the feature is absent.

Five system categories, from cloud and data to integrations, each with its own checklist below.

Getting calls in: endpoints and authentication

Bland AI's SIP documentation is the most Asterisk-specific: its setup wizard has an "Asterisk / FreePBX" entry, probes your server with DNS/SRV and SIP OPTIONS, accepts IP-based authentication or SIP REGISTER, and supports primary, secondary and tertiary failover targets.

Retell AI recommends elastic SIP trunking to sip:sip.retellai.com, publishes IP blocks for allowlisting, and offers a "Test SIP Connection" check. Its contact-center guides name Avaya, Genesys Cloud, Five9 and Amazon Connect; no Asterisk-specific guide is listed.

Vapi SIP numbers need no authentication or registration to dial, and custom x- SIP headers fill agent variables, a simple way to pass a queue name or account ID from your dialplan. SIP numbers are inbound-only; outbound needs an imported number or a BYO SIP trunk.

LiveKit does not support SIP REGISTER, so Asterisk cannot register to it; inbound trunks are restricted by IP or number. Self-hosting means deploying its SIP service separately, and Asterisk is not among the providers LiveKit lists as tested.

Choose Bland AI if you want a guided Asterisk/FreePBX setup. Choose Retell AI or Vapi if you are happy to configure a trunk to a published endpoint. Choose LiveKit if you will own SIP configuration as part of a self-built agent.

Getting calls back: transfers to your Asterisk queues

With a SIP REFER hand-off, the platform asks Asterisk to place the onward call and drops out. With a new INVITE or "dial" transfer, the platform bridges the second leg and stays in the media path. Bland AI offers both plus warm transfer, and its pricing page charges transfer minutes on Start and Build, with no transfer fees for customers who bring their own telephony. Vapi's transfer documentation supports REFER, dial (with a 1–600 second timeout, default 60) and a mode that adds a call summary in an X-Transfer-Summary SIP header. Vapi notes its forwarded status does not confirm the PBX completed the transfer. On Retell AI, REFER cold transfer requires your provider to allow REFER, and the built-in transfer feature is not available with the per-call SIP URI method. LiveKit supports cold transfer via REFER and warm transfer.

On the Asterisk side, decide which queue or extension receives each transfer type and whether context arrives as a header, a screen pop or a spoken briefing.

Editorial diagram for Best Voice AI Platforms for Asterisk-Based Contact Centers: Negative-path map for a bridge is healthy but the dialplan route is wrong and safe recovery.
Editorial diagram for Best Voice AI Platforms for Asterisk-Based Contact Centers: Negative-path map for a bridge is healthy but the dialplan route is wrong and safe recovery.

The harder case is failure: the platform is healthy but the dialplan sends the transfer to the wrong place, or the AI endpoint stops answering. Bland lets you define failover targets; NextLevel's SIP Bridge describes health detection on latency, timeouts and error rates with two fallback paths, a NextLevel failover instance or your human queue. With any option, keep a dialplan fallback that sends unanswered AI legs to a human queue.

Choose a REFER-based transfer if you want the platform out of the call after hand-off. Choose a bridged or warm transfer if the human agent needs a consult or summary first, and budget for any transfer minutes.

Pricing units and concurrency

Published prices use different units: a bundled per-minute rate (Bland), a per-minute platform fee plus speech and model costs (Retell, Vapi), session and SIP minutes above plan allowances (LiveKit), or plans with professional services for tuning and integrations (NextLevel, pricing). Line them up against one month of your own traffic.

The model mix matters: Vapi's calculator shows $82–$129 per month for 1,000 minutes with one Deepgram, OpenAI and ElevenLabs combination. That is a vendor example, not a quote.

Concurrency caps matter as much as rates. Compare each plan's limit with your Asterisk peak, and decide what the dialplan does when the platform is full: queue, overflow to humans, or play a message.

Choose per-minute bundled pricing if you want a simple bill. Choose component pricing if you want to pick and switch speech and model providers.

Compliance and where the AI runs

If calls carry health or payment data, compare the documents you can actually obtain, not badges. Vapi sells HIPAA as a $2,000/month add-on; Bland's compliance documentation is under NDA on Enterprise; LiveKit lists HIPAA and security reports on Scale; NextLevel lists ISO/IEC 42001 as planned, not certified (compliance). For hosting, Bland offers on-prem or VPC on Enterprise, LiveKit can be self-hosted, Vapi offers an EU region, and NextLevel states agents can be deployed in your own cloud.

Choose a self-hosted or VPC option if call audio must stay in your network. Choose a managed region if a signed BAA or DPA and a named region are enough.

Who should choose which

  • FreePBX shop adding an after-hours agent with a small IT team: a managed platform over SIP. Compare Bland AI's Asterisk/FreePBX wizard with Retell AI's or Vapi's published endpoints, and check that the included concurrency covers your after-hours peak.
  • Engineering-led team that keeps everything on its own servers: stream audio with chan_websocket on a supported release such as 22.x LTS, or self-host LiveKit. Budget for running the speech, model and bridge services yourself.
  • Regulated contact center: shortlist on documents first: a BAA, a SOC 2 or ISO report, and a hosting region. Then compare transfer handling.
  • Contact center adding AI to one IVR option or overflow, with humans as the fallback: look for per-call routing and failover to a human queue, either as a platform feature or in your own dialplan.

A short pilot test plan

  1. Confirm your Asterisk version and choose the method: stream, or SIP hand-off.
  2. Route one DID or one IVR option to the agent, not all traffic.
  3. Test blind and warm transfers into a real queue, and confirm in Asterisk records that each call landed where intended.
  4. Force failures: make the AI endpoint unreachable, offer a mismatched codec and hit the concurrency cap. Confirm callers reach a human.
  5. Run your expected peak concurrency and note where calls queue or overflow.
  6. Reconcile one week of platform usage, carrier invoices and Asterisk CDRs.
  7. Collect the compliance documents your security team needs before live customer data flows.
Release pipeline moving a package through review, a 'Sandbox', a 'Live route' switch and 'Expansion' to multiple servers.

Where NextLevel fits

NextLevel's SIP Bridge connects NextLevel AI agents to an existing call center over standard SIP. It is described as an Asterisk-based bridge between NextLevel's LiveKit-powered orchestrator and SIP endpoints, and it lists Asterisk and FreePBX among the on-premises systems it connects to over SIP standards. Per call, the bridge can hand off to the AI agent, route to a human queue or fail over, with multi-leg conferencing for warm transfers. See also integrations.

Plans start from $49/month; phone agents need an active SIP trunk. NextLevel supports 30 languages and 100+ concurrent calls on enterprise plans, depending on telephony. The team can deliver a working prototype in 2 days. For the readiness questions to settle first, such as allowed actions, the human boundary and named owners, see contact center AI.

Frequently asked questions

Can I add an AI voice agent without replacing Asterisk?

Yes. You can stream audio out of Asterisk with AudioSocket, ARI External Media or chan_websocket to an AI service you run, or route calls over SIP to a managed platform that transfers callers back to your queues. Both keep your PBX, carrier and agents in place.

Which Asterisk version do I need?

ARI External Media was introduced in Asterisk 16.6. The WebSocket channel driver needs 20.16, 21.11, 22.6, 23.0 or later. Per the Asterisk versions page, 20.x moves to security fixes only on 19 October 2026, 21.x reaches end of life on 18 October 2026, and 22.x LTS is fully supported until 16 October 2028.

Can public pricing identify the cheapest choice?

Not on its own. Units differ: bundled per-minute rates, hosting fees plus model costs, session minutes, or plans. Price one realistic month of your traffic, including telephony, transfer minutes and concurrency add-ons, and get dated quotes.

How do calls get back to my human agents?

Usually by SIP REFER, where Asterisk places the onward call; some platforms also bridge or warm-transfer. Confirm your provider allows REFER and check completion in your own call records.

What should a proof of concept test?

One real call path, transfers into live queues, forced failures, your peak concurrency, and reconciliation of platform, carrier and PBX records.

When should a human take ownership?

When the caller asks for a person, the request is outside the agent's scope, an action fails, or the AI endpoint is unavailable. Your dialplan should route those calls to a staffed queue even if the platform does not.

To see how an AI agent would sit beside your Asterisk queues, build your AI agent and bring your transfer requirements.

About the Author

Mike Lazor
Mike Lazor
Founder & CEO · NextLevel.AI

Michael Lazor is Founder and CEO of NextLevel.AI. He writes and reviews content about the economics, engineering, evaluation, and production deployment of voice AI.