Skip to main content
Connect Plivo SIP trunking to Vapi to enable your voice AI assistants to make and receive phone calls through Plivo’s global voice network.

Prerequisites

RequirementDescription
Plivo AccountSign up with SIP trunking enabled
Phone NumberPurchase a voice-enabled number
Vapi AccountCreate account
India not supported: Indian phone numbers are not compatible with Vapi due to TRAI regulations requiring SIP termination on Indian servers. Vapi does not currently support this requirement.
Optimize for latency: For best call quality, ensure your Vapi deployment is in a region closest to your call traffic. This minimizes audio delay and improves conversation flow.

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.
  1. Go to SIP Trunking → Outbound Trunks → IP Access Control List
  2. Click Create New IP Access Control List
  3. Enter a name (e.g., Vapi-IPs)
  4. Add the following Vapi IP addresses:
    • 44.229.228.186/32
    • 44.238.177.138/32
  5. Click Create

Step 2: Create an Outbound Trunk in Plivo

  1. Go to SIP Trunking → Outbound Trunks
  2. Click Create New Outbound Trunk
  3. Enter a name (e.g., Vapi-Outbound)
  4. Select the IP Access Control List you created
  5. Click Create Trunk
  6. 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

  1. Go to SIP Trunking → Inbound Trunks
  2. Click Create New Inbound Trunk
  3. Enter a name (e.g., Vapi-Inbound)
  4. Click Add New URI and configure:
FieldValue
NameVapi-Primary
SIP URIsip.vapi.ai;transport=udp
  1. Click Create Trunk

Step 2: Connect Your Phone Number

  1. Go to Your Numbers
  2. Click on your phone number
  3. Set Application Type to Zentrunk
  4. Set Trunk to your inbound trunk
  5. 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

IssueSolution
Call doesn’t connectVerify SIP URI uses transport=udp for inbound. Check IP ACL for outbound.
Outbound calls failingVerify Vapi IP addresses are correctly whitelisted in IP ACL.
Debug logs:
  • Inbound issues: Check Plivo logs first
  • Outbound issues: Check Vapi logs first
For error codes, see Plivo hangup codes.