PBX in a Flash for Newbies

How to connect two Asterisk PBXs using a SIP Friend Pairing Trunk


How to connect two Asterisk PBXs using a SIP Friend Pairing Trunk

A PBX can run in one of three "types" of trunking modes:

  • User - This can be thought of as the user account on the destination PBX used by a Peer

  • Peer - This is the server part of the trunk

  • Friend - This is both a user and a peer together

The User and Peer types normally are required to work together in a Peer/User pairing (said cautiously as Asterisk is very flexible!). The Friend account is a combination of both and is simpler to create than a User/Peer pairing. Some don't like it because their is only one username and one password for both PBXs.

Here's an example Friend pairing configuration made on the following SIP trunk Peer/User pairing configuration tool:

I've made up a SIP trunk using Friend pairing configuration tool in a spreadsheet that creates both PBX's trunk configuration. It is easy and fast to do and takes all the guess work out of it. You enter in the IP address (or domain name) of each PBX, the names for the two trunks, the names for the two users and the user passwords. It spits out the configurations for both PBXs in the same format that you see in the FreePBX Add Trunk menu.


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

PBX in a Flash for Newbies License Agreement