Case StudyAI Voice AgentLiveKit AgentsFreeSWITCHContact CentreSpanish

Case Study: AI Voice Agent for a Contact Centre

A contact centre in North America wanted an AI voice agent to take on routine calls: answering support questions, calling customers back and booking appointments, in English and Spanish. It had to work with the centre's existing phone platform and business systems, and pass calls to people smoothly when they were needed. CelloIP designed and built the agent, and still maintains it. This is how it works.

Kaushik ParmarFounder & VoIP Architect · 12+ years in telecom and VoIP 10 min read
3
Jobs: inbound, outbound, booking
2
Languages: English and Spanish
3
Systems: CRM, booking, helpdesk
3–6 mo
To first production version

Quick answer

What did CelloIP build in this AI voice agent project?

CelloIP built an AI voice agent for a contact centre in North America. It answers inbound support calls, makes outbound calls and books appointments, in English and Spanish, and hands calls to human agents with the details attached when needed. Calls run through the contact centre's FreeSWITCH platform, which connects over SIP to a voice agent built on LiveKit Agents using hosted speech-to-text, language model and text-to-speech APIs. The agent works with the CRM, the booking system and the helpdesk. It was built in three to six months and CelloIP maintains it.

Project summary

Details
ClientContact centre in North America (name confidential)
ProductAI voice agent for routine calls
Call typesInbound support, outbound calls, appointment booking
LanguagesEnglish and Spanish
TelephonyThe contact centre's FreeSWITCH platform, connected to LiveKit over SIP
Voice AILiveKit Agents with hosted speech-to-text, language model and text-to-speech APIs
IntegrationsCRM, booking system, helpdesk
HandoverTransfer to human agents in FreeSWITCH queues, with context
TimelineFirst production version in three to six months
StatusLive, maintained by CelloIP

Contact centres spend a large share of agent time on calls that follow a pattern: checking a status, booking or changing an appointment, answering a common question, calling a customer back. These calls matter, but they don't need a person every time. The client wanted an AI agent to handle them, so its staff could focus on the calls that do.

The challenge

Adding AI to a working contact centre is harder than building a voice bot from scratch. The agent has to fit into the existing telephony, use real business systems and never leave a caller stuck.

  • Work with the contact centre's existing FreeSWITCH platform, trunks and queues.
  • Handle inbound support, outbound calls and appointment booking.
  • Speak English and Spanish naturally.
  • Look up and update the CRM, book in the booking system and create helpdesk tickets during the call.
  • Respond quickly enough to feel like a conversation, and cope with interruptions.
  • Hand calls to human agents with the details attached, so callers don't repeat themselves.

Architecture

AI voice agent architecture for a North American contact centre: inbound and outbound calls run through the contact centre's FreeSWITCH platform, which connects over SIP to LiveKit; a LiveKit Agents voice agent uses hosted speech-to-text, language model and text-to-speech APIs, looks up and updates the CRM, books appointments, creates helpdesk tickets, and hands calls back to human agents in FreeSWITCH queues with context
The AI agent sits alongside the existing phone platform. FreeSWITCH still handles trunks, queues and human agents.

FreeSWITCH

The contact centre's existing platform: carrier trunks, inbound routing, outbound dialing, queues and human agents.

SIP connection to LiveKit

Calls that the AI handles are passed from FreeSWITCH to LiveKit over SIP, and back again for handover.

LiveKit Agents

The voice agent itself: streams the caller's audio, manages turn-taking and interruptions, and calls tools.

Hosted AI APIs

Speech-to-text turns the caller's words into text, the language model decides what to say and do, and text-to-speech speaks the reply.

Business tools

The agent calls the CRM, the booking system and the helpdesk during the conversation.

Human agents

Calls the AI shouldn't handle return to FreeSWITCH queues, with a summary for the agent.

Keeping FreeSWITCH in charge of the telephony was the key decision. The contact centre kept its numbers, trunks, queues and reporting, and the AI became another participant in the call flow rather than a replacement for it. Our guide to connecting LiveKit with Asterisk and FreeSWITCH explains the SIP set-up.

What the agent handles

Call typeWhat the agent does
Inbound supportAnswers, identifies the caller from the CRM, answers common questions and resolves routine requests
Outbound callsCalls customers back for follow-ups and reminders, placed through FreeSWITCH
Appointment bookingChecks real availability in the booking system and books or changes appointments during the call
TicketsCreates or updates a helpdesk ticket when an issue needs follow-up
HandoverTransfers to a human agent when the caller asks, or when the request is outside its scope

Each job has a clear definition of success and a clear point where the agent stops and hands over. That discipline keeps the agent useful and stops it trying to handle calls it shouldn't.

