Add a SIP trunk
Connect FreePBX to your phone line provider.

| What you need | Affects |
|---|---|
| Admin access to the FreePBX admin panel, and your provider's SIP details | All outside calls |
1. Add the trunk
- Open TrunksGo to Connectivity → Trunks.
- Add a PJSIP trunkClick Add Trunk → Add SIP (chan_pjsip) Trunk.
- General tabEnter a Trunk Name and your Outbound CallerID.
- pjsip Settings tabEnter the Username, Secret, SIP Server and SIP Server Port.
- SaveClick Submit, then the red Apply Config button.
2. Check it
Go to Reports → Asterisk Info and check the trunk shows as registered. Then add an outbound route and inbound route.
Troubleshooting
| Problem | Likely cause and fix |
|---|---|
| Trunk won't register | Re-enter the secret, and check the server and port. |
| Registers but calls fail | Check your outbound route uses this trunk. |