Agent Setup · 2 min read
Plivo Integration
Connect Plivo to place and answer calls with your voice agents
Overview#
Plivo connects your voice agents to the phone network. Lemu AI streams call audio through Plivo, so several calls can run in parallel. You can add more than one caller ID, and outbound calls are spread across them.
Prerequisites#
- A Plivo account
- Your Auth ID and Auth Token from the Plivo console
- At least one Plivo phone number to use as a caller ID
Configuration#
Step 1: Get your Plivo credentials#
- Sign in to the Plivo console
- Copy the Auth ID and Auth Token shown on the overview page
- Under Phone Numbers, note the numbers you want calls to come from
Step 2: Configure in Lemu AI#
- Go to Agent Setup → Telephony in the sidebar
- Select Plivo as your provider
- Enter your credentials:
- Auth ID (starts with
MA) - Auth Token
- Outbound caller IDs: one or more of your Plivo numbers, in international format such as
+918035088454
- Auth ID (starts with
- Click Save Plivo configuration
After saving, the Auth Token is shown masked. Leave it masked when you edit other fields and the saved token is kept.
Step 3: Test your configuration#
Open any voice agent and start a phone test call to your own number. See Testing your agent.
Inbound calling setup#
To let an agent answer calls to a Plivo number:
- Find the agent's workflow ID in the address bar when you open it, for example
https://app.lemuai.com/workflow/42has the ID42 - In the Plivo console, go to Voice → Applications and create an application
- Set the Answer URL to
https://app.lemuai.com/api/v1/telephony/inbound/{workflow_id}(for example.../inbound/42) with method POST - Save the application, then attach your Plivo number to it under Phone Numbers
- Call the number to test
More detail and troubleshooting is on Inbound Calling.
Troubleshooting#
- Check the Auth ID and Auth Token were copied exactly
- Make sure the caller ID numbers belong to your Plivo account
- Check your Plivo account balance
- Check the Answer URL contains the right workflow ID and uses POST
- Make sure the number is attached to the application
- Make sure Plivo is the active provider on the Telephony page
Was this page helpful?
Docs