The nice folks at UKDDI have made this process much easier. Now we can register our FreePBX server with them, and they will send the calls to our registered IP address. The process of registration tells the remote provider who we are and what our IP address is, so that they can send calls to us.
Setting up our number in UKDDI
First we need to tell UKDDI that we will be registering with them and how to send the call to us.
Edit the number you want to use and set ‘Route’ to be ‘register’. You can also choose the codecs allowed. I suggest leaving this on G711 as it’s the best call quality, and G729 may not be available on your system
Next we are going to tell UKDDI the format we want the numbers presented in. We don’t want a ‘+’ on the front as FreePBX doesn’t handle this well. Click on the ‘Registration’ option and make a note of your SIP username and password. We will use these in FreePBX later. Also change the settings highlighted
Create the trunk in FreePBX
Now we are going to create the trunk in FreePBX. This is our connection to UKDDI, and will tell them what IP to send the call to
You should enter the details as shown above, obviously using your own username and password.
The registration string needs to be in this format –
FreePBX Inbound Route
Finally we need to tell FreePBX what to do with the call when it reaches our system. When setting up a number I always initially send the call to music on hold. UKDDI will send the call to us starting with the country code (44) so that’s the format we need to match in the Inbound Route
And you’re done! Don’t forget to apply the config, then you should be able to call the number and hear music-on-hold. If you don’t then double check the settings you entered.
If it still doesn’t work, and you’re a SysAdminMan customer, just open a support ticket and we’ll check why it’s not working.
If you’re not a SysAdminMan customer then there’s a troubleshooting guide