Dograh

What Is an Orchestration Layer in Voice AI? Every Job It Runs

What Is an Orchestration Layer in Voice AI? Every Job It Runs
TechnicalOctober 13, 2026· Updated October 26, 2026·9 min read

What Is an Orchestration Layer in Voice AI? Every Job It Runs

Abhishek Kumar
Abhishek Kumar·Co-founder, Dograh AI

Co-founder of Dograh, building the future of open-source voice AI agents. Own your voice AI stack.

An orchestration layer is the software that runs a voice call around the AI models. It connects the phone line, decides when the caller has finished, calls tools, transfers calls, handles voicemail and records data. Dograh is an open-source one you can self-host. The models themselves, cascade or speech-to-speech, form a separate inference layer you choose.

Key Takeaways

  • Dograh's Dictionary sends your brand terms to speech-to-text.
  • Transfer Call passes no summary by default. On Twilio it can play a spoken introduction.
  • Speech-to-speech support differs by platform, so check it before you commit.

This post is part of our guide to Voice AI Explained: The Complete Glossary and Beginner's Guide. Here we go through each job the orchestration layer does on a call and how to judge a platform on it, with examples from Dograh, the open-source AI voice agent platform we build.

Orchestration layer vs inference layer

The models produce words and audio, and the orchestration layer decides what happens with them on a live call.

On each turn, the orchestration layer streams the caller's audio to speech-to-text, decides when the caller has finished, and hands the transcript to the language model with the instructions for the current step. It sends the reply to text-to-speech and stops that voice if the caller cuts in. The models never see the phone line or the call flow.

A hand-drawn diagram of two layers on one call: the orchestration layer with eight jobs (custom dictionary, turn-taking, variable extraction, tool calls, transfers, voicemail, campaigns, LLM fallback) above the inference layer, filled by a cascade or one speech-to-speech model
Pick a platform for its orchestration jobs, because swapping models later doesn't touch them. A job the platform lacks becomes code you write and maintain.

Dograh, an open-source, self-hostable AI voice agent platform, sits on the orchestration side of that line. Because Dograh is the orchestration layer that runs the call flow, tools and telephony, the speech and language models are yours to pick for each agent, from the platform's own managed models to any provider with your own API keys (BYOK) or open-weight models you host yourself.

The split lets you swap a model without rebuilding the agent. It also decides where audio goes: with BYOK the contract moves to you, while the audio still reaches the provider. New accounts start on Dograh's managed models. To keep call audio off them, go to the Models page in the dashboard sidebar, set the Organization default to BYOK with your own providers (or local models), and check that no agent has its own model override. Only self-hosted open-weight models keep every call on your servers, as our guide to running voice AI on local, self-hosted models shows. For the inside of the inference layer, see how the voice AI pipeline works.

Hearing the right words

Two listening jobs sit in the orchestration layer. One tells speech-to-text which words to expect, and the other decides when the caller's turn is over.

Speech-to-text models are trained on general speech, so they slip on brand names and industry terms such as KYC (know your customer) or AUM (assets under management). Open the agent's Settings and add the words your agent should actively listen for to the Dictionary, one comma-separated box saved with Save Dictionary. Dograh sends that list to the speech-to-text provider on each call. When the audio is unclear, the model leans toward your spellings, which lowers the word error rate on exactly those terms.

Keep the list short. AssemblyAI's keyterms guide warns that long lists, or common words, can cause overcorrections, where the model "hears" a keyterm nobody said. Start with the terms a mishearing would break, and add more only when transcripts show a real miss.

Knowing when the caller is done

The second job is deciding that the caller is done, and Dograh offers two strategies. The default is transcription-based: the turn ends when the transcript shows a finished statement, which suits short answers like "yes". The other is the Smart Turn Analyzer, an open model that judges from the audio whether the turn sounds complete. If the caller seems mid-thought, it waits, up to an Incomplete Turn Timeout of 2 seconds by default.

Daily, which maintains the model, reports that Smart Turn v3, the version Dograh runs, reached 94.31% English accuracy on its own test set, from a model of only 8 MB. Barge-in, endpointing and turn-taking covers the trade-offs in depth.

Dograh

Open Source Alternative to Vapi / Retell

Self-hosted voice agent platform — no per-minute fees

dograh-hq/dograh

Star on GitHub

What the agent does during and after the call

A voice agent earns its place by what it does during and after the call, and those actions run through the orchestration layer.

Variable extraction makes an agent useful to the rest of your business. In Dograh you switch it on for a step and name the typed fields you want, such as a callback time or whether the caller agreed to a renewal. Extraction is an AI step, so it records each answer as the caller stated it, with the transcript and recording as the exact record. A Webhook node sends the values to your CRM.

