Failover with parameters

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
epascual
Posts: 22
Joined: Thu Sep 03, 2015 2:31 am
Location: Spain

Failover with parameters

Post by epascual »

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
Posts: 170
Joined: Thu Jan 17, 2008 11:55 am

Post by 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
Post Reply