This article will help you setup an IAX2 trunk in your PBX in a Flash system and connect it with IPComms SIP trunks..
- Setting up a IAX Trunk is very similar to a SIP Trunk, the biggest difference in registration is the Register String. The IAX trunk contains more information than a SIP Trunk. Trunk information can be copied over just like setting up the SIP Trunks
- Make sure to set the registration string as; username:password@domain>
- If you would like to see if trunks are registered you can go to the FreePBX System Status and look at IP Trunk Registrations.
- In the SIP Trunk make sure the contact field behind the registration string. The setup for the registration string will be username:password@domain/sipContact(username)
- After you have created your IAX Trunk you need to modify the Asterisk IAX Settings inside the Tools.
- Inside here you will be able to make changes to the Codec's, bandwidth control, and multiple other settings.
- These items will need to be checked if you have any special type of NAT setup inside the firewall or company.
- Be sure to open up Port 4569 inside your firewall, as well as ports 10,000-20,000 which are mainly for SIP, but IAX uses some of those ports
PBX in a Flash SIP Trunk Configuration & Security
Start this tutorial after you have completed PBX in a Flash Setup. After Installation, you will need to obtain your IP Address. Once the IP Address has been typed in you will be able to see PBX in a Flash with the Icons: Voicemail & Recordings, Flash Operator Panel, and MeetMe Conference for users, and FreePBX® Administration, Linux Webmin, and Menu Configuration for the Admin user.
Configuration-FreePBX®
FreePBX® is a Registered Trademark of Schmooze Com, Inc.
Before you begin
- To begin you will need to enable PBX in a Flash for Admin this is done by clicking on the Users.
- Next click the FreePBX Administration this will take you into the GUI of the PBX. The username for a first-time login is maint and the password is what you have entered earlier in the command line of setup.
- On the left-hand side, you will see a list of options.
- In order to have a softphone registered you will need to setup Trunks, and enter your PEER Details from the email of your registration email. After you have entered the credentials from the email, you can check the registered channels by going to FreePBX System Status then look under Total active channels.
- To setup your phone system to make and receive calls, setup Inbound Routes you can create anything for the Description, then use one of your numbers for the DID Number then Set Destination this will be the destination where incoming calls will be routed then select Submit.
- Next, we will setup Outbound Routes here you can setup your dialing patterns. This will allow you to make calls to destinations based on rules.
- A trunk must be setup in order to make outbound calls. If you have made any changes select Apply Configuration Changes.
- If you would like to have all extensions call out as a specific number, that can be set by checking Override Extension this is a useful feature if you want people to call back to one specific number.
- Any routes that have been created will show up on the right-hand side of the page.
- Next, we will setup a SIP Extension, to begin choose type. Next enter information that you would like to have for the desired extension.
This current build of FreePBX has a lot of fail-safe's built into the system, which may give you trouble in the initial setup but will pay off after you have more information in the system. Since we have created an extension, it is time to register the extension with a softphone. Since you have created an extension you can then route calls to that extension.
Queues can be used to help call routing.
If you would like to view more advanced setting to the Tools tab on the top of the control panel without having to go through the command line.