Skip to main content
ElevenLabs Documentation Docs

Search documentation

Type to search this documentation.

On this pageOverview

Plivo

Integrate ElevenLabs Agents with your Plivo SIP trunks

This guide explains how to connect your Plivo SIP trunks directly to ElevenLabs 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.

SIP trunking establishes a direct connection between your Plivo telephony infrastructure and the ElevenLabs platform:

  1. 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.
  2. Outbound calls: Calls initiated by ElevenLabs are routed to your Plivo SIP trunk using your termination URI, enabling your agents to make outgoing calls.
  3. 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.
  4. 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.

Before setting up the Plivo SIP trunk integration, ensure you have:

  1. An active Plivo account with SIP trunking enabled
  2. Plivo phone numbers that you want to connect to ElevenLabs
  3. Administrator access to your Plivo account and SIP trunk configuration
  4. Appropriate firewall settings to allow SIP traffic to and from ElevenLabs and Plivo

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)

Section titled “Setting up inbound trunks (calls from Plivo to ElevenLabs)”
  1. Access Plivo Console

    Sign in to the Plivo Console.

  2. Navigate to Zentrunk Dashboard

    Go to the Zentrunk Dashboard in your Plivo account.

  3. Create inbound SIP trunk

    1. Select “Create New Inbound Trunk” and provide a descriptive name for your trunk.
    2. Under Trunk Authentication, click “Add New URI”.
    3. Enter the ElevenLabs SIP URI: sip.rtc.elevenlabs.io
    4. Select “Create Trunk” to complete your inbound trunk creation.
  4. Assign phone number to trunk

    1. Navigate to the Phone Numbers Dashboard and select the number you want to route to your inbound trunk.
    2. Under Number Configuration, set “Trunk” to your newly created inbound trunk.
    3. Select “Update” to save the configuration.

Setting up outbound trunks (calls from ElevenLabs to Plivo)

Section titled “Setting up outbound trunks (calls from ElevenLabs to Plivo)”
  1. Access Plivo Console

    Sign in to the Plivo Console.

  2. Navigate to Zentrunk Dashboard

    Go to the Zentrunk Dashboard in your Plivo account.

  3. Create outbound SIP trunk

    1. Select “Create New Outbound Trunk” and provide a descriptive name for your trunk.
    2. Under Trunk Authentication, click “Add New Credentials List”.
    3. Add a username and password that you’ll use to authenticate outbound calls.
    4. Select “Create Credentials List”. 5. Save your credentials list and select “Create Trunk” to complete your outbound trunk configuration.
  4. Note your termination URI

    After creating the outbound trunk, note the termination URI (typically in the format sip:yourusername@yourplivotrunk.sip.plivo.com). You’ll need this information when configuring the SIP trunk in ElevenLabs.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu