Prerequisites
Part 1: Make Outgoing Calls
Enable Vapi to make outbound calls through Plivo.Step 1: Create IP Access Control List in Plivo
Vapi uses IP-based authentication for outbound calls.- Go to SIP Trunking → Outbound Trunks → IP Access Control List
- Click Create New IP Access Control List
- Enter a name (e.g.,
Vapi-IPs) - Add the following Vapi IP addresses:
44.229.228.186/3244.238.177.138/32
- Click Create
Step 2: Create an Outbound Trunk in Plivo
- Go to SIP Trunking → Outbound Trunks
- Click Create New Outbound Trunk
- Enter a name (e.g.,
Vapi-Outbound) - Select the IP Access Control List you created
- Click Create Trunk
- Copy your Termination SIP Domain (e.g.,
XXXXXXXXXXXX.zt.plivo.com)
Step 3: Configure Vapi
Use the termination domain from Plivo to configure outbound calling in Vapi. See Vapi Plivo integration guide for detailed steps.Part 2: Receive Incoming Calls
Route calls from your Plivo phone number to Vapi.Step 1: Create an Inbound Trunk in Plivo
- Go to SIP Trunking → Inbound Trunks
- Click Create New Inbound Trunk
- Enter a name (e.g.,
Vapi-Inbound) - Click Add New URI and configure:
- Click Create Trunk
Step 2: Connect Your Phone Number
- Go to Your Numbers
- Click on your phone number
- Set Application Type to
Zentrunk - Set Trunk to your inbound trunk
- Click Update Number
Step 3: Configure Vapi
Register your phone number in Vapi to accept incoming calls. See Vapi Plivo integration guide for detailed steps.Troubleshooting
Debug logs:
- Inbound issues: Check Plivo logs first
- Outbound issues: Check Vapi logs first
Related
- Vapi Plivo guide - Vapi’s official Plivo integration guide
- Vapi documentation - Complete Vapi documentation
- SIP Trunking Overview - Plivo SIP trunking documentation