Frequently Asked Questions (FAQs):Setting up the trunk to use IAX Outbound Service
VoIP: Setting up the trunk to use IAX Outbound Service
Log onto the Trixbox Configuration and Administation screen
Select FreePBX
Select Setup.
Select Tunks
Select the add IAX2 Trunk.
General Settings Section Outbound Caller ID:Enter your Outbound Caller ID (You must use a number that you have either purchased from Free Virtual Numbers or a number you have registered as a number that you own) Maximum Channels : Enter the number of outbound channels you wish to allocate.
Outgoing dialing Rules Section Dial Rules : This is where you can set up a dailing rule for the trunk. You can set the system up so that you have to prefix the number with 9 to dail using this trunk or you can get more complicated and set the rule so that dialing certain numbers results in this trunk being used. Please see the Trixbox help for further information on the syntax. Dial rules wizards:
You Can add Prefixes to numbers, remove prefixes and use a lookup to replace prefixes. Outbound Dial Prefix : If you Trixbox is behind another PBX and this requires you to dial a 9 to access an outside line this is where you configure this.
Outgoing Settings Section Trunk Name: This is a descriptive name that you give to the Trunk. PEER Details: Enter the following lines in this box
disallow=all
allow=alaw
host=iax-out.freevirtualnumbers.co.uk
type=peer
username=(the username you supplied when purchasing the product)
secret=(the password you supplies when purchasing the product)
Incoming Settings: Leave this section blank unless you have purchased the IAX inbound service.
Registration Section: leave the Register String empty and select Submit Changes.
Finally select the red bar at the top of the screen to reload the Congfiguration files.
You have now set up the outbound IAX connection to Free Virtual Numbers, you must now set up your "Outbound Routes" rules.