Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
failover.pattern.response+Reason Q850
Author Message
PiotrOS
Brekeke Junior Member


Joined: 09 Apr 2015
Posts: 8

PostPosted: Thu Nov 26, 2015 9:18 am    Post subject: failover.pattern.response+Reason Q850 Reply with quote

1. Brekeke Product Name and Version:
Brekeke SIP Server, Version 3.5.2.8
2. Java version:
1.6.0_45
3. OS type and the version:
Linux centos 6.6
4. UA (phone), gateway or other hardware/software involved:
doesn't matter
5. Your problem: Is it possible to configure such pattern?:

For Response:
SIP/2.0 480 Temporarily not Available
<cut>
Reason: Q.850; cause=31
Reroute call to next route

For Response with different cause than 31, for example:
SIP/2.0 480 Temporarily not Available
<cut>
Reason: Q.850; cause=40
Do not Reroute call to next route


Right now I have such config
Deploy Patterns
&failover.pattern.response = 30.|402|480


So when BSS get response 480, then sends Invite to next route (INVITE to the contact address indicated in the 30x response)
Now I want that BSS will send Invite to next route only when get 480 with Reason: Q.850; cause=31
And for other cause - sends Invite to next route

Thanks in advance for any hint.
Back to top
View user's profile
Mike
Support Team


Joined: 07 Mar 2005
Posts: 731
Location: Sunny San Mateo

PostPosted: Mon Dec 07, 2015 12:05 pm    Post subject: Reply with quote

Hi PiotrOS,

I discussed it with the developer. They will tune the plugin code to meet the requirement.
I will post the update here.
Back to top
View user's profile Visit poster's website
Izzyg
Brekeke Talented


Joined: 25 Jun 2013
Posts: 91
Location: Sip Land

PostPosted: Wed Jul 13, 2016 10:48 am    Post subject: Reply with quote

did you get an update ?

im also interested in setting up that if a call does not go thru for whatever reason, it should failover to the next dial plan rule i have (which is to use another carrier)
Back to top
View user's profile
vinylmike
Brekeke Addict


Joined: 13 Dec 2012
Posts: 29
Location: Guilford, CT

PostPosted: Thu Dec 22, 2016 7:04 am    Post subject: Reply with quote

I'm also interested in this feature. We receive a SIP 403 from one of our providers if we run our of credit, with the following included:

Reason: Q.850;cause=52;text="OUTGOING_CALL_BARRED"
X-Reason: Account out of credit

It would be good to not have to failover on the 403, but instead failover based on the Q.850 cause, or even a specific header, i.e. "X-Reason: Account out of credit".

Thanks,
Mike
Back to top
View user's profile
ambrosio
Brekeke Master Guru


Joined: 27 Mar 2008
Posts: 215

PostPosted: Thu Dec 22, 2016 4:54 pm    Post subject: Reply with quote

It can be done if you write own plugin code...
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