Connect 3CX
to OpenAI

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

3CX

SIP Provider

Popular software PBX with web-based management and mobile apps.

Region: Self-Hosted

OpenAI

AI Provider

GPT-4o powered realtime conversations with advanced reasoning and function calling.

Realtime API Function Calling Server VAD GPT-4o Model

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 3CX

Add SIP4AI as a SIP Trunk or Extension in the 3CX Management Console.

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

Configure OpenAI

Requires OpenAI API key with Realtime API access.

# Set OpenAI API key
export OPENAI_API_KEY=your_api_key
4

Start SIP4AI

Run SIP4AI with your 3CX and OpenAI configuration.

# Start SIP4AI with openai provider
sip4ai --provider openai

# SIP4AI will register with 3CX and wait for calls
INFO Registering with SIP server...
INFO Connected to OpenAI API
INFO Ready to handle calls

Ready to connect
3CX to OpenAI?

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

Other 3CX integrations

Other OpenAI integrations