Prerequisites
Make sure you have the following ready before starting:Plivo account
Phone number
Bolna account
Bolna API key
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.1
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.
2
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.
3
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:
4
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.
5
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.1
Navigate to Outbound Trunks
In the Plivo Console, go to Zentrunk > Outbound Trunks.
2
Create a New Outbound Trunk
Click Create New Outbound Trunk and enter a descriptive name:
3
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
4
Disable Secure Trunking (SRTP)
In the trunk settings, find Secure Trunking and set it to Disabled.
5
Create the Trunk and Copy the Domain
Click Create Trunk. After creation, Plivo will display a Termination SIP Domain that looks like this:Copy this domain and save it. This is the gateway address that Bolna will use to route outbound calls through your Plivo account.
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: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. Add all of them, not only the India ones: during an outage Plivo routes calls through another region, so your calls can arrive from any of these addresses (Plivo’s published list):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.

