Connect Asterisk
to ElevenLabs

Add AI voice agents to your Asterisk phone line using ElevenLabs. Self-host SIP4AI, configure your credentials, and let AI handle calls in minutes.

Asterisk

SIP Provider

The original open-source PBX. Maximum flexibility for custom deployments.

Region: Self-Hosted

ElevenLabs

AI Provider

Industry-leading voice synthesis with native telephony audio support.

Low Latency Custom Voices Native μ-law 29 Languages

Setup Guide

1

Install SIP4AI

Download and install SIP4AI on your server or local machine.

# Install SIP4AI
curl -sSL https://sip4ai.com/install.sh | bash
2

Configure Asterisk

Configure a PJSIP endpoint for SIP4AI in pjsip.conf or via ARI.

# Set Asterisk credentials
export SIP_SERVER=asterisk.sip-provider.com
export SIP_USERNAME=your_username
export SIP_PASSWORD=your_password
3

Configure ElevenLabs

Requires ElevenLabs API key. Supports custom voice cloning.

# Set ElevenLabs API key
export ELEVENLABS_API_KEY=your_api_key
4

Start SIP4AI

Run SIP4AI with your Asterisk and ElevenLabs configuration.

# Start SIP4AI with elevenlabs provider
sip4ai --provider elevenlabs

# SIP4AI will register with Asterisk and wait for calls
INFO Registering with SIP server...
INFO Connected to ElevenLabs API
INFO Ready to handle calls

Ready to connect
Asterisk to ElevenLabs?

Get started with SIP4AI today. Free for non-commercial use, affordable plans for businesses.

Other Asterisk integrations

Other ElevenLabs integrations