How it works
Call flowBolna
- Phone CallPlivoNumber + ApplicationAnswer URLCall audioBolnaVoice agent
- Outbound — Bolna dials out through your connected Plivo account, using a Plivo number as the caller ID. No Plivo console changes are required.
- Inbound — you point a Plivo Application’s Answer URL at Bolna’s inbound URL and link your number to that Application. When someone calls the number, Plivo fetches Bolna’s URL and connects the caller to the assigned Bolna agent.
Prerequisites
Connect Plivo to Bolna
Connect your Plivo account once, then set Plivo as the agent’s telephony provider.Add your Plivo credentials to Bolna
- Console
- API
- In the Bolna dashboard, go to Settings → Integrations.
- Filter by Telephony and select Connect on the Plivo card.
- Enter your Auth ID, Auth Token, and a Plivo phone number in E.164 format.
- Select Connect.
Make outbound calls
Bolna dials out through your connected Plivo account. No Plivo console changes are required.Place a call
Open the agent in Bolna, enter the destination number in E.164 format, and select Call.To trigger calls from your own application, use Bolna’s Make a call endpoint:
Check the call
The response returns an
execution_id. Retrieve it with Bolna’s Get an execution endpoint for the transcript, cost, and telephony data.A call moves through these statuses: queued → ringing → in-progress → call-disconnected → completed. The completed status can take two to three minutes to appear after the call ends.For campaigns across many numbers, see Bolna’s Batch APIs.Receive inbound calls
Route calls from your Plivo number to a Bolna agent by pointing a Plivo Application’s Answer URL at Bolna’s inbound URL.Get the inbound URL from Bolna
- Open your agent in Bolna and copy the inbound URL shown on it.
- Assign the agent to your number under My Numbers.
agent_id and user_id parameters identify the agent that answers. To do this programmatically, see Bolna’s Set inbound agent.Create an application in Plivo
- Console
- API
- In the Plivo console, go to Voice → Applications and select Add New Application.
- Enter a name, for example
bolna-inbound. - Configure these fields, then select Create Application:
Connect your phone number
- In the Plivo console, go to Phone Numbers → Your Numbers and open your number.
- Set its Application to the application you created.
- Select Update Number.
IVR routing. To let callers choose an option before an agent answers, pass an
ivr_config object to the same Set inbound agent endpoint. This supports routing to different agents, language selection, and collecting digits. See Bolna’s IVR for inbound calls.Troubleshooting
Debug logs. For inbound issues, check the Plivo logs first. For outbound issues, check the Bolna execution first. For hangup causes, see Plivo hangup codes.
Related
Plivo Audio Streaming
How Plivo streams call audio to a voice agent.
Application API
Create and manage Plivo Applications programmatically.
Bolna Plivo docs
Bolna’s own Plivo configuration reference.
Bolna API reference
Agents, calls, and inbound setup.