# Enterprise AI Voice Agent Architecture

Joseph Raulet · 2026-11-18

How does MAUDE connect speech-to-text (STT), a language model (LLM), and text-to-speech (TTS) during a call? See how agent handoffs and security work, and how to estimate availability for single-site and multisite deployments.

[Article on NeuroDiffusion.ai](https://neurodiffusion.ai/en/publications/voice-agent-architecture)

![Pencil illustration of a reel-to-reel machine with an ear at the input and a mouth at the output.](https://neurodiffusion.ai/editorial/machine.webp)

[MAUDE voice conversation demo](https://youtu.be/rJ3ksN1t5EA?si=ZHadU-O4fupQRdmn)

MAUDE is an AI voice agent system for high-volume customer service call centers at large enterprises. It handles the bulk of inbound call traffic. Its agents answer routine questions as soon as they pick up. They can also take more complex requests from start to finish, including verifying information, applying business rules, and completing transactions in company systems.

This takes pressure off service teams and frees representatives to work on cases that need their judgment. When a representative takes over, the architecture provides for passing along the context of the call and the actions already taken. Agents can also recognize a need, recommend an offer, and close a sale on the same call. That gives the call center a role in customer retention and revenue growth as well as operating efficiency.

This article examines the requirements behind MAUDE and the architecture that grew out of them. It covers conversational responsiveness, scaling, service continuity, security, and integration with the enterprise. The static views show the components, what each owns, how they communicate, and where they run. The dynamic views follow a call from the start of a session to a spoken response, including the exchanges among agents, AI services, and business tools.

## Design requirements

Of the many requirements we considered, we selected those essential to a minimum viable product (MVP) that could be deployed in a high-volume call center. These requirements drove the main architecture decisions described here.

### Real-time conversation

The fundamental requirement for MAUDE is the ability to carry on a real-time voice conversation. Without it, the system cannot do the job it was designed for: talk naturally with customers over the phone.

Voice puts a much tighter constraint on latency than a text interface does. Callers notice the silence between a question and an answer. A few seconds can be enough for someone to interrupt, repeat a question, or wonder whether the system is still working. A platform’s ability to absorb incoming calls and sustain a natural conversation depends on how fast it processes each step and how long the caller waits across the entire path.

This requirement shaped the design from the outset. We chose a streaming architecture to eliminate unnecessary waits between stages. Speech recognition (speech-to-text, or STT), conversational reasoning (a large language model, or LLM), and speech synthesis (text-to-speech, or TTS) process information continuously, with stages overlapping where their inputs allow it. We ran a series of performance tests against our latency targets before settling on the design.

MAUDE also has a fast voice response subsystem that tracks conversational context as the caller speaks. It can acknowledge what the caller said as soon as the caller finishes a turn. People do this on the phone all the time. “Hmm,” “Okay,” “I understand,” “Let me check,” “Give me a moment to think,” or “Let’s see what we can do” keep the exchange going while the speaker prepares a fuller answer. MAUDE uses the same pattern to keep the conversation moving and reduce the delay the caller perceives. A companion article explains how the mechanism works.

[Always Speak Before You Think!](https://neurodiffusion.ai/en/publications/speak-before-you-think)

Real-time conversation was the first functional requirement to shape MAUDE’s architecture. The others cover business process automation, integration with enterprise systems, retaining the team’s operational knowledge, and working with human representatives. The following requirements are developed in the sections that follow.

### Functional requirements

- **RF001: Real-time conversation.** Greet callers at pickup, recognize their intent, handle interruptions, and route them to the right specialist agent.
- **RF002: Automate high-volume requests.** Handle the main reasons customers call. Complete complex workflows that require multiple checks, business rules, and transactions in enterprise systems.
- **RF003: Preserve expertise and customize agents.** Build representatives’ know-how into voice agents, adapt standard agents to the company’s offerings and procedures, and add specialists for new areas of the business.
- **RF004: Integrate telephony and business applications.** Connect to the call center using the Session Initiation Protocol (SIP). Use CRM and other application interfaces, including tools exposed through the Model Context Protocol (MCP), to look up a record, change a reservation, or enter an order within the permissions granted.
- **RF005: Generate sales and sales leads from service calls.** Identify and qualify an opportunity, recommend an offer, and take an order on the same call. When the customer needs further assistance, send the qualified lead and the information already collected to the sales team.
- **RF006: Transfer automatically to a representative.** Hand the call off when human intervention is required or an issue prevents further processing. Include the context and the actions already taken.

### Nonfunctional requirements

- **RNF001: Execute complex workflows reliably and deterministically.** Given the same request, confirmed data, and workflow state, the agent must run the same checks and reach the same decision regardless of how the caller phrases the request. Confirm an order, reservation, or record change only after the required checks pass and the transaction succeeds.
- **RNF002: Build human oversight into the workflow.** Every workflow must provide a way for a person to intervene when a failure blocks progress, an authorization is required, or the request falls outside the agent’s scope. The representative needs the call context, current state, and actions already taken to approve the next step or take over. This is part of normal operation and helps prevent errors and duplicate transactions.
- **RNF003: Start an appropriate spoken reaction within one second.** Measure from the end of the caller’s turn to the start of the reaction.
- **RNF004: Scale horizontally.** Add instances to handle more simultaneous calls, absorb peaks, and accommodate traffic growth while controlling operating costs.
- **RNF005: Operate continuously and define service levels.** Aim for 100% availability of call answering, 24 hours a day, seven days a week. Measure availability, time to a spoken response, and transfer success rates to establish service-level agreements (SLAs).
- **RNF006: Maintain service continuity.** Provide redundant SIP entry points, multisite deployment, and blue/green updates designed to preserve calls already in progress.
- **RNF007: Protect personal information and transaction integrity.** Isolate each company’s data, encrypt it in transit and at rest, enforce strict access controls, and use two-factor authentication.
- **RNF008: Log and actively monitor operations.** Record sensitive operations and monitor the system to detect incidents and support a prompt, targeted response.
- **RNF009: Keep AI providers interchangeable.** Select providers independently for transcription (STT), language models (LLM), and speech synthesis (TTS).
- **RNF010: Support cloud portability.** Deploy the application components on hosting platforms with a runtime compatible with Open Container Initiative (OCI) container images.

## The design we chose

RF001, real-time conversation, is the foundation of MAUDE’s architecture. Keeping a phone conversation natural and responsive shaped both the technology choices and the overall design.

Two mechanisms work together. First, streaming lets recognition, language generation, and synthesis overlap as soon as the next stage has enough input. Second, a fast voice response subsystem can acknowledge the caller while the full reply is being prepared. Together they shorten the wait and preserve the rhythm of the conversation.

The rest of the system builds on this foundation: business process automation, application integration, human oversight, operational resilience, security, and scaling. The architecture has to satisfy the functional and nonfunctional requirements together.

### Streaming architecture

The diagram follows the data exchanged by the three main services in a conversation: speech recognition, the language model, and speech synthesis.

![Real-time voice streaming, from the caller’s first audio frame to playback of the agent’s reply.](https://neurodiffusion.ai/editorial/full/maude-03-fig-01-en.webp)

Real-time voice streaming, from the caller’s first audio frame to playback of the agent’s reply.

Streaming moves audio and text in small pieces as they become available. Some stages can overlap. Others need a complete input before they can start. The numbered steps below correspond to the diagram.

1. **Audio arrives in small frames.** As soon as the caller starts speaking, the system receives short audio frames and forwards them to the transcription service. In the target telephony path, signaling uses SIP over TLS and audio uses SRTP up to the SIP front end. Audio travels over a secure WebSocket (WSS) from the front end to the engine, and from the engine to STT when the adapter uses that transport.
2. **STT transcribes while the caller speaks.** It might first return “I’d like…” and then “I’d like to book….” As more audio arrives, it extends and corrects the transcript. Much of that work is already done when the caller finishes. Partial and final transcripts return over the same WSS connection in this example.
3. **The engine detects the end of the turn and assembles the transcript.** It tries to recognize promptly when the caller has finished while allowing for natural pauses within a sentence. Once the turn ends and all segments are ready, the engine sends the complete utterance to the LLM. A partial transcript could prompt an answer before the caller has said what matters most. The engine assembles the transcript using internal frames, then sends the LLM an HTTPS request.
4. **The LLM builds the response incrementally.** It receives the complete utterance, the agent’s instructions (the prompt), and the relevant conversation history. It streams text back in fragments. In the diagram, sentence A, “What day works best for you?”, can go to TTS while the model writes the rest. The text streams over HTTPS, using server-sent events (SSE) where the provider supports them.
5. **TTS starts with the first passage that is ready.** The engine groups text fragments into segments or sentences to suit the synthesis service. It can send the first sentence for synthesis as soon as it is ready, then send the next. The service also returns audio in small chunks. Internal text frames reach the TTS adapter, which uses WSS or streaming HTTPS depending on the provider.
6. **A quick acknowledgment typically comes first.** While the LLM prepares the answer, a lightweight natural language processing (NLP) model recognizes the type of request and selects an acknowledgment that fits, such as “Okay” or “I see.” These audio clips are generated in advance and loaded into memory.
7. **The engine plays the audio in order.** If an acknowledgment is still playing, the first TTS frames wait briefly in a queue. Playback starts once the acknowledgment ends and response audio is ready. Audio travels from the engine to the SIP front end over WSS, then back to the call center over SRTP.
8. **The caller hears the beginning while the system prepares the rest.** The shaded area shows the overlap. The engine can play one passage while TTS synthesizes the next and the LLM continues writing text for subsequent synthesis.
9. **If the caller speaks again, the system listens.** A caller might interrupt with “Tuesday morning, if possible.” The engine can stop playback and discard queued audio. STT transcribes the interruption. At the end of the new turn, the engine assembles the complete transcript and sends it to the LLM.
10. **A business transaction may require verification.** To book a time slot, the agent calls the scheduling tool and waits for its result. It can confirm the appointment once the tool reports that the booking succeeded.

The practical effect is that callers can hear the first words of a response while the model is still preparing what comes next.

A strictly sequential process would finish the transcript, write the entire response, and synthesize all the audio before playback began. With streaming, transcription is underway while the caller speaks. The caller can then hear “What day works best for you?” while the LLM is still writing the next sentence.

## Specialist voice agents (RF003)

Standard voice agents handle workflows such as scheduling appointments and confirming purchases. A company may also need agents configured for particular call types or for individual tasks within a call. Product and service agents are one example. Each is tailored to a particular company so it can introduce the company’s offerings when they are relevant to a customer. This is one way to retain the expertise of an experienced customer service team (RF003).

A customer who calls to check the status of a case may also ask about an offer or mention a new need. The engine can hand the conversation to the appropriate specialist within the same session and pass along the relevant information already collected (RF001).

Each voice agent has a specific job, such as greeting callers, booking appointments, or advising on products and services. It receives the instructions, knowledge, and tools for that job. The company can incorporate its representatives’ expertise into standard agents, adapt them to its procedures, and add agents for new workflows (RF003).

### Product and service agent (RF005)

This agent uses the company’s catalog, documentation, and sales policies. It can answer detailed questions about an offer, explain its terms, and ask the questions needed to recommend a product or service that fits. The company defines the vocabulary, qualification criteria, and recommendation rules for its market and customers.

If the customer wants to buy, the agent can take the order on the same call. Business tools verify that the transaction meets its conditions and record the order after the customer confirms. If the customer needs a custom quote or a specialist, the agent can send sales a qualified lead with the stated need, the offer under consideration, and the information already gathered (RF004, RF005).

For example, a customer calling about an installation might mention needing the same service at a second location. The specialist agent can clarify the need and recommend an offer during that call. If a custom proposal is required, sales receives a case it can pick up with those details already established.

## Component architecture

Real-time conversation (RF001) is one of several requirements the system has to meet. The next sections identify the components that support those requirements and the part each plays.

### System component diagram

The diagram shows MAUDE’s main components, their responsibilities, and the interfaces they use. The MAUDE engine orchestrates the conversation. It receives calls from the SIP front end, retrieves configuration from the REST service, and coordinates AI services and business tools. The Azure example shows where these exchanges cross the telephony perimeter, the system’s private subnets, and external providers.

The architecture is independent of the cloud provider. The main application components ship as OCI container images and can run on a platform with a compatible runtime (RNF010).

![MAUDE component architecture and network boundaries in an example Azure deployment.](https://neurodiffusion.ai/editorial/full/maude-03-fig-02-en.webp)

MAUDE component architecture and network boundaries in an example Azure deployment.

Each call passes through the inbound firewall to the SIP front end, which directs it to a virtual machine (VM) ready to handle it (RF001, RF004, RNF007). Adding VMs increases the number of conversations the system can handle at once (RNF004). A shared administration application manages configuration for all instances through the REST service (RF003).

The enterprise selects the AI provider for each function independently. Common engine interfaces let it combine supported transcription, language model, and synthesis providers based on quality, latency, cost, and hosting region (RNF009).

Each of the three functions has multiple provider options. Standard interfaces encapsulate the differences between their APIs, so the business can change its choice for STT, LLM, or TTS independently (RNF009).

### Component responsibilities and communication paths

- **Enterprise call center.** Routes calls to MAUDE over the internet. The design uses SIP over TLS for signaling and SRTP to encrypt audio (RF004, RNF007).
- **Inbound firewall.** Holds the public IP address, filters connections by permitted source and port, and forwards traffic to the private address of the SIP front end (RNF007).
- **SIP front end.** Connects the call center to the MAUDE engines. It distributes calls across instances and relays signaling over HTTPS and audio over WSS (RF004, RNF004, RNF007).
- **MAUDE engine.** Orchestrates the conversation in the private voice subnet. It coordinates agents and AI services and invokes business tools through MCP whenever the workflow needs to act in an enterprise system (RF001, RF002, RF004). The engine runs across multiple VMs. A local proxy on each VM directs new calls to the active instance (RNF004, RNF006).
- **Administration application.** Runs on its own private VM. Administrators use it to configure all instances. It sends changes to the REST service over HTTPS (RF003, RNF007).
- **REST service.** Receives changes from the administration application and serves configuration to the engines over HTTPS. It provides the only application access path to the SQL database (RF003, RNF007).
- **SQL database.** Stores configuration data. REST service instances connect over a TLS-encrypted SQL connection (RNF007).
- **Network security groups (NSGs).** Restrict connections between VMs to permitted traffic flows. Only VMs running the REST service have application access to the SQL database (RNF007).
- **Outbound firewall.** Filters internet connections from the engines to approved AI providers. A private link or site-to-site VPN is also an option when the provider supports it (RNF007).
- **Speech-to-text (STT).** Converts the caller’s speech to text. TLS protects audio and transcripts in transit over WSS or HTTPS, depending on the provider (RF001, RNF007).
- **Large language model (LLM).** Interprets requests in the context of the conversation and generates the response. Requests and responses travel over HTTPS with TLS encryption (RF001, RNF007).
- **Text-to-speech (TTS).** Converts response text to audio. TLS protects the text and generated audio in transit over HTTPS or WSS, depending on the provider (RF001, RNF007).

### Class diagram

The component view establishes where the MAUDE engine sits and what it owns. Within the engine, several classes work together to carry out those responsibilities. Some represent entities used during a call, such as sessions and agents. Others provide internal services or define the interfaces to external services.

The next diagram shows the subset of engine classes involved when a caller speaks with a specialist voice agent. The example is appointment scheduling.

The agent conducts the conversation in natural language and offers available times. Deterministic execution rules specify which information to verify, what must be true before a booking can proceed, and when the agent can confirm it. Through a standard MCP interface, the agent checks availability in the organization’s calendar and books the time the caller selects.

The same arrangement applies to other business workflows. Each reuses the session classes and voice pipeline with its own specialist agent, dialogue rules, and MCP tools.

### Core classes

SIP call, voice session, and appointment scheduling through MCP

![Core engine classes for a SIP call, voice session, and appointment booking through MCP.](https://neurodiffusion.ai/editorial/full/maude-03-fig-03-en.webp)

Core engine classes for a SIP call, voice session, and appointment booking through MCP.

### Supporting service classes

Beyond the classes used to book an appointment, the engine relies on services shared across workflows. They prepare resources before calls arrive, manage configuration, and make it possible to follow what happens during execution.

- **TracingManager and SessionTrace: Call tracing.** TracingManager creates a trace for each session. SessionTrace records runtime events and errors so the team can reconstruct a call and diagnose an incident (RNF008).
- **SessionMetrics: Voice responsiveness.** Collects call-level measurements, including the time from the end of the caller’s turn to the start of audio output from the engine. These measurements support service-level monitoring (RNF005).
- **ResourcePoolManager: Prewarmed resources.** Keeps pools of STT, LLM, and TTS resources ready for use, assigns them to sessions, and monitors pool health. A session can acquire a resource without waiting for it to initialize (RNF003, RNF008).
- **TenantApplication and TenantServiceClient: Per-company configuration.** The client retrieves configuration from the REST service. The engine applies a new version to subsequent calls. Calls in progress keep the version they started with (RF003, RNF006).
- **SpeechToTextFactory, LLMFactory, and TextToSpeechFactory: AI provider selection.** Each factory instantiates the implementation named in the configuration, allowing the engine to use a different provider for each of the three functions (RNF009).
- **AdminAuth and Principal: Administrative access.** These classes identify the administrator and restrict operations to the companies that administrator is authorized to manage (RNF007).

The deployment view covers call distribution across VMs, failover between sites, and container portability (RNF004, RNF006, RNF010).

## Sequence diagrams

The preceding views show components, classes, responsibilities, and relationships. To understand how a voice agent handles a phone request, we also need to see them work together over time. Orchestration determines who acts at each step, what information is exchanged, and when the result of an operation allows the workflow to move forward.

The next two diagrams show this in practice. The first follows an appointment from the arrival of the call to confirmation of the chosen time. The second shows the same workflow when a representative needs to take over. Both use exchanges common to many service workflows. The coordination pattern stays the same while the dialogue and business tools change with the request.

### Booking an appointment

The sequence diagram shows how the classes above work together during a SIP call (RF001, RF004). For readability, some participants represent several classes, and the callouts summarize intermediate exchanges.

The agent helps the caller choose a time, then asks the organization’s calendar service to book it through MCP (RF002, RF004). The agent confirms the appointment out loud after the tool reports success (RNF001).

Other workflows can use the same sequence. They reuse the session and voice pipeline with the specialist agent’s dialogue and the MCP tools appropriate to the task (RF003, RF004).

![Appointment booking sequence, from call arrival to spoken confirmation.](https://neurodiffusion.ai/editorial/full/maude-03-fig-04-en.webp)

Appointment booking sequence, from call arrival to spoken confirmation.

### Sequence diagram: Handoff to a representative

This version of the scheduling scenario shows what happens when the voice agent cannot complete the booking. MAUDE tells the caller that a representative will take over. The SIP front end then transfers the call automatically (RF006).

In the target design, an MCP tool sends the call context to the representative’s CRM. The representative sees the reason for the call, the requested time, the current state of the booking, and the actions already taken. They can resume at that point and complete the necessary check or intervention (RNF002).

![Scheduling workflow with a handoff to a human representative.](https://neurodiffusion.ai/editorial/full/maude-03-fig-05-en.webp)

Scheduling workflow with a handoff to a human representative.

## Deterministic workflow execution (RNF001)

Another major requirement is for MAUDE’s agents to execute complex processes consistently, reliably, and without errors. The system combines the LLM’s conversational capabilities with explicit rules that determine which checks to run, their order, and the conditions for moving forward.

The scheduling example shows how the responsibilities fit together. The LLM interprets answers and asks questions. Workflow rules verify that the requested service has been identified and that the caller’s name and phone number have been confirmed. If the workflow collects an email address, it must confirm the address or record that the caller declined. A misheard name or an ambiguous digit sends the conversation back to the relevant check.

Once the information is verified, the agent checks the calendar, offers available times, and asks the caller to confirm the date and time they chose. The workflow verifies authorization before requesting the booking through MCP (RF004). When it writes the reservation, the scheduling service checks availability again. If someone else has taken the slot, the agent offers another time.

The agent confirms the appointment once the service reports a successful booking. If the outcome is unclear, the workflow checks the booking status before retrying or hands the case to a representative (RNF002).

![Deterministic scheduling workflow, including validation, retries, and escalation.](https://neurodiffusion.ai/editorial/full/maude-03-fig-06-en.webp)

Deterministic scheduling workflow, including validation, retries, and escalation.

Each diamond in the diagram marks a condition that must be checked before the workflow can advance. The side branches show what happens when a check fails.

### Agent specialization

Explicit rules make agents more reliable on complex workflows. Putting every check in a single prompt would require the model to find the applicable instruction again on every turn as information accumulates. It could miss a check. Specialization also makes the agents more robust. Each specialist receives a context focused on one job, with the instructions, data, and tools it needs (RF003). The goal is for the same workflow state and the same confirmed business data to produce the same execution decision regardless of the caller’s wording.

## Horizontal scaling and high availability

For a large enterprise, the quality of each phone interaction matters. Maintaining that quality as call volume grows matters just as much. A sudden burst of calls can hit the entry points in seconds. Longer conversations tie up resources for longer and increase concurrency. Capacity planning therefore needs two inputs: the arrival rate of new calls and the number of conversations in progress. [ITU-T E.600: Terms and definitions of traffic engineering](https://www.itu.int/rec/T-REC-E.600)

On the engine side, we add capacity by adding VMs. The system distributes new calls among instances ready to handle them. Adding instances increases the number of conversations the engine can support in parallel (RNF004).

In our internal load test, we ran 50 concurrent phone conversation sessions on a single MAUDE engine instance with STT, LLM, and TTS services. The VM was an Azure Standard D4s v4 running Ubuntu 24.04, with 4 vCPUs and 16 GiB of memory. When we deliberately blocked the LLM for one session, the other sessions continued responding.

AI service capacity must be sized separately. STT needs enough simultaneous transcription streams. For the LLM, both request volume and the amount of text processed matter. For TTS, check the synthesis throughput available for the selected voices and regions. If the standard offering falls short, the enterprise can arrange higher quotas or reserve capacity where the provider offers it.

Provider selection also takes service commitments into account. For each service, check the availability the SLA covers, the applicable region and service tier, and any contractual performance guarantees or incident response times. Availability and capacity at peak load are separate selection criteria. Provider independence lets the enterprise qualify a backup region or provider for each critical function, with enough capacity and the required service quality and data location (RNF005, RNF006, RNF009). [ISO/IEC 19086-1: Cloud SLA framework](https://www.iso.org/standard/67545.html) · [ISO/IEC 19086-2: Metric model](https://www.iso.org/standard/67546.html)

Load tests exercise the whole chain, including what happens as a provider approaches its limit or a site goes offline. They measure the share of calls handled, time to the first response, and delays between turns, paying particular attention to the slowest calls. They also verify that established conversations continue normally during a capacity change.

The diagram shows engine capacity distributed across two sites. If one goes offline, the other needs enough ready VMs for new calls and access to AI services that can absorb the redirected traffic (RNF006).

![Two-site deployment with redundant SIP entry points, engine pools, and database replication.](https://neurodiffusion.ai/editorial/full/maude-03-fig-07-en.webp)

Two-site deployment with redundant SIP entry points, engine pools, and database replication.

## High availability and blue/green deployment

Service levels depend on the company’s industry and the job it assigns to its voice agents. A caller experiences the entire workflow, from pickup to resolution or handoff to a representative. That experience also depends on telephony, AI providers, and business applications. The measures discussed here focus on system availability and the ability to keep answering calls during a failure or an update.

The deployment design distributes the system’s container images across VMs at multiple sites. If a site goes offline, new calls can be routed to a working site. During a blue/green update, new calls go to the validated release while calls in progress finish on the previous version.

Each site also has a redundant REST endpoint. The replicated SQL database can resume writes at the backup site once a new primary has been elected. These choices support the design goal of 100% availability, 24/7, assessed from the caller’s perspective from admission to the first spoken response (RNF005, RNF006).

The design goal is to keep call answering available 100% of the time (RNF005). A contractual SLA also needs a measurement window and a definition of a successfully handled call. One possible measure is the share of eligible calls that receive an initial spoken response within the agreed time. The interruption rate for established calls is measured separately.

**Multisite SIP routing keeps new calls coming in (RNF004, RNF006).** The call center’s SIP trunk has two destinations, one per site, each served by redundant SIP front ends. Destinations can be configured directly with the carrier or published as DNS SRV records if the trunk supports them. SIP OPTIONS probes verify that the front ends respond. Admission control also checks that the site has ready engines and enough capacity for a new call. If a site goes offline, new attempts go to the other site, which needs enough spare capacity. An abrupt site failure can interrupt an established call. Resuming it midconversation would also require recovery of SIP state, the media stream, and the voice session.

**Blue/green deployment protects active calls during updates (RNF006).** Each engine VM has two deployment slots, blue and green, behind a stable address. A local proxy directs new admissions to the active instance. The controller starts the candidate release, verifies its identity and configuration, and checks that its voice resources are ready. It then switches the proxy route and verifies that traffic reaches the intended release. Existing calls and their follow-up exchanges stay on the outgoing instance until they finish draining. A rollback sends new admissions to the previous release once it is ready.

![Site-level view of SIP routing, engine VMs, and blue/green deployment.](https://neurodiffusion.ai/editorial/full/maude-03-fig-08-en.webp)

Site-level view of SIP routing, engine VMs, and blue/green deployment.

Each site uses its own REST endpoint. In the target architecture, that endpoint distributes requests across two ready REST VMs, each using blue/green deployment. The team can update one VM at a time and retain another path if an entire VM fails. The administration application uses a single URL, with an active instance at site A and a standby at site B. After failover, the application uses the REST service at the site where it is now running.

The SQL database has a single primary for writes. REST services at both sites use the elected primary, and its data is replicated to the other site. A quorum with a witness in a separate failure domain arbitrates failover. The old primary must be fenced off before the replacement can accept writes. The choice between synchronous and asynchronous replication depends on intersite latency, the amount of data loss the company can tolerate (recovery point objective, RPO), and the target recovery time (RTO). Tests should cover loss of a VM, loss of a site, and loss of the intersite link, measuring the outcome from the caller’s perspective.

## MAUDE availability with two independent internet connections

For a mission-critical call center, two independent internet connections bring MAUDE’s estimated availability to **99.806% at a single site** and **99.964% across two sites**. In the multisite configuration, that is about 15 minutes of equivalent downtime over 30 days, down from 37 minutes with one connection. The measure follows a new call from the call center to MAUDE’s first spoken response that addresses the caller’s request.

![Dual internet access. Single site: 99.806%, about 1 hr 24 min over 30 days. Multisite: 99.964%, about 15 min 25 sec.](https://neurodiffusion.ai/editorial/full/maude-03-fig-09-en.webp)

Dual internet access. Single site: 99.806%, about 1 hr 24 min over 30 days. Multisite: 99.964%, about 15 min 25 sec.

Multiple engine instances keep MAUDE answering new calls if one instance goes offline. During a blue/green update, new calls go to the new release while conversations in progress finish on the previous one. In a multisite deployment, a second site can take new calls if the first fails. An abrupt outage can still interrupt conversations already established at the affected site. Continuity for those calls is measured separately.

The architecture also provides for a backup provider for each AI function: speech recognition (STT), the language model (LLM), and speech synthesis (TTS). This reduces the risk of interruption when the backup provider is reachable, can absorb the load, and can respond within the time the conversation allows.

**Why give the call center two internet connections?** In this scenario, calls reach MAUDE through the center’s own connection. A single outage could therefore cut the center off from both hosting sites. A mission-critical center can use two carriers whose circuits enter the building along separate paths and connect to different points of presence. Confirm the physical routes with the carriers. Two fiber circuits can share the same conduit. Each link needs to carry the full peak voice load, with redundant routers and backup power. A failover test under load verifies that new callers actually get an answer. [UK government guidance on telecoms resilience](https://www.gov.uk/guidance/telecoms-resilience)

The calculation assumes 99.95% availability for each link, independent failures, and successful failover within the required time in 99% of cases when the backup link is available. Over 30 days, a single link accounts for 21.6 minutes of equivalent downtime. With the backup, the center’s access links contribute about 14 seconds. Across the full multisite service, estimated downtime drops from about 37 minutes to 15.

**What determines end-to-end availability?** With redundancy in the engines, sites, and call center connections, the hosting environment and the reliability of the remaining network paths still matter. In the multisite model, three shared dependencies account for nearly 13 of the 15 minutes: SIP call routing, shared internet transit, and the shared technical services needed to start a call. The three AI functions and their backups together account for about 1.4 minutes. Hosting, local engines, their connections, and intersite failover account for about 0.8 minute.

When selecting a provider, consider its published SLA, the location of its service region, and the network path from each MAUDE site. A nearby, well-connected region can reduce latency and the number of intermediate networks. For a backup provider, verify path diversity as well. Two AI providers can both be up while neither is reachable from MAUDE because both routes cross the same failed network. [RIPE Atlas: Path divergence](https://atlas.ripe.net/docs/tools-and-code/path-divergence/)

**What target belongs in the SLA?** ISO/IEC 19086 calls the availability target a service-level objective (SLO). The industry term “three nines” refers to 99.9%, an initial monthly target for a multisite MAUDE deployment. With the two independent connections described here, the model supports considering a 99.95% target, equivalent to 21.6 minutes of downtime over 30 days. Estimated downtime of 15.4 minutes leaves roughly six minutes of margin. Production measurements should validate that margin before the target becomes a contractual SLA commitment. [ISO/IEC 19086-1](https://www.iso.org/standard/67545.html) · [Google SRE: Service level objectives](https://sre.google/sre-book/service-level-objectives/)

## Security and data protection

Security is a core architecture requirement. It is especially important in regulated environments, where access to customer records and other sensitive data must be tightly controlled.

MAUDE is designed around **defense in depth**. A single call can contain personal information and trigger a transaction in an enterprise system. The architecture therefore calls for complementary controls to protect the confidentiality of the conversation, the integrity of transactions, and service continuity. For example, when a caller asks to change a record, the workflow requires an identity check. The voice agent then passes the request to the business service, which checks authorization for that specific record before making the change. [Canadian Centre for Cyber Security: Careful adoption of agentic AI](https://www.cyber.gc.ca/en/guidance/careful-adoption-agentic-ai)

These protections extend to the AI providers involved in the conversation. The enterprise needs to know what data each provider receives, where it is processed, who can access it, and how long it is kept. In regulated environments, the enterprise must also be able to demonstrate how it controls access to customer records. [NIST: Generative AI Profile, GOVERN 6.1](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf#page=24)

### Provider selection and data location

MAUDE was designed from the start to let the enterprise choose its transcription, language model, and synthesis providers independently (RNF009). For each service, the enterprise can assess processing and storage regions, subcontractors, data access terms, and availability commitments. For shared infrastructure, it verifies how the provider isolates each customer’s access and data. Depending on the sensitivity of the conversations, the enterprise may choose a dedicated instance, a private endpoint, or a VPN where the provider supports it. [NIST: Generative AI Profile](https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence)

Contracts should specify retention periods, deletion procedures, incident notification deadlines, and a prohibition on reusing call data to train models. The enterprise also verifies that audit evidence, such as ISO/IEC 27001 certification or a SOC 2 Type II report, covers the services and regions it intends to use. In Québec, a business subject to the province’s private-sector privacy law must, among other obligations, conduct a privacy impact assessment before communicating personal information outside Québec and govern that communication through a written agreement. [ISO/IEC 27001](https://www.iso.org/standard/27001) · [AICPA: SOC reporting](https://www.aicpa-cima.com/resources/landing/system-and-organization-controls-soc-suite-of-services/) · [Québec Commission d’accès à l’information (in French)](https://www.cai.gouv.qc.ca/protection-renseignements-personnels/information-entreprises-privees/utilisation-communication-renseignements-personnels)

### System security controls

- **Verify the caller’s identity.** Caller ID can be spoofed and a voice can be imitated. Before disclosing sensitive information or changing a record, the workflow requires verification proportionate to the risk, such as confirmation through the customer’s authenticated account. A representative can take over if verification cannot be completed (RNF007, RNF002). [CRTC: Caller ID spoofing](https://crtc.gc.ca/eng/phone/telemarketing/identit.htm) · [NIST: Digital identity guidelines](https://pages.nist.gov/800-63-4/sp800-63b.html)
- **Control what the agent can do in the CRM.** The LLM can request an operation through MCP. The business service checks authorization on the server for the company and record in question, validates the parameters, and enforces business rules. Caller speech, CRM notes, and tool results are treated as data that may contain misleading instructions. A high-impact action may require human approval (RF004, RNF001, RNF002, RNF007). [OWASP: Prompt injection](https://genai.owasp.org/llmrisk/llm01-prompt-injection/) · [OWASP: Excessive agency](https://genai.owasp.org/llmrisk/llm062025-excessive-agency/)
- **Control access and secure the APIs.** Administrative access requires multifactor authentication. Services have distinct identities and only the permissions their roles require. REST and MCP APIs verify the calling service’s identity, the token’s validity, and the permissions required for each operation. Private network segments, outbound connection filtering, and rate limits provide additional controls (RNF007). [NIST: Zero trust architecture](https://csrc.nist.gov/pubs/sp/800/207/final) · [IETF: OAuth 2.0 security best practices](https://www.rfc-editor.org/rfc/rfc9700.html) · [MCP: Security best practices](https://modelcontextprotocol.io/specification/latest/basic/security_best_practices)
- **Encrypt data in transit and at rest.** The target telephony connection uses SIP over TLS for signaling and SRTP for audio. Connections to AI providers and business services use encrypted transports, including HTTPS and WSS. Encryption at rest covers databases and any recordings, transcripts, logs, and backups that are retained. Keys and secrets are managed separately with restricted access and rotation procedures (RNF007). [IETF: TLS](https://www.rfc-editor.org/rfc/rfc8446) · [IETF: SRTP](https://www.rfc-editor.org/rfc/rfc3711) · [Canadian Centre for Cyber Security: AI security actions](https://www.cyber.gc.ca/en/guidance/top-10-artificial-intelligence-security-actions-primer-itsap10049)
- **Minimize data and define retention.** Each provider receives the data it needs for its function. STT receives the audio to transcribe. The LLM receives relevant dialogue and CRM fields. TTS receives the text to be spoken. If calls are recorded, the enterprise defines the purpose, retention period, and applicable notice and consent requirements (RNF007). [Office of the Privacy Commissioner of Canada: Recording customer calls](https://www.priv.gc.ca/en/privacy-topics/surveillance/02_05_d_14/)
- **Log activity, monitor operations, and plan for continuity.** For a sensitive operation, the trace links the call to the agent, tool, authorization decision, and outcome. Logs are protected against tampering and avoid collecting unnecessary personal information. Monitoring helps identify unusual access or actions. During an incident, operators must be able to suspend a tool, revoke its access, and route the caller to a representative. Failover and restoration procedures must be tested before the enterprise deployment goes live (RNF005, RNF006, RNF008). [Canadian Centre for Cyber Security: Oversight of AI agents](https://www.cyber.gc.ca/en/guidance/careful-adoption-agentic-ai) · [NIST: Incident response](https://csrc.nist.gov/pubs/sp/800/61/r3/final)

For example, if a caller asks to change the address on file, the agent collects the request and the workflow triggers the required identity check. The business service verifies permissions on the record and makes the change. The agent confirms the new address only after the CRM reports success.

These controls are deployment requirements. Their implementation must be verified in the chosen environment with the actual providers and integrations.

These measures form the system’s security foundation. The design also isolates concurrent conversations within a single instance. Each call has its own context, history, and processing state. Information collected during a call and the results of CRM operations belong to that session. This helps protect each customer’s privacy while the same instance handles multiple calls in parallel.

Finally, MAUDE supports multitenant deployments. For large enterprises, we recommend dedicated instances hosted in dedicated, secured environments. That configuration strengthens isolation of the company’s data and resources and lets it apply its own policies across the deployment to meet its operational and regulatory needs.

[Read the article on LinkedIn](https://www.linkedin.com/pulse/enterprise-ai-voice-agent-architecture-joseph-raulet-mffzc/)
