PBX in a Flash for Newbies

Configuring PBX 106 IAX2 Trunk


Configuring PBX 106 IAX2 Trunk

  1. Select Add Trunk from the FreePBX main setup menu

  2. Select Add IAX2 Trunk

  3. Nothing to do here, move on to Outgoing Settings

  4. The Outgoing Settings are configured with information based on the destination's IAX user. Configure the Outgoing Settings as follows:

    • Trunk Name: 101-peer - The name can be anything you want
    • host=192.168.1.101 - This is the domain name or IP address of the trunk destination
    • username=106-user - This is the IAX2 user that is created on the destination PBX
    • secret=1234 - The password that will be used to qualify the trunk connection at the destination PBX
    • type=peer - The type of IAX2 connection. This is a connection from PBX to PBX
    • qualify=yes - Register the connection with the destination
    • trunk=yes - Send channel data in one trunk packet instead of multiple channel packets, saves on bandwidth - optional

  5. Move to the Incoming Settings

  6. The Incoming Settings are configured so that an incoming IAX2 trunk has an account to qualify to. Configure the Incoming Settings as follows:

    • User Context: 101-user - The name can be anything you want. This is the user account that the incoming IAX2 trunk will qualify to
    • secret=1234 - The password that will be used to qualify the trunk connection at the destination PBX
    • type=user - The type of IAX2 connection. This is a user account that a peer will qualify to

  7. Press submit, update and reload. Then check using FreePBX - Tools Tab- Config Edit option to see if /etc/asterisk/iax-additional.conf was updated properly with no typos.

  8. Go to the next step Testing the IAX2 Trunks


Go to the

Introduction
to Networking

Online Book

Go to the

PBX in a Flash

Home Page

Go to the

FreePBX

Home Page

Return to the

PBX in a Flash
for Newbies

home page

Copyright April 2008 - Eugene Blanchard