How to Configure 3CX in IP-to-IP Mode (No Registration Required)
This guide explains how to set up 3CX to connect directly with another SIP system (such as a gateway, another PBX, or SBC) using IP-based routing without authentication. This is often referred to as an IP-to-IP or peer-to-peer SIP trunk.
Step 1: Create a Generic SIP Trunk
- Log in to the 3CX Management Console
- Go to SIP Trunks → Add SIP Trunk
- Set the following options:
- Country:
Generic - Provider:
Generic SIP Trunk - Main Trunk Number: Enter a dummy number (e.g.,
10000)
- Country:
- Click OK
Step 2: Configure the Trunk Settings
General Tab
- Registrar/Server/Gateway Hostname or IP:
Enter the public or private IP address of the remote SIP device (e.g., another PBX or gateway) - Outbound Proxy: Leave blank (unless needed)
- Authentication Type:
SelectDo not require - IP Based - Number of Channels: Set the number of allowed concurrent calls (e.g., 10)
DIDs Tab
- Optionally add any DID numbers (if used in routing logic)
Inbound Parameters Tab
- Make sure the SIP Field containing DID is set to:
Request Line URI: User Part— This is typical for IP-based peer trunks
Outbound Parameters Tab
- Optionally configure the From: Display Name and From: User Part to control caller ID presentation
Step 3: Configure Inbound and Outbound Rules
Inbound Rules
- Go to Inbound Rules
- Click Add DID Rule
- Set the destination for incoming calls — for example, an extension, ring group, or digital receptionist
Outbound Rules
- Go to Outbound Rules
- Click Add
- Define a dialing pattern (e.g.,
X.to match all numbers) - Select the SIP trunk created earlier as the route
🔒 Firewall and IP Trust Settings
- Ensure that the remote IP address is allowed in 3CX:
- Go to Settings → Security → IP Blacklist → Add
- Add the IP of the remote SIP system and mark it as trusted
- If NAT is used, make sure that SIP and RTP ports are properly forwarded
- Both sides must accept calls without registration or authentication
✅ Example Use Cases
- Direct interconnection between two PBX systems
- SIP trunk between 3CX and a VoIP gateway
- Secure SIP trunking in closed environments (e.g., LAN or VPN)
Was this article helpful?