SIP Trunking in India for AI Voice Calls
Jaseem Abbas
- Published

SIP trunking is how a phone provider hands calls to your software over the internet, and in India it is one of the ways an AI voice agent connects to real phone numbers. A SIP trunk is a link that carries many calls between a telecom provider and your phone system, one call per channel. This guide is about SIP trunking for AI calls in India: who can sell a trunk, how a call reaches the agent, which codec carries the voice, how many channels you need, and what to ask a provider before you connect.
A made-up example makes it concrete. Meera runs the support line for a home-loan lender in Pune. Her team has two business numbers with a provider, carried on a SIP trunk of 40 channels. She wants an AI agent to answer the EMI-date calls. Her questions are the ones in this post. Will the agent get the calls the trunk already carries? Which codec? How many agents can talk at once? Do her numbers move? Meera, the lender and the figures are made up for this example.
What is SIP trunking for an AI voice agent?
SIP trunking, for an AI voice agent, is the link that brings phone calls to the agent and takes the agent's calls out to the phone network. SIP is the Session Initiation Protocol. The IETF's RFC 3261 defines it as "an application-layer control (signaling) protocol for creating, modifying, and terminating sessions", and says the sessions include internet telephone calls (IETF RFC 3261, read 16 November 2026).
An AI agent does not change what a trunk is. It becomes one more endpoint on it, like a desk phone or a call-centre seat. Our entries on SIP trunks and VoIP cover the basic terms, and our comparison of PRI and SIP trunk covers the choice against an older line. This post does not repeat them. It is about the parts that matter once the thing on the other end is an AI agent.
Who can sell a SIP trunk in India?
A provider that holds the right authorisation from the Department of Telecommunications (DoT). The DoT's Unified Licence agreement, in its Access Service chapter, says the licensee "can also provide Internet Telephony", and that "while providing Internet Telephony service, the Licensee may interconnect Internet Telephony network with PSTN/PLMN/GMPCS network" (DoT Unified Licence, version dated 31.03.2023, Chapter VIII, Access Service, para 2.1(a)(i), read 16 November 2026). PSTN is the public phone network.
The same document draws a line for the Internet Service authorisation. Its chapter says an Internet Service licensee may provide internet telephony through the public internet, but only between computers or approved devices, and it prohibits voice communication to and from a telephone connected to the public phone network and the use of E.164 numbers (Chapter IX, Internet Service). E.164 is the standard format of phone numbers, like +91 20 1234 5678.
What that means for you, in plain words:
- A company that connects internet calls to Indian phone numbers needs the authorisation that allows it. Not every company that sells "VoIP" does.
- The authorisation is held for service areas. Ask the provider which areas and which service it covers.
- Rules change. DoT publishes the current text, so read the version in force on the day you sign.
This is a reading of the licence text, not legal advice. Your provider is responsible for its own licence, and you should confirm any setup with them and with your own legal team. For the separate rules that apply to call centres, see our guide to the OSP licence for call centres. For the calling rules on business calls, see TRAI's new rules for business calls.
How does a call reach the agent over SIP?
The provider sends a SIP request to your system saying "a call has arrived for this number", your system answers it, and the voice then flows as RTP packets in both directions. Two protocols work together.
- SIP carries the signalling. Who is calling whom, ringing, answering, hanging up. An incoming call arrives as an INVITE request.
- A session description names the voice. SIP messages carry a description of the media in a format called SDP. The two sides trade offers and answers until they agree on a codec and an address for the audio. The IETF's offer/answer model is defined in RFC 3264, and SDP itself in RFC 8866.
- RTP carries the voice. The sound travels as small packets in a separate stream. RFC 3550 defines RTP.
Outbound is the same in reverse. The agent's side sends the INVITE to the provider with the number to dial, the provider rings the person, and when they answer, the voice flows both ways.
Each side has to trust the other. Providers often check who is allowed to send calls, either by the address of your system or by a username and password, and you should ask which your provider uses. Keep those credentials in a secrets store, never in a prompt or a shared document.
Which codec do SIP trunks use for voice in India?
Many phone trunks carry G.711, which is the ITU-T standard for 8-bit voice samples at 8,000 a second. The recommendation is titled "Pulse code modulation (PCM) of voice frequencies" (ITU-T G.711, read 16 November 2026). A codec is the method that turns sound into numbers and back.
G.711 has two flavours. Mu-law is called PCMU, and A-law is called PCMA. The IETF's audio profile says audio data is encoded as eight bits per sample after logarithmic scaling, and that G.711 octets are always sent as 8-bit samples (RFC 3551, section 4.5.14, read 16 November 2026). Both sides must pick the same one in the SDP exchange, so ask your provider which it offers first.
Why this matters for an AI agent:
- The audio is narrowband. At 8,000 samples a second, the sound is clear enough for people but duller than a laptop microphone. Speech recognition and voice detection must work with it. Our guide to Silero VAD on 8 kHz phone audio shows what that means in practice.
- It uses plenty of data. G.711 is not compressed hard, so it needs a stable internet link. A flaky link shows up as choppy audio.
- Other codecs exist. A provider may offer more. Pick by what both ends support and what you can test.
How many channels does an AI voice agent need?
One channel carries one call at a time, so you need as many channels as calls at the same moment. Meera's trunk has 40 channels. If 40 callers and the agent's outbound calls are live together, the 41st call fails to connect.
The right number comes from your busiest hour. Do not size a trunk by your daily total, which hides peaks. Here is a simple way to count:
- List your busiest hour on a typical busy day, for example Monday between 10 and 11 am.
- Count the most calls live at one moment in that hour, inbound and outbound together.
- Add the calls an AI agent will make, such as reminder campaigns, and check when they run.
- Ask your provider how the channels are counted, whether inbound and outbound share them, and how fast you can add more.
An AI agent can change the shape of your load, for example when a reminder campaign starts at 10 am on a Monday. The trunk sets how many calls can be live at once, so plan the channels first and the campaign second.
SIP trunk, cloud telephony or your own PBX: which connection fits?
The connection that fits is the one closest to where your numbers and contracts already sit. All three reach the same agent. They differ in who owns the numbers and who runs the phone system.
Connection: SIP trunk from a provider
- Best when
- You already have a trunk, or want numbers with a licensed provider you choose
- Who holds the numbers
- The provider
Connection: Cloud telephony provider's own connection
- Best when
- Your numbers already sit with Exotel, Plivo, Twilio or similar
- Who holds the numbers
- The cloud provider
Connection: Your own PBX or dialer (Asterisk, VICIdial)
- Best when
- You run a contact centre on your own phone system
- Who holds the numbers
- You, through your trunk
Our entry on DID numbers explains the numbers a trunk carries. Our guide to cloud telephony providers in India goes through the providers one by one, with their own published rules. If you run Asterisk, see how to connect an Asterisk server to an AI voice agent.
What should you ask a SIP trunk provider before connecting an agent?
Ask eight questions and get the answers in writing. They cover the licence, the capacity, the audio and the money.
Ask about: Authorisation
- The question
- Which DoT authorisation do you hold, and for which service areas?
Ask about: Channels
- The question
- How many channels do I get, are inbound and outbound counted together, and how fast can I add more?
Ask about: Codecs
- The question
- Which codecs do you offer, and which do you recommend for a voice agent?
Ask about: Authentication
- The question
- How do you check my system: by address, by username and password, or both?
Ask about: Numbers
- The question
- Which numbers will you route to me, and can I keep them if I leave?
Ask about: Outbound caller ID
- The question
- Which numbers may I show when I call out, and what proof do you need?
Ask about: Billing
- The question
- Is it per channel, per minute or both, and what does the link itself cost?
Ask about: Support
- The question
- Who do I call when audio is choppy, and how do I send you a call example?
How Bananaflow fits
Bananaflow is an AI voice agent platform for Indian businesses. Agents answer and place calls on your own phone numbers: you bring your own numbers, and your carrier bills its call charges to you directly. Bananaflow connects to Twilio, Plivo, Exotel, Vobiz, Telnyx, Vonage and Cloudonix, to your own Asterisk server over ARI, and to VICIdial, for both inbound and outbound calls. A SIP trunk or PBX connects through your own Cloudonix account, or through Asterisk over ARI.
Each number is routed to an agent, so a support number and a reminder number can ring different agents. See Bananaflow telephony for the supported carriers, the Exotel integration if your numbers are there, and the Asterisk integration if you run your own PBX. You can test an agent in the browser, by voice or text, before it takes real calls.
What should you remember about SIP trunking for AI calls?
- A SIP trunk carries calls between a provider and your system. SIP sets them up, and RTP carries the voice.
- In India, ask the provider which DoT authorisation it holds. The Unified Licence text says an Access Service licensee can provide internet telephony and connect it to the public phone network.
- Most trunk voice is G.711, 8-bit at 8,000 samples a second, as PCMU or PCMA.
- One channel is one call. Size for your busiest moment, and count the agent's outbound calls too.
- Pick the connection by where your numbers already are: a SIP trunk, a cloud telephony provider or your own PBX.
- Get the answers to the eight provider questions in writing before you point a number at an agent.
FAQ
Frequently asked questions
What is SIP trunking for an AI voice agent?
SIP trunking is a way to carry phone calls over the internet between a telecom provider and your own software. For an AI voice agent, the trunk is the road the call travels on: the provider sends an incoming call to the agent, and the agent sends outgoing calls back through the provider. The agent itself sits at the end of the trunk like any other phone system.
Who can sell a SIP trunk in India?
A provider that holds the right authorisation from the Department of Telecommunications. The Unified Licence text on the DoT site says an Access Service licensee can provide internet telephony and connect it to the public phone network. Ask any provider which authorisation it holds and for which service areas. This is not legal advice.
Which codec do SIP trunks use for voice?
Many use G.711, the ITU-T codec for 8-bit voice samples at 8,000 a second. It comes in two flavours, mu-law (PCMU) and A-law (PCMA). The IETF's RTP audio profile says both are always sent as 8-bit samples. A trunk can offer other codecs too, so agree on the codec with your provider before you go live.
How many channels does an AI voice agent need?
One channel carries one call at a time, so you need as many channels as calls you expect at the same moment. Count your busiest hour, not your daily total. A trunk with 40 channels can carry 40 calls at once, inbound and outbound together. Ask your provider how channels are counted and how to raise them.
Should I use a SIP trunk or a cloud telephony API?
Use a SIP trunk if you already have a trunk, a PBX or an Asterisk server, or if you want to keep your numbers with your provider. Use a cloud telephony provider's own connection if your numbers already sit there. Both reach the same agent. The right choice follows where your numbers and contracts already are.
Can I bring my own phone numbers to Bananaflow?
Yes. On Bananaflow you bring your own numbers, and your carrier bills its call charges to you directly. Each number rings its own agent. Bananaflow connects to Twilio, Plivo, Exotel, Vobiz, Telnyx, Vonage and Cloudonix, to your own Asterisk server over ARI, and to VICIdial.
What should I ask a SIP trunk provider before connecting an AI agent?
Ask which DoT authorisation it holds, how many channels you get and how they are counted, which codecs it offers, how it authenticates your system, which numbers it will route to you, how outbound caller ID is handled, and how it bills. Get the answers in writing before you point a number at an agent.




