Route Real Indian Phone Calls to Your LiveKit Voice Agent — Boni Voice Connector

Simplify Indian telephony for your LiveKit agent. The Boni Voice connector handles DID, routing, compliance, and CDRs so you focus on AI.

martes, 28 de julio de 2026 • 5 min read • Q2BSTUDIO Team

Guía para desarrolladores: integración SIP y PSTN simplificada

If you have built a voice agent with LiveKit, you know the hard part — speech recognition, language model, speech synthesis, and turn-taking — is already done. The real challenge appears when you try to connect a real Indian phone number to your system. Integrating with the Indian PSTN network involves difficulties in DID provisioning, SIP trunk configuration, TRAI compliance, and CDR logging for billing. All of that burns weeks and is not your core product. That is where Boni Voice offers a managed connector that simplifies that operational layer, letting you link a real Indian business number directly to your LiveKit instance. This article analyzes the problem, what the connector abstracts, how the integration fits together, and why you should care, all from a technical and business perspective.

The core problem is that DID providers in India are enterprise-oriented. Getting a programmable number as a developer — especially at low volume and without a weeks-long KYC process — is nearly impossible. Most do not publish APIs, and those that do are priced for carriers, not startups. Additionally, you need to configure a SIP trunk that bridges the PSTN leg to LiveKit's inbound SIP service, negotiate codecs across network boundaries, and debug audio issues with no observability. On top of that, you have routing logic: dispatch rules to decide which room, which agent, and what to do on failure. Then there is Indian regulatory compliance: TRAI requires specific headers, DND list scrubbing, and caller ID registration. Finally, you need CDR logs, recordings, and transcripts for billing and debugging. All together, this turns a week-long project into an operational nightmare.

Boni Voice's LiveKit connector acts as a managed layer between the Indian PSTN and your LiveKit deployment. It lets you obtain a real Indian DID from its console without carrier-level agreements. The number is a functional business number for inbound voice. When a call arrives on your DID, Boni bridges it to a LiveKit inbound SIP trunk that you configure. The connector handles the PSTN-SIP leg, so you don't directly manage trunk credentials or the DID provider. You then define dispatch rules inside LiveKit to decide which room to create and which agent to wake. The connector passes call metadata (caller number, DID dialed, timestamp) as participant attributes. If your agent is unavailable, you can configure fallback behavior — voicemail, transfer, busy tone — at the connector level, without coding it into every agent.

Another key aspect is logging: CDRs, recordings, and transcripts are available via Boni Voice's API and console, giving you a single source of truth for debugging and billing, separate from what you instrument inside LiveKit. Moreover, the same number and routing logic can extend to WhatsApp calls, since Boni's API is designed with an API-first approach for WhatsApp Calling. This opens the door to multichannel communication with the same infrastructure.

From a technical and business perspective, integrating a voice agent with real Indian numbers allows startups and agencies to offer customer service, telehealth, logistics, or helpline solutions, all on a solid conversational AI foundation. At Q2BSTUDIO, as a software development company specialized in custom software, we have seen how the lack of a clean bridge between PSTN and WebRTC holds back promising projects. That is why solutions like Boni Voice's connector fit perfectly into ecosystems that already use cloud technologies like AWS or Azure to host AI agents, or where cybersecurity is required to protect communications and customer data. Additionally, the ability to log and analyze calls with BI tools like Power BI can provide valuable metrics on agent performance and user satisfaction.

The conceptual integration flow is straightforward: first, provision an Indian number from the Boni Voice console. Then, register an inbound SIP trunk in your LiveKit instance and link it to the number via the connector API. After that, configure a dispatch rule in LiveKit so incoming calls create a room with a prefix and launch your agent. When a customer calls, the call travels from Indian PSTN to Boni, which bridges it to your SIP trunk, LiveKit applies the dispatch rule, a room is created, your agent picks it up, and the conversation begins with ASR/LLM/TTS. On hangup, Boni logs the CDR, recording, and transcript. Your agent code doesn't change; it's the same livekit-agents worker you already have.

The connector also fires webhooks for call lifecycle events (answered, completed, etc.), which you can use to sync with your backend. This facilitates billing reconciliation and debugging. It's important to note that the connector is in pilot phase, with early access, limited number inventory, and APIs that may change before general availability. The Boni team plans to open source the connector, allowing you to inspect the bridging logic, run a self-hosted variant, and contribute dispatch patterns.

Who is this for? Primarily startups building voice products on LiveKit who need Indian numbers without an enterprise agreement. Also for agencies deploying phone agent solutions for clinics, logistics desks, or helplines, who need a repeatable provisioning path without custom SIP integration. And for internal teams at companies already using voice platforms who want to add phone AI capability on the same telephony layer. If your product relies on a hyperscaler telephony stack with international numbers, the connector may be less relevant now, but if your focus is India, it will save you weeks of integration.

At Q2BSTUDIO, we help companies design and implement software solutions that integrate AI, process automation, and cybersecurity, all on AWS or Azure cloud infrastructure. A voice agent connected to the real phone network can be the core of an automated customer service system, a sales assistant, or a technical support service. With Boni Voice's connector, the path to that goal is significantly shortened. If you already have your LiveKit agent running, you just need to provision a number, link it, and test. The connector handles the rest.

In summary, integrating real Indian calls with your LiveKit agent no longer has to be a weeks-long project. Boni Voice provides a managed connector that eliminates the pain of DID provisioning, SIP trunk configuration, routing rules, and regulatory compliance, allowing you to focus on the AI layer of your product. Whether you are building a virtual assistant for a clinic or a customer service system for a logistics startup, this solution brings you one step closer to having truly operational voice agents in India. The pilot is open, documentation is available, and the Boni team is ready to talk. It's time for your voice agent to answer real calls.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.