Add AI voice agents to your Twilio phone line using Cartesia. Self-host SIP4AI, configure your credentials, and let AI handle calls in minutes.
Leading cloud communications platform with global reach and extensive documentation.
Ultra-low latency voice AI optimized for real-time conversational applications.
Download and install SIP4AI on your server or local machine.
# Install SIP4AI
curl -sSL https://sip4ai.com/install.sh | bash
Requires Account SID and Auth Token. SIP trunk domain format: `username.pstn.twilio.com`.
# Set Twilio credentials
export SIP_SERVER=twilio.sip-provider.com
export SIP_USERNAME=your_username
export SIP_PASSWORD=your_password
Requires Cartesia API key. Best-in-class latency for voice apps.
# Set Cartesia API key
export CARTESIA_API_KEY=your_api_key
Run SIP4AI with your Twilio and Cartesia configuration.
# Start SIP4AI with cartesia provider
sip4ai --provider cartesia
# SIP4AI will register with Twilio and wait for calls
INFO Registering with SIP server...
INFO Connected to Cartesia API
INFO Ready to handle calls
Get started with SIP4AI today. Free for non-commercial use, affordable plans for businesses.