Difference between revisions of "Training: Branch Offices"

From IPitomy Wiki
Jump to navigation Jump to search
Line 35: Line 35:
  
  
== Trunking ==
+
=== Trunking ===

Revision as of 21:31, 4 April 2019

Branch Offices

Introduction

Branch Offices give the ability to connect two or more PBXs (or cloud instances) to allow direct communication between them rather than needing to send calls over a trunk, potentially using minutes of a service plan. The connection is made via the IAX2 protocol, rather than SIP, which differs in that SIP is signalling ONLY, and requires RTP to carry voice packets, whereas IAX2 bundles the signalling and voice traffic in the same communication channel. Branch Offices are configured under Destinations in the PBX interface:

Branch_config.JPG


To set one up you need to think of the systems as a pairing.  PBX A will connect to PBX B, and PBX B will connect to PBX A.  In PBX A, you'll use the address for PBX B as the host.  The name AND password are both for the shared connection between the two pbxs, not unique.  Meaning if you are configuring PBX A, the name should NOT be PBX-B, with PBX B's branch name set as PBX-A, because these will not match.  You might name it something shared by both, such as BranchAB (connecting A and B), or BranchBC (connecting offices B and C), and the password needs to be the same on both systems as well.

File:BranchNaming.png


Branch Extensions

Normally to dial a destination on another branch from the one the call is being initiated from, you must dial the branch's dial prefix first.  In the above screenshot, the dial prefix is *48, so to reach a destination on the other branch, you would dial *48 and then the extension number, for example.

This is fine when you just need to dial a destination, but you cannot ROUTE to those destinations automatically in a call flow.  In order to enable routing, for example as a failover, you'll need to define Branch Extensions.  At the bottom of the configuration page for a branch office, there is the following section, which is used to list extensions on the OTHER pbx (if you are on PBX A, you would put destinations from PBX B in this section, and vice versa):

File:Branch Extensions.JPG


Not only will this allow you to dial extensions directly without using the dial prefix, but you can also route to them in any area where you can set a destination, such as a failover or a menu option.

File:Branch Ext menu option.JPG


Despite the name "Branch Extensions", this actually works on ALL destinations that have a direct dial number, including menus, ring groups, or conferences.  Anything that you can dial by a direct 3-4 digit code can be a branch extension.


Trunking