Create a SIP Trunk on Plivo for Vomyra
This guide walks you through creating both an inbound and outbound SIP trunk on Plivo's Zentrunk platform. By the end, your Plivo account will be fully configured to send and receive calls through Vomyra's Voice AI system.
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.
Vomyra Account
An active Vomyra account with SIP trunking access enabled. If you don't have access yet, contact support@vomyra.com.
98.70.52.39. 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 Vomyra'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.
Create a New Inbound Trunk
Click Create New Inbound Trunk. Enter a descriptive name that helps you identify this trunk later:
Vomyra-InboundAdd Vomyra'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 | Notes |
|---|---|---|
| URI Name | Vomyra-Primary | A label for this destination |
| SIP URI | sip:98.70.52.39:5060 | Vomyra'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 Vomyra:
- 1Navigate to Phone Numbers → Your Numbers
- 2Click on the phone number you want to use for inbound calls
- 3In the Number Configuration section, set Application Type to Zentrunk
- 4In the Trunk dropdown, select the inbound trunk you just created (
Vomyra-Inbound) - 5Click Update Number to save
Part 2: Create an Outbound Trunk (Make Calls)
An outbound trunk allows Vomyra 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 New Outbound Trunk
Click Create New Outbound Trunk and enter a descriptive name:
Vomyra-OutboundCreate a Credentials List for Authentication
Plivo uses username/password authentication for outbound trunks. Vomyra will send these credentials with every outbound call so Plivo can verify the request is legitimate. In the Trunk Authentication section:
- 1Click Add New Credentials List
- 2Enter a username, for example:
vomyra_trunk - 3Enter a strong password and write it down immediately
Disable Secure Trunking (SRTP)
In the trunk settings, find Secure Trunking and set it to Disabled.
Create the Trunk and Copy the Domain
Click Create Trunk. After creation, Plivo will display a Termination SIP Domain that looks like this:
XXXXXXXXXXXXXXXXXXXX.zt.plivo.comCopy this domain and save it. This is the gateway address that Vomyra will use to route outbound calls through your Plivo account.
Part 3: Whitelist Vomyra's IP Address
For Plivo to accept SIP traffic from Vomyra, you need to whitelist Vomyra's IP address. Navigate to your outbound trunk's IP Whitelisting or Access Control settings and add:
98.70.52.39This ensures that when Vomyra sends SIP requests to Plivo, they are recognized and accepted.
Configuration Summary
Here is a quick reference of everything you configured in this guide:
| Setting | Value |
|---|---|
| Inbound Trunk Name | Vomyra-Inbound (or your chosen name) |
| Inbound Primary URI | sip:98.70.52.39:5060 |
| Outbound Trunk Name | Vomyra-Outbound (or your chosen name) |
| Outbound Credentials | Username + Password (saved securely) |
| Termination SIP Domain | XXXXXXXXXXXXXXXXXXXX.zt.plivo.com (copied from Plivo) |
| Vomyra IP to Whitelist | 98.70.52.39 |
| Secure Trunking | Disabled (SRTP not supported) |
| Transport | UDP (default, do not change) |
Next Steps
Your Plivo trunks are now configured. Continue with these guides: