A trunk is our connection to the outside world. We use it to tell FreePBX about any call providers we use for inbound and outbound calls. You can set up as many trunks as you want.
Configuring a trunk with different providers will be similar but can vary in the exact settings used. If you’re unsure how to configure FreePBX with your provider ask them for information about configuring their service for use with Asterisk (and specifically FreePBX). If you still can’t get it to work open a support ticket and we’ll check it out.
Here I’m going to use the Localphone account we configured here
1 – Select Connectivity / Trunks from the main menu
2 – Specify that you will create a SIP trunk
3 – Trunk details
Give your trunk a name
Scroll down to outgoing settings. This is where you will enter the details provided by your ITSP. Exact details you need to provide will vary by provider, but here are some general tips …
4 – Check if your trunk is registered … maybe!
If you entered registration details then you can check if Asterisk registered correctly. You might not need to enter registration details, if not you can skip this step.
Select Reports / Asterisk Info from the main menu
Select registries on the right hand side of the page and you should see that your system has registered with the call provider