Forums Read-only archive

Failover with parameters

2 posts · Brekeke SIP Server Forum

epascual Original post
1. Brekeke Product Name and Version:

BPX SIP Server Version 3.5.3.4

2. Java version:

1.7.0_85

3. OS type and the version:

CENTOS server 6.7

4. UA (phone), gateway or other hardware/software involved:

5. Your problem:

I tried to make Failover adding parameters in the uri, but it does not work.
For example I would like to do this:

[Deploy Patterns]
To = sip:100@192.168.0.100;parameter=5
$session = failover sip:101@192.168.0.101;parameter=5

If sip:100@192.168.0.100 does not fail then the INVITE includes the parameter. But if it fails then Failover works but the INVITE to sip:101@192.168.0.101 does not include the parameter. Is there any way to solve that?

Thanks in advance.
Haddas
Add DialPlan rule with the following Deploy Pattern in the [Preliminary].
This adds the parameter before the regular DialPlan rules are executed.

Deploy Patterns
To = <%{$getUri(To)}>;parameter=5