Add a SIP trunk
Connect 3CX to your phone line provider.

| What you need | Affects |
|---|---|
| Admin access to the 3CX Admin Console, and the SIP details from your provider (trunk number, username, password and server) | All outside calls |
1. Add the trunk
- Open Voice & ChatIn the Admin Console, open Voice & Chat and click Add Trunk.
- Choose your providerSelect your country, then your provider. If it isn't listed, choose Generic SIP Trunk.
- Enter the main numberEnter the trunk's main phone number.
- Enter the loginType the username (authentication ID) and password exactly as your provider gave them.
- SaveClick Save. The trunk should turn green on the dashboard within a minute.
2. Add your numbers
- List your DIDsOpen the trunk and add each phone number (DID) on the account, so 3CX knows which numbers it can receive.
- Route the callsSet where calls to each number go. See "Route incoming calls".
3. Test it
Call your main number from a mobile, then make an outside call from a desk phone to check both directions work.
Troubleshooting
| Problem | Likely cause and fix |
|---|---|
| The trunk stays red | Re-check the username and password, then confirm with your provider that the account is active. |
| Incoming calls are rejected | The number isn't listed as a DID on the trunk, or it's in a different format. Add it as your provider sends it. |
| Outside calls fail | Check an outbound rule uses this trunk. |
Some providers need extra settings, such as a registrar or outbound proxy. Use their 3CX setup guide if they have one.