Skip to main content
Home
GrN.dk

Main navigation

  • Articles
  • Cases
  • Services
  • Your Digital Project Manager
  • About Greg Nowak
  • Image Gallery
  • Contact
User account menu
  • Log in

Join my community / free newsletter — sign up here

Breadcrumb

  1. Home

An AI Voice Agent Needs More Than a Phone Number and a Realtime Model

Illustrated infographic summarizing: AI Voice Agents Need More Than a Number and a Realtime Model

By Greg Nowak. Last updated 2026-08-30.

Connecting an AI voice model to a business number is now relatively straightforward. Operating that number without losing callers, leads, or context is the harder job.

A production voice agent needs a defined purpose, reliable call routing, a route to a human, and sensible behavior when speech recognition, an internal system, or the AI itself fails. Those decisions should be made before anyone spends days polishing the prompt or choosing a pleasant voice.

Start with the architecture, not the voice

OpenAI documents two broad voice-agent architectures. Speech-to-speech sessions process live audio directly and suit conversations where low latency, natural turn-taking, and interruption matter. Chained pipelines separate speech-to-text, text reasoning, and text-to-speech, giving the application more control over each stage.

That distinction also helps clarify two commonly confused telephony options. A SIP provider can send a call directly into OpenAI Realtime, while Twilio ConversationRelay sends transcribed caller input to your application over a WebSocket and converts the application's text responses back into speech. They are alternative integration patterns, not components every project must combine.

Choosing an architecture for a business phone agent
Approach Best fit Operational advantage Main trade-off
Direct SIP to OpenAI Realtime Natural, fast conversations with barge-in and realtime tools OpenAI exposes call acceptance, monitoring, transfer, rejection, and hang-up controls Your team must operate the SIP flow, server control channel, tools, and fallbacks
Twilio ConversationRelay Structured qualification, support, and routing workflows Twilio manages speech recognition, speech synthesis, and the live call bridge Your application still owns conversation logic, WebSocket reliability, and escalation
Explicit chained pipeline Approval-heavy or regulated workflows needing visible intermediate text Each transcription, reasoning, policy, and speech stage can be inspected or replaced More components can mean additional latency and integration work

Design the call flow before the prompt

Write down what the agent is allowed to accomplish. “Answer the phone” is too broad. “Identify the caller's service need, collect a postcode and preferred callback time, then route or create a lead” is testable.

For every branch, define an outcome: continue with the agent, transfer to a person, arrange a callback, reject the call, or play a fallback message. Include silence, repeated misunderstanding, unsupported languages, unavailable staff, failed CRM requests, and a caller explicitly asking for a human. A voice agent that cannot exit gracefully is not ready for a published number.

With OpenAI's SIP path, the provider points its trunk at OpenAI's SIP endpoint. An incoming call produces a realtime.call.incoming webhook containing a call_id. The application can then accept or reject the call. Once accepted, it can monitor the session over wss://api.openai.com/v1/realtime?call_id={call_id}, transfer it using the refer endpoint, or hang up. These controls should map to written business rules rather than model improvisation.

Keep tools and private rules on the server

Calendar availability, CRM lookups, lead scoring, account data, and transfer rules belong in server-side code. OpenAI's sideband design allows the caller connection and an application-server connection to participate in the same Realtime session. The server can monitor events, update instructions, and answer tool calls without exposing credentials or internal logic to the caller-facing connection.

This separation also makes failures easier to diagnose. A tool timeout, failed WebSocket, invalid response, and poor model decision are different problems. Record them separately, give each one a fallback, and avoid treating every unsuccessful call as a prompting issue.

Specify the phone experience explicitly

ConversationRelay exposes controls for the welcome greeting, interruptions, interruption sensitivity, speech timeouts, keypad detection, languages, voices, and whether input is reported while the agent is speaking. Configure the settings you depend on rather than trusting defaults. For example, Twilio changed the default for reportInputDuringAgentSpeech from any to none in May 2025, and the default transcription provider can differ for older accounts.

Test interruption behavior with real callers. An agent that never yields feels frustrating; one that stops whenever it hears a short acknowledgement or background noise feels broken. Also decide whether the welcome greeting may be interrupted and whether keypad input provides an alternative when speech recognition struggles.

Multilingual support needs its own test plan. ConversationRelay can configure speech recognition and synthesis separately for each language. Its automatic multi mode currently requires Deepgram for transcription and ElevenLabs for speech synthesis; unsupported combinations end the session. Test accents, names, addresses, language switching, and the human-transfer path rather than relying on a polished bilingual demo.

Operate the number with evidence

For every call, capture the route taken, completion or transfer reason, tool failures, session status, duration, and the minimum transcript data the business genuinely needs. Twilio can send session details to the <Connect> action callback when ConversationRelay ends, including failure or handoff information. OpenAI reports token usage in response.done events, while enabled input transcription has separate usage events and billing.

Cost control starts with scope. Short qualification calls with a quick handoff are easier to predict than open-ended assistants. Stable instructions and tool definitions also preserve prompt-cache efficiency. For unusually long sessions, OpenAI provides token-window and truncation controls, including a retention ratio, but reducing memory can affect later responses. Treat that as a measured optimisation, not a default shortcut.

