Plivo
Integrate ElevenLabs conversational AI agents with your Plivo SIP trunks
Before following this guide, consider reading the SIP trunking guide to understand how ElevenLabs supports SIP trunks.
Overview
This guide explains how to connect your Plivo SIP trunks directly to ElevenLabs conversational AI agents. This integration allows you to use your existing Plivo phone numbers and infrastructure while leveraging ElevenLabs’ advanced voice AI capabilities, for both inbound and outbound calls.
How SIP trunking with Plivo works
SIP trunking establishes a direct connection between your Plivo telephony infrastructure and the ElevenLabs platform:
- Inbound calls: Calls from your Plivo SIP trunk are routed to the ElevenLabs platform using our origination URI. You will configure this in your Plivo account.
- Outbound calls: Calls initiated by ElevenLabs are routed to your Plivo SIP trunk using your termination URI, enabling your agents to make outgoing calls.
- Authentication: Connection security for the signaling is maintained through either digest authentication (username/password) or Access Control List (ACL) authentication based on the signaling source IP from Plivo.
- Signaling and Media: The initial call setup (signaling) uses TCP. Once the call is established, the actual audio data (RTP stream) is transmitted over UDP.
Requirements
Before setting up the Plivo SIP trunk integration, ensure you have:
- An active Plivo account with SIP trunking enabled
- Plivo phone numbers that you want to connect to ElevenLabs
- Administrator access to your Plivo account and SIP trunk configuration
- Appropriate firewall settings to allow SIP traffic to and from ElevenLabs and Plivo
Configuring Plivo SIP trunks
This section provides detailed instructions for creating SIP trunks in Plivo before connecting them to ElevenLabs.
Setting up inbound trunks (calls from Plivo to ElevenLabs)
Setting up outbound trunks (calls from ElevenLabs to Plivo)
Create outbound SIP trunk
- Select “Create New Outbound Trunk” and provide a descriptive name for your trunk.
- Under Trunk Authentication, click “Add New Credentials List”.
- Add a username and password that you’ll use to authenticate outbound calls.
- Select “Create Credentials List”. 5. Save your credentials list and select “Create Trunk” to complete your outbound trunk configuration.
Once you’ve set up your Plivo SIP trunk, follow the SIP trunking guide to finish the setup ElevenLabs as well.