SBC Pi failover settings

Status
Not open for further replies.

kencomp

Free User
Joined
Jan 29, 2014
Messages
9
Reaction score
0
Hi,

In the code below there is TunnelAddr2 and TunnelPort2. I'm assuming that if server 1 goes down it just reconnects to the Tunnel on server 2 at a specified address? Only thing thats confusing is that there is only 1 set of settings for PbxSipIP, should there not be PboxSipIP2?

Code:
General]
ReconnectInterval = 30 # seconds
PrintStatsInterval = 30 # seconds
FailoverInterval = 90 # seconds

[Log]
Type = syslog   # cout, cerr, file, syslog
Level = NONE    # NONE", "EMERG", "ALERT", "CRIT", "ERR", "WARNING", "NOTICE", "INFO", "DEBUG", "STACK", "CERR",$
# File = "/var/log/3cxsbc.log"

[Bridge/123456]
#Mandatory
ID = 123456
Password = 

TunnelAddr =              # 3CX Phone System Tunnel TCP IP or FQDN
TunnelPort =             # 3CX Phone System Tunnel Port

#TunnelAddr2 =                  # 3CX Phone System Failover Passive Tunnel IP or FQDN
#TunnelPort2 =                  # 3CX Phone System Failover Passive Tunnel Port

#Optional
Name = "3CX Session Border Controller"

PbxSipIP =                    # IP address of PBX, mandatory for provisioning to work
PbxSipPort =           # SIP port of PBX, mandatory for provisioning to work

LocalSipAddr = 0.0.0.0         # local SIP (UDP/TCP) address (def: 0.0.0.0) binds on all interfaces
LocalSipPort = 5060            # local SIP (UDP/TCP) address (def: 5060) Must be 5060

SecurityMode = 1
 
This assumes that the 2 3CX Phone System installations have been setup with the same FQDN and that the 2 Servers are going to be a 'clone' of each other, by restoring a backup of the one onto the other, so the Tunnel Password is also the same.

So if you have the same FQDN on both 3CX Server, in the Tunnel address you would put the FQDN and each server locally will dynamically resolve it to its Private IP (the installer inserts an entry in the Windows host file).
 
Status
Not open for further replies.

Forum statistics

Threads
111,850
Messages
589,356
Members
164,684
Latest member
Concorde