Bridgeside AI
← All integrations
Plivo integration

Plivo AI agent with an XML application

Create a Plivo XML application whose answer URL points at Bridgeside AI, assign your number to it, and an AI agent answers through a bidirectional audio stream. Transfers dial a number or SIP endpoint.

Requirements
  • A Plivo account with a voice-capable number
  • An XML application with the Answer URL set to POST, and the number assigned to it
  • No firewall changes; everything goes over HTTPS and WSS
How it connects

Plivo in 3 steps

01

Create the campaign

Script, voice, questions, FAQs and the number or SIP address to transfer qualified callers to. Copy the campaign's URL from Transfer, How calls reach this campaign.

02

Create the XML application

In the Plivo console open Voice, XML Applications, and set the Answer URL to https://app.bridgeside.ai/plivo?token=…&agent=<campaign id> with POST. Then assign the number to that application.

03

Call the number

Plivo opens a media stream to Bridgeside AI; the agent greets the caller within a second or two and follows the script. Say transfer me to test the handoff.

The setup

What you set in Plivo

One URL per number; use a different campaign id per number if they need different scripts.

  • ✓Inbound Plivo numbers answered by the agent
  • ✓Transfer to a phone number or SIP address
  • ✓Outbound calls through the Plivo API with the same URL
  • ✓mu-law audio both ways at 8 kHz, with the call kept alive for transfers
  • ✓Call results by signed webhook: outcome, disposition, summary, answers and transcript
XML application, Answer URL (POST):
https://app.bridgeside.ai/plivo?token=<ingress token>&agent=<campaign id>

Returned Plivo XML:
<Response>
  <Stream bidirectional="true" keepCallAlive="true"
    contentType="audio/x-mulaw;rate=8000">wss://app.bridgeside.ai/ws?…</Stream>
</Response>
FAQ

Plivo questions

Can Plivo place outbound calls to the agent?+

Yes. Create the call with the Plivo API and give it the same URL as its answer URL. When the person answers, the agent starts.

Is there Plivo cost on top?+

Plivo bills its own voice minutes and number rental. Bridgeside AI charges the agent minutes from your prepaid credit at your plan's per-minute rate.

Where do call results go?+

Carriers have no lead database, so each campaign can send a signed webhook on call start, transfer, appointment and end with the outcome, disposition, summary, collected answers and transcript.

Put an agent on Plivo this afternoon

60 free minutes, no card, one dialplan entry.