Courseware:IT Plus - Multiple Trunks
How to set up a PBX with multiple Trunks and address each trunk seperatly.
Start
Scenario description

Create locations
PBX objects for our fictitious locations that do not exist.- Long Name:
stuttgart , Name:stuttgart , Number:**711 , Parent Node:root , Parent PBX:hq - Long Name:
leipzig , Name:leipzig , Number:**341 , Parent Node:root , Parent PBX:hq - Long Name:
hannover , Name:hannover Number:**511 , Parent Node:root , Parent PBX:hq - Long Name:
hamburg , Name:hamburg Number:**40 , Parent Node:root , Parent PBX:hq
Create trunk objects for those locations
Create the following
four Trunk objects on our master PBX (IP411LEFT) using the advanced UI this time.- Name and Long Name:
trunk-stuttgart
Number:0 ,
Node:stuttgart
PBX:hq
Hardware Id:0090334000b3-SIP1 trunk-leipzig ,0 ,leipzig ,hq ,0090334000b3-SIP2 trunk-hannover ,0 ,hannover ,hq ,0090334000b3-SIP3 trunk-hamburg ,0 ,hamburg ,hq ,0090334000b3-SIP4
Now you can register your SIP Interfaces internally with 
Use physical location
To configure the solution we will
create 3 categories in our Devices app. Please enable the check mark Stuttgart IP Phone Leipzig IP Phone Hannover IP Phone
We don't need a category for softphone users like you. We will discuss softphones later in the book.
The next step is to create
individual device configurations for all three locations. Depending on the phone's location, please set the following options:- Description:
dvl-ckl2.net Stuttgart /dvl-ckl2.net Leipzig /dvl-ckl2.net Hannover - Categories:
Stuttgart IP Phone /Leipzig IP Phone /Hannover IP Phone - Primary gateekper:
hq-dvl-ckl2.training.innovaphone.com - Gatekeeper ID:
stuttgart@dvl-ckl2.net /leipzig@dvl-ckl2.net /hannover@dvl-ckl2.net
Please note that the Gatekeeper ID is essential for this configuration. The syntax is <physical-location>@<gatekeeper-ID>. The @ symbol acts as a separator. This is how we apply physical locations to phones. Although we register all phones to the same PBX (hq-dvl-ckl2.training.innovaphone.com), this method allows us to declare that they reside in different locations.
To deploy the new configuration, change the respective provisioning categories for your phones:- IP111:
Stuttgart IP Phone - IP112:
Leipzig IP Phone - IP222:
Hannover IP Phone - IP232: stays in the PSTN, so there is no change
Note that as a device can have a single provisioning category only, you need to remove the existing one first.
the registration information for your users. For example, John Doe.This registration contains:172.31.31.4@stuttgart*tls
- The phone's IP address (172.31.31.4)
- The physical location (@stuttgart)
- the phone has authenticated itself via TLS (*tls)
Marking trunks as local
"Local" checkbox in an object, such as a trunk object. As a result, a calling user with a physical location will search for matching objects inside the PBX location node that matches their physical location first.
Set the Local flag on all of our 4 trunk objects.
Open the Gateway/Calls tab on your IP411LEFT. Then, call Physical location on softphones
Please start your myApps client with the physical location of Hamburg. Next, start your softphone and select an audio device.
your softphone's registration information. The physical location is applied just as it would be for a hard phone.
are routed through SIP4.No physical location
If you go to PBX/Config/myApps, you will find an option called No physical location, which is used for all softphones on this PBX. When this option is enabled, the PBX ignores any manually configured physical location parameter.
This setting becomes particularly interesting in a multi-PBX scenario. Imagine you have a master and a slave PBX. If you enter a PBX address (via the launcher or browser) that does not match the PBX location of your user object, you will automatically be redirected to the PBX that matches your location attribute.
-
If you are redirected and this option is enabled, the physical location will be set to the PBX that matches your location attribute.
-
If you are redirected and this option is disabled, the physical location will remain as the PBX you initially accessed, before the redirection occurred.
Central trunk forwarding based on subnets
- Name and Long Name:
central-trunk - Number:
0 - Node:
root - PBX:
hq
Furthermore, we must
create the following mappings in the Mappings tab. The destination of each map is the node number, followed by the external line number, which is always 0 for our trunk objects.| <your PC IP address> |
This configuration (using full IP addresses) is a bit special due to our test setup. In real life you would certainly configure a network range.
In order to test the configuration, you need to remove the physical location of your devices, as callers will find local objects matching with their physical location before finding objects in their own node when searching for a number (0 in this case). To do so, you can either use an appropriate device configuration category in Devices or you can remove the Local flags from your trunk lines.