Summary:
This article will walk you through adding a PJSIP trunk to your FreePBX system using your Crazytel SIP Trunk credentials. Please follow these steps carefully to ensure a successful setup.
Adding a PJSIP Trunk to FreePBX:
- Access the Trunk Configuration Page
- Log in to your FreePBX installation.
- Navigate to the top menu and select Connectivity > Trunks.
- Click the Add Trunk button and choose Add SIP (chan_pjsip) Trunk from the dropdown list. - Enter Your SIP Trunk Credentials
- In the Username field, enter your Crazytel SIP Trunk username.
- In the Password field, enter your corresponding SIP Trunk password. - Configure Authentication and Registration Settings
- Set Authentication to Outbound. This specifies how FreePBX will authenticate with the SIP trunk.
- Set Registration to Send. This enables FreePBX to register with the SIP trunk. - Define the Trunk's Domain and Port
- In the Domain field, enter the domain associated with your SIP trunk.
- Set the Port to 5060, which is the standard port for SIP communications. - Configure Advanced Settings (Optional)
- Under the Advanced tab, ensure that From Domain is set to the same domain entered in Step 4.
- If required, you can also specify an Outbound Proxy in this section.
Next Steps:
- Outbound Routes:
To complete the setup, configure your Outbound Routes to utilize this newly created trunk. This will ensure that outgoing calls use the Crazytel SIP Trunk. - Inbound Routing for Your DID:
+ If your DID is set to Device in the Crazytel portal, create an Inbound Route for the SIP endpoint username.
+ If your DID is set to Server, create an Inbound Route using the DID in E.164 format (e.g., 61712341234).
By following these steps, you should now have successfully added a PJSIP trunk to your FreePBX system using your Crazytel SIP Trunk credentials. If you encounter any issues, please refer to additional troubleshooting resources or contact support for assistance.