Getting started with FreePBX – Part 1 Setting up a trunk
In this series of articles I will run through how to get started once you get FreePBX setup. You will need to run through the articles in order as some of the later ones will rely on items set up in earlier articles.
For a trunk (required to make calls to the outside world) I will use callwithus. Click here for a free account.
Adding a trunk
The main FreePBX menu is down the left hand side of the screen
This will bring up the “Add a Trunk” page
Now there is a sub-menu on the right and side of the page. Click “Add Trunk” there.
Now click “Add SIP trunk”
Give the trunk a name in the “Trunk Name” box
Enter your callwithus details in the “PEER Details” box as shown below. Obviously using your account number and secret (password)
Enter the register string in the “Register String” box as show below, again using your username:password (they are separated by a colon)
And the click “Submit Changes”
*** PLEASE NOTE – YOU SHOULD NOW BE USING ‘sip.callwithus.com’ RATHER THAN ‘uk.callwithus.com’ ***
Whenever you submit any changes in FreePBX you then have to click on the “Apply Configuration Changes” before the settings will take effect
We can now check that everything looks good with our trunk
Click on the “Tools” tab at the top of the main menu
Click on “Asterisk Info” in the main menu
Now click on “Sip Info” on the right hand menu and we should be able to see our trunk registered
And that should be our trunk setup and ready to use.
In the next article we will setup an extension so we can try making some calls via our trunk