Connect FreePBX
to Google Gemini

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

FreePBX

SIP Provider

Open-source PBX platform. Connect SIP4AI as an extension or trunk.

Region: Self-Hosted

Google Gemini

AI Provider

Google's multimodal AI with live voice capabilities and strong reasoning.

Gemini 2.0 Flash Multimodal Live API Google Integration

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 FreePBX

Add SIP4AI as a PJSIP extension or trunk. Configure inbound routes to direct calls.

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

Configure Google Gemini

Requires Google AI API key or Google Cloud credentials.

# Set Google Gemini API key
export GOOGLE_API_KEY=your_api_key
4

Start SIP4AI

Run SIP4AI with your FreePBX and Google Gemini configuration.

# Start SIP4AI with gemini provider
sip4ai --provider gemini

# SIP4AI will register with FreePBX and wait for calls
INFO Registering with SIP server...
INFO Connected to Google Gemini API
INFO Ready to handle calls

Ready to connect
FreePBX to Google Gemini?

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

Other FreePBX integrations

Other Google Gemini integrations