● Open Source • Inbound SIP + AI Voice Agent

Give your phone system an AI brain.

AgentSIP connects Large Language Models to real incoming phone calls via SIP. Build voice agents that answer, talk, and act — through Asterisk, FreeSWITCH, FreePBX, or any inbound SIP trunk.

Asterisk FreeSWITCH FreePBX Twilio SIP Telnyx Docker
● INBOUND CALL SIP/2.0 • 00:00
Caller: Hi, I'd like to book an appointment for tomorrow.
AgentSIP: Of course! I have 10:00 AM or 2:30 PM available. Which works for you?
Caller: 10 AM please.
AgentSIP: Done ✅ Booked for tomorrow at 10:00 AM.

Built for real telephony, not just demos

Everything you need to run AI voice agents for inbound calls in production.

Real-time Pipeline

Low-latency streaming STT → LLM → TTS designed for natural, interruptible conversations.

Native SIP / RTP

Register as a SIP endpoint and receive calls from your PBX / inbound SIP trunk. No proprietary system required.

Modular Providers

Swap OpenAI, Deepgram, ElevenLabs, Whisper, and more. Bring your own keys and models.

How it works

Caller
→
PBX / Inbound SIP Trunk
→
AgentSIP
→
🎙️ STT → 🧠 LLM → 🔊 TTS

Incoming SIP/RTP audio is streamed in real-time through your chosen AI providers and back to the caller.

Start in minutes

terminal
git clone https://github.com/fitraditya/agentsip.git
cd agentsip
cp .env.example .env   # add your API keys
docker compose up

# AgentSIP is now ready to receive inbound SIP calls!

*Update this snippet to match the exact setup from your README.

Use Cases

AI Receptionist

Answer inbound calls 24/7, route callers, take messages, and answer common questions automatically.

Smart IVR Replacement

Replace "Press 1 for sales" with natural conversation that understands caller intent.

Appointment Booking

Let callers book, reschedule, or cancel appointments, and get information — just by calling in.

Ready to make your phones intelligent?

Star the project, try it with your own PBX, and contribute.

Star AgentSIP on GitHub