Brekeke SIP Server 3.14.7.4/563.3
2. Java version:
OpenJDK 64-Bit Server 11.0.20
3. OS type and the version:
RHEL 8.8
4. UA (phone), gateway or other hardware/software involved:
Genesys SIP server 8.1.104.42 on Windows 2019
5. Your problem:
When a failover rule is used in Brekeke SIP Server, the initiating IP changes when failing through to the next Genesys server. The Genesys server is expecting the session to initiate from the Brekeke cluster IP, which it does in normal operations.
Let us assume the following setup:
- Two Brekeke SIP servers in a cluster with redundancy set up, for 3 IPs (cluster, primary, secondary).
Two Genesys SIP servers with a primary and a secondary, for 2 IPs.
Match Pattern:
Code: Select all
$request = ^INVITE
To = sip:(SOME_PREFIX..)@
Code: Select all
$transport = TCP
$auth = false
$rtp = false
To = sip:%1@GENESYS_PRIMARY:5060
$session = failover sip:%1@GENESYS_SECONDARY:5060
&failover.pattern.response = ^$
(required for dealing with Avaya equipment unrelated to Genesys, but included for completeness)
Code: Select all
net.sip.transport.follow.request = false
net.sip.tcp.connection.put.followable = false
net.sip.tcp.keepalive.use=false
Traffic Genesys admins are expecting to see:
Normally:
- BREKEKE_CLUSTER_IP -> GENESYS_PRIMARY
GENESYS_PRIMARY -> BREKEKE_CLUSTER_IP
SIP session establishes and continues
- BREKEKE_CLUSTER_IP -> GENESYS_PRIMARY (fails, no response)
BREKEKE_CLUSTER_IP -> GENESYS_SECONDARY
GENESYS_SECONDARY -> BREKEKE_CLUSTER_IP
SIP session establishes and continues
Normally:
- BREKEKE_CLUSTER_IP -> GENESYS_PRIMARY
GENESYS_PRIMARY -> BREKEKE_CLUSTER_IP
SIP session establishes and continues
- BREKEKE_CLUSTER_IP -> GENESYS_PRIMARY (fails, no response)
BREKEKE_PRIMARY_IP -> GENESYS_SECONDARY
GENESYS_SECONDARY -> BREKEKE_PRIMARY_IP
SIP session fails with 404 unknown from Genesys.