A great way to test inbound calling with FreePBX/Asterisk is to get a free UK DDI/DID number from ukddi.com and point it at your FreePBX server. You can currently get up to 10 free numbers, based anywhere in the UK.
Now we can make calls to regular telephone number via our trunk we want to setup a DID (Direct Inward Dial) number so that we can receive calls from people dialing a regular phone number.
For this example I’m going to use a US number from IPKall who will provide a (free) US based telephone number. However, they are only able to do this due to a peculiarity in the law in certain states so I wouldn’t rely on the numbers being available in the future. Perfect for testing though!
Singing up with IPKall
First thing you need to do is sign up for a number by visiting their web site – http://www.ipkall.com
Fill out the details as below –
Sip Phone Number – I’m going to use ‘1111’ for now but I will change this once I know what DID number I’ve been assigned
SIP Proxy – This should be the ip address or DNS name of your Asterisk/FreePBX server
So we’ve got our trunk setup and now we need an extension so we can make a test call via the trunk.
For testing I’m going to be using x-lite. A free sip softphone available for Windows and Linux from here.
Adding an extension in FreePBX
First we need to click on Extensions on the left hand main menu
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