Forums Read-only archive

Failover default error codes

3 posts · Brekeke SIP Server Forum

bsworkman Original post
1. Brekeke Product Name and Version: Brekeke SIP Server Advanced Edition Ver 3.6.2.5/451

2. Java version:Java HotSpot(TM) 64-Bit Server VM ver 1.8.0_111

3. OS type and the version:Windows Server 2012 Professional w dual NIC

4. UA (phone), gateway or other hardware/software involved: Avaya Session Manager 6xx

5. Your problem:

For the dial plan rule $session = failover sip:xxxx sip:xxxx

If &failover.pattern.response is not set, then what SIP error codes are considered as default in for this?

486 Busy Here seems to be one that flags a failover according to my sip traces. I would like to know what others do as well.

Also can the &failover.pattern.response be set in a way that allows multiple responses which may not be concurrent? Say 500 and 502 but not 501.
snuyzm
> If &failover.pattern.response is not set, then what SIP error codes are considered as default in for this?

Any non-20x final error response code such as 3xx,4xx,5xx and 6xx.


> Also can the &failover.pattern.response be set in a way that allows multiple responses which may not be concurrent? Say 500 and 502 but not 501.

Since it accepts Regular expression, you can define these response codes like this.

Code:

&failover.pattern.response = 500|502
bsworkman
Great, thanks!!