Prerequisites
Part 1: Receive Incoming Calls
Route calls from your Plivo phone number to an ElevenLabs AI agent.Step 1: Create an Inbound Trunk in Plivo
- Go to SIP Trunking → Inbound Trunks
- Click Create New Inbound Trunk
- Enter a name (e.g.,
ElevenLabs-Inbound) - Click Add New URI and configure:
For TLS:
sip.rtc.elevenlabs.io:5061;transport=tls
For India: sip.rtc.in.residency.elevenlabs.io:5060;transport=tcp
- 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 ElevenLabs
Import your Plivo number in ElevenLabs to accept incoming calls. See ElevenLabs SIP Trunking documentation for detailed steps.Part 2: Make Outgoing Calls
Enable ElevenLabs to make outbound calls through Plivo.Step 1: Create an Outbound Trunk in Plivo
- Go to SIP Trunking → Outbound Trunks
- Click Create New Outbound Trunk
- Click Add New Credentials List and create credentials:
- Username:
elevenlabs_trunk(or your preferred username) - Password: Generate a strong password
- Username:
- Enter a trunk name (e.g.,
ElevenLabs-Outbound) - Enable Secure Trunking (recommended)
- Click Create Trunk
- Copy your Termination SIP Domain (e.g.,
XXXXXXXXXXXX.zt.plivo.com)
Step 2: Configure ElevenLabs
Use the credentials and termination domain from Plivo to configure outbound calling in ElevenLabs. See ElevenLabs Plivo integration guide for detailed steps.Troubleshooting
Debug logs:
- Inbound issues: Check Plivo logs first
- Outbound issues: Check ElevenLabs logs first
Related
- ElevenLabs SIP Trunking docs - Detailed ElevenLabs configuration
- ElevenLabs Plivo guide - ElevenLabs’ official Plivo integration guide
- SIP Trunking Overview - Plivo SIP trunking documentation