Setting up Trixbox to work with FaktorTel is a relatively easy task, as FaktorTel natively supports the Asterisk PBX we can simply add FaktorTel as a trunk to Trixbox and then set your outbound route to send out FaktorTel and it should all work perfectly.
In this tutorial we use the IAX protocol to connect Trixbox to FaktorTel therefore eliminating the need to deal with firewalls or similar issues.
Login to the web interface of your Trixbox Server.
Step 2:Up the top right of the screen you will see " USER MODE ( SWITCH ) ", click on the word " SWITCH "
Step 3:Enter in your Username and Password at the prompt. Username is usually " maint " ( Without the quotes )
Step 4:You will be on a new screen now. Hover your mouse over the "PBX" menu item and then click on "PBX SETTINGS" on the menu which appears.
Step 5:On the side menu click on " TRUNKS " which is under " Basic " in your settings.
You should now have a menu which looks similar to the ones shown below.
And the bottom of it.
In this menu you will need to enter in your trunk settings. These are listed below.
The settings are as follows:
Note: Replace USERNAME ( 09xxxxxx ) with your 09xxxxxx number provided to you.
Replace PASSWORD with the password provided to you.
Trunk Name: ftel
Peer Details
host=prepaid.faktortel.com.au
username=USERNAME ( 09xxxxxx )
secret=PASSWORD
disallow=all
allow=gsm
auth=md5
qualify=3000
type=peer
requirecalltoken=no
USER Context: USERNAME ( 09xxxxxx )
disallow=all
allow=gsm
auth=md5
canreinvite=no
dtmfmode=rfc2833
host=prepaid.faktortel.com.au
nat=yes
qualify=yes
secret=PASSWORD
type=user
username=USERNAME ( 09xxxxxx )
context=from-trunk
These are all the settings you require.
Step 6:The final setting is your REGISTRATION STRING, right down the bottom of the menu. Again please change the address accordingly if you are prepaid or other.
In the registration string section please enter the following, replacing USERNAME and PASSWORD with your username and password that was supplied to you:
USERNAME:PASSWORD@prepaid.faktortel.com.au
End of settings.
Step 7:Click on " Submit Changes "
Step 8:Scroll up to the top of the window and you will see an orange bar which says " Apply Changes "
please click on this and click " Continue "
Once your settings are loaded in you will be connected to the FaktorTel network.
How to make an outgoing call now that you are connected...
Now that you are connected to FaktorTel you want to be able to make outgoing calls. This is quite easy.
All you need to do is set an " Outbound Route ", what this does is tells your PBX where to send calls to.
Here's how to set it up for FaktorTel:
Step 1:Click on " Outbound Routes " on the left menu of your PBX setup screen.
Step 2:Click on " Add Route " on the right menu.
Step 3:In the menu which appears, enter in a name for your outbound route, in this case we'll call it " Outside "
Step 4:In dial patterns ( for Australia ) simply enter " [0]." ( without the surrounding quotes, so it should be [0]. )
Step 5:Under Trunk Sequence choose " ftel ", this is where your calls will go out from which start with " 0 " ( such as 07, 08, 09 )
Step 6:Click on " Submit Changes "
Step 7:Scroll to the top of the page and click on the orange bar and apply the changes by clicking on "Continue" in the menu which appears.
Note: If you would like FaktorTel to handle your dial plan, you can simply put a full stop ( a dot ) in the Dial Patterns section and FaktorTel will set your state allowing you to make calls like you would on a standard handset / PBX.
How to setup your Inbound Calls...
Since you have your connection to FaktorTel all setup and ready to go you can also setup inbound calls. This is a favorite among people who have a number for each staff member in their organisation.
Here is how to do it in Trixbox:
Step 1:To add an incoming number we need to add an incoming route. To do this on the left hand menu click on " Inbound Routes "
You should end up at a screen which looks like this one:
Step 2:Click on the " Add Route " link on the top right of the menu.
Step 3:Type in a name for your route. Lets use " My House " here.
Step 4:Enter in the number provided to you by FaktorTel as the DID Number. E.g. " 0756306650 "
Step 5:Scroll right to the bottom of the menu and click on " Extensions " and then choose your extension from the list to the right.
Step 6:Click on " Submit "
Step 7:Scroll to the top of the menu and click on the orange bar and click " Continue " to apply your changes.
Now any time anyone rings your incoming number the extension you set should ring.