LemuAIDocs

Agent Setup · 4 min read

Inbound Calling

Let your voice agent answer calls to your phone numbers

Open in ChatGPTOpen in ClaudeMarkdown

Overview#

Lemu AI can answer inbound calls with Twilio, Plivo, Cloudonix, Vobiz and Asterisk ARI. When someone calls your configured phone number, your voice agent automatically answers and handles the interaction. The inbound calling configuration in Lemu AI uses the same telephony settings as outbound calling.

Supported Providers for Inbound Calls#

Vonage is supported for outbound calls only. For Exotel inbound calls, contact us at hello@lemuai.com and we will help you route your Exotel number to your agent.

How Inbound Calling Works#

When someone calls your configured phone number:

  1. Call Received: The telephony provider receives the incoming call
  2. Webhook Triggered: The provider sends a webhook to Lemu AI
  3. Agent Activated: Lemu AI activates your configured voice agent workflow
  4. Audio Streaming: Real-time audio streams between caller and agent via WebSocket
  5. Conversation Handled: Your voice agent manages the entire conversation

Configuration in Lemu AI#

Setting up inbound calling requires three simple steps:

Step 1: Configure Telephony Provider#

The telephony configuration for inbound calling is identical to outbound calling. Follow the Configuration section in your provider's documentation page:

Step 2: Get Your Workflow Webhook URL#

  1. Find Your Workflow ID:

    • Navigate to your workflow page (e.g., https://app.lemuai.com/workflow/3)
    • Note the workflow ID from the URL (in this example: 3)
  2. Construct Webhook URL:

    Text
    https://app.lemuai.com/api/v1/telephony/inbound/{workflow_id}

    For example, if your workflow ID is 3:

    Text
    https://app.lemuai.com/api/v1/telephony/inbound/3

Step 3: Configure Provider-Specific Inbound Settings#

Each telephony provider requires additional configuration to route incoming calls to your Lemu AI webhook. Follow the provider-specific inbound setup instructions:

Testing Inbound Calls#

After completing both the Lemu AI configuration and provider-specific setup:

  1. Test Call: Call your configured phone number from another phone
  2. Verify Connection: Ensure your voice agent answers and responds appropriately
  3. Check Logs: Monitor call logs in both Lemu AI and your provider's dashboard
  4. Audio Quality: Verify clear two-way audio communication

Troubleshooting Common Issues#

Best Practices#

  • Single Configuration: Use the same telephony configuration for both inbound and outbound calls
  • Testing: Always test inbound calling after configuration changes
  • Monitoring: Monitor both Lemu AI logs and provider dashboards for call analytics
  • Backup Numbers: Configure multiple phone numbers for redundancy
  • Security: Ensure webhook signature verification is enabled for security

Next Steps#

  1. Choose your telephony provider and complete the basic configuration
  2. Follow the inbound setup steps on your provider's page
  3. Test your inbound calling setup
  4. Configure your voice agent workflow for optimal caller experience

Was this page helpful?