1. Brekeke Product Name and Version:
SIP Serer 3.8.6.4
2. Java version:
1.8.0_181
3. OS type and the version:
Windows 7 Pro SP1
4. UA (phone), gateway or other hardware/software involved:
Various, including 3CX
5. Your problem:
In the Wiki, it shows a basic dialplan failover like this:
[Deploy Patterns]
To = sip:100@192.168.0.100
$session = failover sip:101@192.168.0.101 sip:102@192.168.0.102
Does this mean that after the INVITE Timeout or if an SIP error is received before the INVITE timeout, that the dialplan will try the first IP address in the $session string and then if that one doesn't work, the dialplan will try the second IP address in the $session string?
Somewhere I came up with the idea of using a $session string for each failover IP address, like this:
$session = failover sip:101@192.168.0.101
$session = failover sip:102@192.168.0.102
Is this not correct? Or does it matter (will each do the same thing)?
Also, there's an example of failover for specific error codes or groups of error codes, such as:
[Deploy Patterns]
To = sip:100@192.168.0.100
$session = failover sip:101@192.168.0.101
&failover.pattern.response = 4..
Is it possible to watch for multiple error codes or groups of error codes, such as 4.. OR 5.., such as the following?
[Deploy Patterns]
To = sip:100@192.168.0.100
$session = failover sip:101@192.168.0.101
&failover.pattern.response = 4.. OR 5..
John Rayfield, Jr.
SIP Serer 3.8.6.4
2. Java version:
1.8.0_181
3. OS type and the version:
Windows 7 Pro SP1
4. UA (phone), gateway or other hardware/software involved:
Various, including 3CX
5. Your problem:
In the Wiki, it shows a basic dialplan failover like this:
[Deploy Patterns]
To = sip:100@192.168.0.100
$session = failover sip:101@192.168.0.101 sip:102@192.168.0.102
Does this mean that after the INVITE Timeout or if an SIP error is received before the INVITE timeout, that the dialplan will try the first IP address in the $session string and then if that one doesn't work, the dialplan will try the second IP address in the $session string?
Somewhere I came up with the idea of using a $session string for each failover IP address, like this:
$session = failover sip:101@192.168.0.101
$session = failover sip:102@192.168.0.102
Is this not correct? Or does it matter (will each do the same thing)?
Also, there's an example of failover for specific error codes or groups of error codes, such as:
[Deploy Patterns]
To = sip:100@192.168.0.100
$session = failover sip:101@192.168.0.101
&failover.pattern.response = 4..
Is it possible to watch for multiple error codes or groups of error codes, such as 4.. OR 5.., such as the following?
[Deploy Patterns]
To = sip:100@192.168.0.100
$session = failover sip:101@192.168.0.101
&failover.pattern.response = 4.. OR 5..
John Rayfield, Jr.