Working with real systems

CRM

Looks up the caller's record at the start of the call and updates it afterwards, so every call is logged.

Booking system

Reads real-time availability and books, moves or cancels appointments while the caller is on the line.

Helpdesk

Creates or updates tickets for issues that need follow-up, with the call details filled in.

The language model calls these systems through defined tools with checked inputs, not free-form access. The agent can only do what the tools allow, which keeps its actions predictable. Our article on connecting voice agents to business tools covers the pattern.

English and Spanish

Many of the contact centre's callers prefer Spanish. The agent speaks both languages, so those callers get the same service without waiting for a Spanish-speaking agent.

  • Speech recognition and voices tuned for each language.
  • Prompts, wording and confirmations written for each language, not just translated.
  • Names, dates, times and addresses confirmed back to the caller in their language.
  • Testing with real-style calls in English and Spanish before each release.

Handover to human agents

Callers must never feel trapped by an AI. Handover was designed in from the start:

  • Callers can ask for a person at any time.
  • The agent hands over when a request is outside its scope or it can't resolve the call.
  • Calls return to the right FreeSWITCH queue, not a general line.
  • The human agent receives a summary and the caller's details, so the caller doesn't repeat themselves.

Our guide to AI-to-human handover compares the transfer methods in detail.

Making it feel like a conversation

A voice agent that pauses too long, or talks over the caller, feels broken however good its answers are. The agent was tuned for natural conversation:

Streaming

Audio, transcription and speech are streamed, so the agent starts replying as soon as it can.

Turn-taking

LiveKit Agents detects when the caller has finished speaking, rather than waiting for long silences.

Interruptions

If the caller speaks while the agent is talking, the agent stops and listens.

Short replies

Answers are written for the ear: short, clear and one question at a time.

Our voice agent testing and monitoring guide describes how to measure and improve this.

Delivery

The first production version was built in three to six months:

StageWhat was built
1. TelephonySIP connection between FreeSWITCH and LiveKit, call routing to and from the agent
2. Voice agentLiveKit Agents with hosted speech-to-text, language model and text-to-speech
3. IntegrationsCRM, booking system and helpdesk tools
4. Call typesInbound support, outbound calls and appointment booking
5. Languages and handoverSpanish alongside English, handover to FreeSWITCH queues with summaries
6. Launch and supportTesting with real-style calls, go-live, then ongoing maintenance by CelloIP

CelloIP maintains the agent, including updates as AI services improve and tuning based on real calls.

Lessons for anyone adding AI to a contact centre

  • Keep the existing telephony in charge; add AI as a participant, not a replacement.
  • Define each job and its handover point before building.
  • Give the agent tools with checked inputs, not open access to systems.
  • Write for each language; don't just translate prompts.
  • Tune for speed and interruptions; it matters as much as accuracy.
  • Make handover easy and pass the context with it.

Frequently asked questions

What did CelloIP build?

An AI voice agent for a contact centre that handles inbound support calls, outbound calls and appointment booking in English and Spanish. It looks up and updates customer records in the CRM, books appointments in the booking system, creates helpdesk tickets, and hands calls to human agents with context when needed.

Who is the client?

A contact centre in North America. Its name is confidential under our agreement.

How does the AI agent connect to the phone system?

Calls arrive through the contact centre's FreeSWITCH platform, which connects to LiveKit over SIP. The voice agent, built with LiveKit Agents, joins the call, listens, thinks and speaks. When a call needs a person, it goes back to a FreeSWITCH queue for a human agent.

Why LiveKit Agents with FreeSWITCH?

FreeSWITCH was already the contact centre's telephony platform, handling trunks, queues and human agents. LiveKit Agents provides a mature framework for real-time voice AI: streaming audio, turn-taking, interruptions and tool calls. Connecting them over SIP added AI without replacing the phone system.

Which AI models does it use?

Hosted APIs for speech-to-text, the language model and text-to-speech. Using hosted services kept the build fast and the quality high, and the architecture allows providers to be changed later.

How long did it take?

The first production version took three to six months. The agent is live and CelloIP maintains it.

What would a similar AI voice agent cost?

As a guide, a managed-platform MVP for one use case typically costs $8,000–$20,000 over 4–6 weeks, and a custom production agent on a self-hosted framework $25,000–$60,000 over 8–16 weeks. A multi-use-case agent with several integrations and two languages, like this one, is scoped after discovery. Telephony, speech and model usage are separate running costs.

Work with CelloIP

Planning an AI voice agent for your contact centre?

CelloIP builds AI voice agents that work with your existing phone platform and business systems, in the languages your customers speak, with smooth handover to your team. You own the code.