Skip to main content
By the end of this quickstart, you’ll dial a real phone number and an AI agent will answer. You’ll set up the Plivo side completely; on the platform side you only need a basic agent (a starter or template agent is enough).

Prerequisites

India numbers require KYC verification before purchase. See Rent India Numbers. India traffic also has platform requirements; see Calling in India.

Step 1: Buy a Phone Number

  1. Go to Phone Numbers in the Plivo Console
  2. Search for a voice-enabled number in your country and buy it
This is the number callers (including you, in Step 5) will dial to reach your agent.

Step 2: Create an Inbound Trunk

The inbound trunk tells Plivo where to send calls that arrive on your number: your platform’s SIP endpoint.
  1. Go to SIP Trunking → Inbound Trunks
  2. Click Create New Inbound Trunk and enter a name (e.g., my-first-agent)
  3. Click Add New URI and enter your platform’s SIP URI:
  1. Click Create Trunk

Step 3: Connect Your Number to the Trunk

  1. Go to Your Numbers and click your new number
  2. Set Application Type to Zentrunk
  3. Set Trunk to the inbound trunk from Step 2
  4. Click Update Number
Calls to your number now route to your platform over SIP.

Step 4: Point Your Agent at the Number

On your platform, register the Plivo number and attach your agent to it. Each platform does this slightly differently; follow the inbound section of your platform’s docs:

Step 5: Call Your Agent

Dial your Plivo number from your phone. Your agent should answer. That’s the whole loop: PSTN → Plivo → SIP trunk → your platform → your agent.

If the call doesn’t connect


Where Next

Full integration guide

Outbound calling, credentials, and platform-specific configuration for LiveKit, Vapi, ElevenLabs, and Retell

Transfer calls to humans

Hand off live calls from your agent to a human with SIP REFER

Calling in India

Regulatory requirements for India traffic

API reference

Create trunks, credentials, and URIs programmatically