Author |
Message |
PiotrOS Brekeke Junior Member
![](images/spacer.gif)
Joined: 09 Apr 2015 Posts: 8
|
Posted: Thu Nov 26, 2015 9:18 am Post subject: failover.pattern.response+Reason Q850 |
|
|
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 |
|
Mike Support Team
![](images/spacer.gif)
Joined: 07 Mar 2005 Posts: 731
Location: Sunny San Mateo
|
Posted: Mon Dec 07, 2015 12:05 pm Post subject: |
|
|
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 |
|
Izzyg Brekeke Talented
![](images/spacer.gif)
Joined: 25 Jun 2013 Posts: 91
Location: Sip Land
|
Posted: Wed Jul 13, 2016 10:48 am Post subject: |
|
|
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 |
|
vinylmike Brekeke Addict
![](images/spacer.gif)
Joined: 13 Dec 2012 Posts: 29
Location: Guilford, CT
|
Posted: Thu Dec 22, 2016 7:04 am Post subject: |
|
|
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 |
|
ambrosio Brekeke Master Guru
![](images/spacer.gif)
Joined: 27 Mar 2008 Posts: 215
|
Posted: Thu Dec 22, 2016 4:54 pm Post subject: |
|
|
It can be done if you write own plugin code... |
|
Back to top |
|
|