During the call, the agent can call your HTTP APIs, use tools on any Model Context Protocol (MCP) server, and answer questions from a knowledge base of your own documents.

Transfers to a person

When a caller needs a person, Transfer Call hands them over on Twilio, Telnyx and Asterisk ARI, to a destination that is fixed or picked per call by your own service. It passes no summary by default, so have the agent write the caller's details to your system first. On Twilio it can also play a short spoken introduction to both people, which is off by default and may be skipped. Test the transfer on a real phone call, since browser test calls cannot transfer.

Voicemail and call screening

Many pickups are not people. In CALLR's 2026 marketplace benchmark, 14.0% of 17,202 outbound callbacks reached voicemail, and 19.9% of 407,573 inbound calls ended on voicemail yet showed as answered on dashboards. CALLR is a telephony vendor, and the data comes from property and home-improvement marketplaces.

Dograh tells voicemail, a call screener and a person apart. On voicemail it hangs up by default, or leaves a message you set, and marks the call voicemail_detected either way, so a campaign can retry later. On a call screener, the phone feature that asks callers who they are, it speaks your screening message and waits for the person.

Building and running many agents

Past a single call, the orchestration layer is where you build agents and run them at volume.

Dograh can generate a starting agent from a plain-language description of your use case. You then shape it in the visual workflow builder, where each step holds its own prompt, so you change one step without touching the rest. Test calls and call traces sit alongside, so you can try a change and see where a call went wrong.

Dograh also runs as an MCP server, so Claude Code or Cursor can list your agents, read their definitions and pull call transcripts from your editor.

Transfer to Agent chains agents: it hands the call to another Dograh agent with a labelled transcript, so a reception agent can pass a billing question on without the caller repeating themselves. Campaigns run outbound calls from a CSV list, with limits on concurrent calls and calling hours, retries, and pause and resume.

Switching models, including speech-to-speech

Because the models sit in their own layer, a good orchestration layer lets you change them per agent and fall back when one fails.

In Dograh, you choose models on the Models page. Your organisation sets a default, and any agent can use its own models instead. When you start a call through the API, you can also swap the language model or the voice for that one call.

LLM fallback protects the call when the large language model (LLM) fails. If the main language model returns an error, or gives no output within a set time (1.5 seconds by default, adjustable from 0.1 to 10), the call switches to a backup model. You can set up to two rules, one per condition. It applies when you bring your own LLM keys. Dograh's managed models handle their own fallbacks.

Dograh runs speech-to-speech and full-duplex models out of the box, including Gemini 3.1 Flash Live, OpenAI Realtime, Azure Realtime, Grok Voice Agent and GPT-Live, which runs full duplex. A speech-to-speech agent keeps the call flow and telephony, with a separate language model for variable extraction and quality review (QA). A few features still need a cascade agent: handing the call to another agent, the spoken introduction before a transfer, and the text transition lines between steps.

Cascades stay better at complex tool calling, so choose per agent. Cascade vs speech-to-speech covers which calls suit each.

Join the Dograh Community

Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.

How to judge a voice AI orchestration platform

Judge an orchestration layer by the jobs in this post, tested on a real phone call, because an easy builder can still leave the hard jobs to you.

Open-source frameworks give you the parts of the layer as code, and production use needs a lot of plumbing on top, from voicemail handling and transfers to campaigns and a builder. Hosted platforms run the layer for you for a platform fee of around 5 to 7 cents a minute, with models billed separately, and what they cover differs.

Dograh puts these jobs into one open-source platform you can self-host, and self-hosted voice agent orchestration has no per-minute platform fee (servers, model keys and phone minutes still cost). Its cloud version has a 1¢-a-minute platform fee.

Put the voice AI orchestration tools you are considering through one phone test. Check the transcript for your brand names. Read out a long account number slowly and see whether the agent waits. Let one call go to voicemail, transfer another over your production line, and check that the extracted fields arrive.

Glossary

Dictionary
Dograh's list of words the speech-to-text model should expect, such as brand names and industry acronyms. A short list helps the model spell them correctly. A long one can cause it to hear terms nobody said.
Smart Turn
An open model that listens to the caller's audio and judges whether they have finished their turn or are pausing mid-thought, so the agent does not cut them off.
Transfer introduction
A short spoken introduction, played on Twilio to both people just before they're connected. It's off by default.
LLM fallback
Switching a live call to a backup language model when the main one returns an error or produces no output within a set time.

Frequently Asked Questions

Get started with Dograh

Build, deploy, and scale AI agents with Dograh. Join the community of developers building the future.