Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Failover with parameters
Author Message
epascual
Brekeke Member


Joined: 03 Sep 2015
Posts: 22
Location: Spain

PostPosted: Wed Dec 21, 2016 6:39 am    Post subject: Failover with parameters Reply with quote

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.
Back to top
View user's profile
Haddas
Brekeke Guru


Joined: 17 Jan 2008
Posts: 170

PostPosted: Wed Dec 21, 2016 12:54 pm    Post subject: Reply with quote

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
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1