If “$target” variable has multiple addresses and/or FQDN, Brekeke SIP Server takes the failover with these addresses.
The timing of failover is the INVITE timeout.
The following is sample Dial Plan rule:
[Matching Patterns:] $request = ^INVITE [Deploy Patterns:] $target = 192.168.0.175, 192.168.0.200, 192.168.0.100
An INVITE will be forwarded to 192.168.0.175 at first.
If 192.168.0.175 doesn’t respond, the INVITE will be forwarded to 192.168.0.200.
And if 192.168.0.200 doesn’t respond, the INVITE will be forwarded to 192.168.0.100.
There is failover plug-in for Brekeke SIP Server, which will make a failover based on SIP response or timeout.
For details, please check wiki post “How to Make Failover in Dial Plan“