SIP
Twilio SIP Trunking logo

Twilio Elastic SIP Trunking for Bolna AI voice agents

Connect a Twilio Elastic SIP Trunk to a Bolna voice agent so it answers and places calls on your Twilio numbers, with Twilio carrying and billing the minutes.

siptwilioelastic-sipglobaltrunk
At a glance

How Twilio SIP Trunking fits in the stack

Best for

Making and receiving real phone calls at production scale.

Use this layer when

You need numbers, trunking, call routing, or carrier control.

Connects to

STT, LLM, TTS, and workflow actions inside the live call.

Voice Stack

Telephony is the calling layer

Telephony is the calling layer

This provider connects Bolna to the phone network. It controls how calls start, where they route, which numbers you use, and how the audio enters your agent pipeline.

TelephonyPhone Network
→
STTListener
→
LLMReasoning
→
TTSVoice
→
ToolsActions

Last updated

What is Twilio SIP trunking used for in a Bolna voice agent?

Twilio Elastic SIP Trunking connects your Twilio numbers to a Bolna voice agent, so the agent answers calls on those numbers and calls out from them through your Twilio trunk. It is different from the native Twilio integration, which connects your Twilio account to Bolna as a telephony provider. On the Twilio trunk, Termination carries the calls Bolna places and Origination carries calls to your numbers into Bolna.

How do I set up a Twilio SIP trunk with Bolna?

  1. In the Twilio Console, open Elastic SIP Trunking and create a trunk. On the Termination tab, set a Termination SIP URI such as acme.pstn.twilio.com. This is the host Bolna dials.
  2. Under Authentication on the same tab, add a credential list, an IP access control list with 15.252.21.46 and 13.206.230.198, or both.
  3. On the Origination tab, add sip:trunk.bolna.ai:5060 as the origination URI. Then add your Twilio numbers on the trunk's Numbers tab.
  4. In Bolna, under Deploy, open SIP Trunks, click Create trunk and pick Twilio. Enter your Termination SIP URI in Gateway we dial.
  5. On the Carrier IPs step, add all eight signalling ranges Twilio publishes, since a call can arrive from any region. Enter the credential list username and password if you made one.
  6. Add your Twilio numbers in E.164 format, such as +14155550100, and create the trunk. On the Connection tab, turn on Dial with leading plus.
  7. Assign an agent to each number for inbound calls, and set the agent's Telephony Provider to SIP Trunk for outbound calls.

Every screen is covered in the Twilio SIP trunk setup guide in the Bolna docs.

Which Twilio IP ranges do I add in Bolna?

Twilio regionSignalling range
North America Virginia54.172.60.0/30
North America Oregon54.244.51.0/30
Europe Ireland54.171.127.192/30
Europe Frankfurt35.156.191.128/30
Asia Pacific Tokyo54.65.63.192/30
Asia Pacific Singapore54.169.127.128/30
Asia Pacific Sydney54.252.254.64/30
South America Sao Paulo177.71.206.192/30

In the other direction, Twilio needs Bolna's IPs 15.252.21.46 and 13.206.230.198, codecs PCMU and PCMA, and UDP or TCP on port 5060.

What can you build with Twilio SIP trunking and Bolna?

AI agents on numbers you already own. Add existing Twilio numbers to the trunk and have a Bolna agent answer them, without moving the numbers.

Outbound calling at your Twilio rates. Single calls and batches run through your trunk. The caller ID must be a Twilio number on your account or a caller ID you verified in Twilio.

Gateway failover. Add up to 8 gateways on the Bolna trunk. Bolna tries them in priority order and moves to the next one on a timeout, 408, 478 or 5xx.

Carrier headers in the prompt. Bolna passes P-Asserted-Identity, Diversion, Call-ID and custom X- headers from inbound calls, which you can map to prompt variables.

To connect your Twilio account as a telephony provider instead, see Twilio telephony for Bolna. For any other carrier, see the generic SIP trunk page.

FAQ

Twilio SIP Trunking on Bolna: frequently asked questions

The Twilio integration connects your Twilio account to Bolna as a telephony provider. Twilio SIP trunking connects your Twilio numbers over an Elastic SIP Trunk to a Bolna SIP trunk, and the agent's telephony provider is set to SIP Trunk.

Use sip:trunk.bolna.ai:5060. Twilio sends calls over UDP. For TCP, use sip:trunk.bolna.ai:5060;transport=tcp. Do not use transport=tls.

Add Bolna's signalling IPs 15.252.21.46 and 13.206.230.198. Twilio recommends a credential list as well, and checks both if you add both.

Twilio rejects a called number without the leading plus. Turn on Dial with leading plus under Outbound gateways on the trunk's Connection tab in Bolna.

Browse this layer

Keep exploring the voice stack

Browse

Telephony

Telephony providers connect your voice agents to the phone network so they can make and receive real calls. Bolna supports managed integrations with major carriers as well as bring-your-own-carrier via SIP trunking, giving you full control over call routing, number provisioning, and cost.

Browse

Large Language Models

The LLM is the brain of your voice agent. It understands what callers say and decides how to respond. Bolna lets you switch between models like GPT-5.4 mini, Claude and DeepSeek by changing the provider and model in your agent LLM settings, so you can tune for speed, cost or reasoning depth.

Browse

Speech-to-Text

Speech-to-text converts what callers say into text that your LLM can process. Transcription accuracy and latency directly affect how natural a conversation feels. Bolna supports streaming STT providers optimized for telephony audio, including specialized models for Indian languages.

Browse

Text-to-Speech

Text-to-speech turns your agent responses into spoken audio. Voice quality shapes how callers perceive your brand. Flat, robotic speech kills trust while natural, expressive voices build it. Bolna integrates with the fastest TTS providers so responses sound human and arrive without awkward pauses.

Browse

Tools & Workflows

Tools let your voice agents take action during a call, not just talk. Book a calendar slot, look up an order through your own API, push a lead into your CRM, or trigger a multi-step automation in Zapier. These integrations turn voice agents from answering machines into workflow engines.

See where Twilio SIP Trunking fits in your production workflow

Use the demo to walk through provider selection, stack tradeoffs, and the exact workflow you want Bolna to automate.