Prerequisites
Make sure you have the following ready before starting:Plivo Account
A Plivo account is required to create trunks. Sign up for Plivo if you don’t have one. A trial account works for initial testing.
Phone Number
You need at least one voice-enabled phone number from Plivo. Purchase a number from the Plivo Console. This will be your DID number for making and receiving calls.
Bolna Account
An active Bolna account with SIP trunking access enabled. If you don’t have access yet, contact enterprise@bolna.ai.
Bolna API Key
Your Bolna API key, which you can find in the Bolna Dashboard. You will need this later when registering the trunk on Bolna.
Bolna’s SIP Server IP Address: Throughout this guide, you will need to use Bolna’s SIP media server IP:
13.200.45.61. Keep this handy as you will enter it in multiple configuration steps.Part 1: Create an Inbound Trunk (Receive Calls)
An inbound trunk handles calls coming in to your Plivo phone number. When someone dials your number, Plivo will forward the call to Bolna’s SIP server, where your AI agent picks up and handles the conversation.Navigate to Inbound Trunks
Log in to the Plivo Console and navigate to Zentrunk > Inbound Trunks in the left sidebar. You can also go directly to console.plivo.com/zentrunk/inbound-trunks.
Create a New Inbound Trunk
Click Create New Inbound Trunk. Enter a descriptive name that helps you identify this trunk later. For example:This name is just for your reference within the Plivo Console.
Add Bolna's SIP URI as the Primary URI
This is the most important step. You are telling Plivo where to send incoming calls. Click Add New URI and fill in the following:
| Field | Value | What it means |
|---|---|---|
| URI Name | Bolna-Primary | A label for this destination |
| SIP URI | sip:13.200.45.61:5060 | Bolna’s SIP server address |
| Priority | 10 (default) | Lower number = higher priority |
| Weight | 10 (default) | Used for load balancing between multiple URIs |
Create the Trunk
Review your configuration and click Create Trunk. Your inbound trunk is now created. Note down the trunk name for the next step.
Connect Your Phone Number to the Inbound Trunk
Now you need to link your Plivo phone number to this trunk so that incoming calls are forwarded to Bolna:
- Navigate to Phone Numbers > Your Numbers
- Click on the phone number you want to use for inbound calls
- In the Number Configuration section, set Application Type to Zentrunk
- In the Trunk dropdown, select the inbound trunk you just created (e.g.,
Bolna-Inbound) - Click Update Number to save
Part 2: Create an Outbound Trunk (Make Calls)
An outbound trunk allows Bolna to place calls out to regular phone numbers through your Plivo account. Your AI agents will use this trunk to initiate conversations with recipients.Navigate to Outbound Trunks
In the Plivo Console, go to Zentrunk > Outbound Trunks.
Create a Credentials List for Authentication
Plivo uses username/password authentication for outbound trunks. Bolna will send these credentials with every outbound call so Plivo can verify the request is legitimate.In the Trunk Authentication section:
- Click Add New Credentials List
- Enter a username, for example:
bolna_trunk - Enter a strong password and write it down immediately
Part 3: Whitelist Bolna’s IP Address
For Plivo to accept SIP traffic from Bolna, you need to whitelist Bolna’s IP address. Navigate to your outbound trunk’s IP Whitelisting or Access Control settings and add:Configuration Summary
Here is a quick reference of everything you configured in this guide:| Setting | Value |
|---|---|
| Inbound Trunk Name | Bolna-Inbound (or your chosen name) |
| Inbound Primary URI | sip:13.200.45.61:5060 |
| Outbound Trunk Name | Bolna-Outbound (or your chosen name) |
| Outbound Credentials | Username + Password (saved securely) |
| Termination SIP Domain | XXXXXXXXXXXXXXXXXXXX.zt.plivo.com (copied from Plivo) |
| Bolna IP to Whitelist | 13.200.45.61 |
| Secure Trunking | Disabled (SRTP not supported) |
| Transport | UDP (default, do not change) |
Plivo-Specific Notes
Codec Configuration
Codec Configuration
Plivo Zentrunk supports G.711 ulaw (u-law) and G.711 alaw (A-law) codecs by default. These are fully compatible with Bolna, so no additional codec configuration is needed on the Plivo side.
Plivo IP Ranges for Bolna Registration
Plivo IP Ranges for Bolna Registration
When you register this trunk on Bolna with IP-based authentication, you will need Plivo’s IP ranges. These are the IP addresses from which Plivo sends SIP traffic to Bolna:You will add these as
ip_identifiers when registering the trunk on Bolna.Indian Phone Numbers (DLT Registration)
Indian Phone Numbers (DLT Registration)
If you are using Indian phone numbers (+91), you must complete the DLT (Distributed Ledger Technology) registration process before your numbers will work for outbound calling. See Plivo’s guide on Indian numbers and Bolna’s regulated phone numbers guide.
Trial Account Limitations
Trial Account Limitations
Trial Plivo accounts have limited functionality. You may only be able to call verified numbers (numbers you have manually added to your Plivo account). Upgrade your Plivo account for full outbound calling capability.
Next Steps
Your Plivo trunks are now configured. Continue with these guides:Register Trunk on Bolna
Register your Plivo trunk with Bolna and add your phone numbers via API
Receive Inbound Calls
Map your phone numbers to AI agents so they answer incoming calls

