4.11.3
Configuration Procedure
The following examples illustrate how to configure a stack.
4.11.3.1 Case I: Stack multiple IP PBX boxes from scratch
1.
Ensure all boxes have factory default settings before being stacked.
2.
Ensure all boxes have TCP routing to each other via LAN interfaces if they are in different local
networks.
3.
Select one of the boxes to be the master box. Others are slave boxes consequently.
4.
For each slave box, go to
System
->
Stackable
page to specify the master’s IP address and click
Apply
. Make sure to configure slave boxes before assigning to master box.
5.
For the master box, go to
System
->
Stackable
page. Select
Enable Master Mode
check box.
6.
Enter IP address and port of a slave box, and then click
Add
. If clients support SIP 305 or SIP
302 response, select the
By 305 Use Proxy
or
By 302 Moved Temporarily
check box in
Registration Load Balance
.
Do this step again if more than one slave box is stacked.
7.
After adding all slave boxes, click
Apply
.
8. Go
to
Service
->
IP PBX Service
and click
Restart
to reflect the changes.
All boxes are stacked and a cluster is formed. You can start to configure extensions etc. on master box
to make internal calls possible. You can also configure SIP and PSTN trunks on each box to enable
inbound and outbound calls. Any configuration change in stack requires
Reload
in
Service
->
IP PBX
Service
of master box.
In order to share SIP and FXO PSTN trunks with other boxes, you need to do the following settings.
For instance, a FXO PSTN trunk (with a route pattern) is configured on box A and assigned to some
usergroups. You would like to share this FXO PSTN trunk with box B.
1.
On box B, configure a route with the pattern equals to the one associated with this FXO PSTN
trunk, and then assign this route to the routegroup associated with the intra trunk from box B
toward box A.
2. Click
Reload
in
Service
->
IP PBX Service
of master box.
To explain step one more clearly, for example, box A is 192.168.1.100 and box B is 192.168.1.101.
There is a FXO PSTN trunk “pstn1” with a route pattern “9./1”
configured on box A. In order to share
this FXO PSTN trunk among box A and B, on box B we can configure a route “BoxA-pstn1” with pattern
13
9./1 means pattern is 9. and number of stripped digits is 1.
31