1. Brekeke Product Name and Version: 3.13.0.0/552
2. Java version:11.0.16
3. OS type and the version: RHEL7
4. UA (phone), gateway or other hardware/software involved: Avaya & Genesys SIP Server
5. Your problem:
Using the failover module in Advanced Server, we want to fail over if and only if the primary SIP deploy target for the rule does not respond at all. For 3xx-6xx responses, we do NOT want to fail over but just end the session with the error response as though not using failover module.
I have already searched the forums and found a few older responses, but none that answer this succinctly. The ambiguity seems due to the defaults and what not setting parameters means will happen. I think the answer is to set &failover.timer.inviting to something besides the default. But would setting that the same as the default have any effect other than what the default would be anyhow? Would there be any difference between setting &failover.timer.inviting = 10 explicitly versus just not setting it at all (thus using the default)?
Further, &failover.pattern.response could be used to specify which responses failover should follow, but it obviously cannot test for a negative (to not failover on any response).
Could I set &failover.pattern.response = ^$ to test for a null string? Would that effectively ignore failover for all responses, since no response would ever match an empty string? Or would it be better to match only all 3xx responses for the failover pattern, given that &failover.redirection defaults to true?
Again, it seems to me like just setting &failover.timer.inviting to something really short like 3 or 4 seconds is probably what is needed.
For testing how this fails over, I was thinking I could test no response by just deploying to an unused IP and have the failover be the actual destination, to see it fail over. Then to test for failure responses to not fail over, swap the secondary and the primary in the deploy pattern - because we want to see it get an error code and then not fail over because it did get a response.
Thank you.
2. Java version:11.0.16
3. OS type and the version: RHEL7
4. UA (phone), gateway or other hardware/software involved: Avaya & Genesys SIP Server
5. Your problem:
Using the failover module in Advanced Server, we want to fail over if and only if the primary SIP deploy target for the rule does not respond at all. For 3xx-6xx responses, we do NOT want to fail over but just end the session with the error response as though not using failover module.
I have already searched the forums and found a few older responses, but none that answer this succinctly. The ambiguity seems due to the defaults and what not setting parameters means will happen. I think the answer is to set &failover.timer.inviting to something besides the default. But would setting that the same as the default have any effect other than what the default would be anyhow? Would there be any difference between setting &failover.timer.inviting = 10 explicitly versus just not setting it at all (thus using the default)?
Further, &failover.pattern.response could be used to specify which responses failover should follow, but it obviously cannot test for a negative (to not failover on any response).
Could I set &failover.pattern.response = ^$ to test for a null string? Would that effectively ignore failover for all responses, since no response would ever match an empty string? Or would it be better to match only all 3xx responses for the failover pattern, given that &failover.redirection defaults to true?
Again, it seems to me like just setting &failover.timer.inviting to something really short like 3 or 4 seconds is probably what is needed.
For testing how this fails over, I was thinking I could test no response by just deploying to an unused IP and have the failover be the actual destination, to see it fail over. Then to test for failure responses to not fail over, swap the secondary and the primary in the deploy pattern - because we want to see it get an error code and then not fail over because it did get a response.
Thank you.