LemuAIDocs

Agent Setup · 2 min read

Plivo Integration

Connect Plivo to place and answer calls with your voice agents

Open in ChatGPTOpen in ClaudeMarkdown

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#

  1. Sign in to the Plivo console
  2. Copy the Auth ID and Auth Token shown on the overview page
  3. Under Phone Numbers, note the numbers you want calls to come from

Step 2: Configure in Lemu AI#

  1. Go to Agent Setup → Telephony in the sidebar
  2. Select Plivo as your provider
  3. 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
  4. 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:

  1. Find the agent's workflow ID in the address bar when you open it, for example https://app.lemuai.com/workflow/42 has the ID 42
  2. In the Plivo console, go to Voice → Applications and create an application
  3. Set the Answer URL to https://app.lemuai.com/api/v1/telephony/inbound/{workflow_id} (for example .../inbound/42) with method POST
  4. Save the application, then attach your Plivo number to it under Phone Numbers
  5. Call the number to test

More detail and troubleshooting is on Inbound Calling.

Troubleshooting#