A practical launch checklist

  • Give the agent one measurable call objective.
  • Document acceptance, rejection, transfer, callback, and failure rules.
  • Keep tools, credentials, and routing logic on the server.
  • Configure interruption, timeout, keypad, language, and callback behavior explicitly.
  • Test noisy calls, silence, unsupported requests, tool failures, and human escalation.
  • Monitor completion, transfer reasons, technical failures, latency, and cost from day one.

The model is only one part of the service. The real deliverable is a phone operation that callers can understand and the business can monitor, change, and trust.

If you are deciding between direct SIP, ConversationRelay, or a chained workflow, Greg can help turn the requirements into a practical call flow and implementation plan. Talk to Greg about the project.

Related on GrN.dk

  • A Voice Agent Is Only Ready When the Human Handoff Works
  • Not Every AI Job Needs an Instant Answer: Batch the Backlog
  • OpenAI’s Assistants API Shuts Down in Ten Days. Is Your App Ready?

Need help with this kind of work?

Plan your AI voice project with Greg Get in touch with Greg.

Sources

  • Voice agents | OpenAI API
  • Realtime API with SIP | OpenAI API
  • Webhooks and server-side controls | OpenAI API
  • Managing costs | OpenAI API
  • TwiML Voice: ConversationRelay | Twilio
Last modified
2026-08-30

Tags

  • AI voice agents
  • OpenAI Realtime API
  • Twilio ConversationRelay
  • SIP
  • call routing

Review Greg on Google

Greg Nowak Google Reviews

 

Written recommendations from Trafik og Veje, Aarhus Municipality (2011) and AgroTech (2010) — read them on LinkedIn.

Illustrated infographic summarizing: From Supplier PDFs to Product Data: Where AI Needs a Second Check
From Supplier PDFs to Product Data: Where AI Needs a Second Check
2026-09-07

Supplier files need more than extraction. Here’s how to check coverage, match SKUs, resolve unclear units and prices, and test product data before a catalogue import.

Illustrated infographic summarizing: Shorter TLS Certificates: Will Your Renewal Setup Keep Up?
Shorter TLS Certificates: Will Your Renewal Setup Keep Up?
2026-09-06

Shorter TLS certificates leave less room for renewal problems. Check domain validation, scheduling, deployment and the certificate your customers actually receive.

Illustrated infographic summarizing: Your AI Image Has Content Credentials. Will Your Website Keep Them?
Your AI Image Has Content Credentials. Will Your Website Keep Them?
2026-09-05

AI image credentials can disappear during routine website processing. Learn how to test your CMS, optimizer, CDN, and publishing workflow end to end.

Illustrated infographic summarizing: What Are Customers Asking? Let AI Find the Patterns in Support Tickets
What Are Customers Asking? Let AI Find the Patterns in Support Tickets
2026-09-04

AI-based ticket analysis can uncover recurring complaints, product defects and gaps in documentation—without the company needing yet another chatbot.

Illustrated infographic summarizing: OpenAI Has Machine Identity Now. Which Jobs Should Lose API Keys?
OpenAI Has Machine Identity Now. Which Jobs Should Lose API Keys?
2026-09-03

OpenAI’s X.509 workload identity can replace API keys for the right workloads. This practical framework helps teams decide where to start safely.

Illustrated infographic summarizing: WordPress 7.1 Exposes AI-Ready Actions. Who Gets to Run Them?
WordPress 7.1 Exposes AI-Ready Actions. Who Gets to Run Them?
2026-09-02

WordPress 7.1 helps AI agents discover and invoke site abilities. Here is how to keep exposure, authentication and permission firmly separate.

Illustrated infographic summarizing: From Sales Meeting to CRM: Automate Follow-Up Without Compromising Data Quality
From Sales Meeting to CRM: Automate Follow-Up Without Compromising Data Quality
2026-09-01

How to use AI for meeting notes and follow-up while fixed rules protect CRM data, customer matching and the sales pipeline from errors and premature changes.

Illustrated infographic summarizing: Your AI Gateway Can Name the User. Decide What That Log Is For
Your AI Gateway Can Name the User. Decide What That Log Is For
2026-08-31

Identity-aware AI Gateway logs can sharpen security and cost control, but only when attribution, access, retention, guardrails, and response are clearly defined.

Illustrated infographic summarizing: Zero Data Retention Is a Workflow Audit, Not a Checkbox
Zero Data Retention Is a Workflow Audit, Not a Checkbox
2026-08-30

Zero Data Retention covers the provider, not every copy in your stack. See how to audit endpoints, logs, storage, deletion and project-level controls.

Illustrated infographic summarizing: MCP 2026-07-28 Is an Auth Migration, Not a Version Bump
MCP 2026-07-28 Is an Auth Migration, Not a Version Bump
2026-08-29

MCP’s July 2026 release removes protocol sessions and tightens OAuth. Here’s a practical plan for migrating clients, servers and enterprise access safely.

More articles

Built by AI — available for your business. The daily articles on this site are researched, written and illustrated by an autonomous AI pipeline. At nowa.dk I install the same kind of AI automation in businesses at fixed prices — site in Danish, English version here, and web/marketing agencies have a dedicated page.

RSS feed

Footer

  • All articles
  • Contact

GrN.dk — AI automation, web platforms, web optimization, data handling and logistics.

© 2026 GrN.dk · LinkedIn · Contact · AI automation in Danish: nowa.dk

Behind GrN.dk: Individual Entrepreneur Codecrafter · Tax ID 305669096 · Bakhtrioni St. 22, 0194 Tbilisi, Georgia · official business register