Forums Read-only archive

failover.pattern.response+Reason Q850

5 posts · Brekeke SIP Server Forum

PiotrOS Original post
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.
Mike
Hi PiotrOS,

I discussed it with the developer. They will tune the plugin code to meet the requirement.
I will post the update here.
Izzyg
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)
vinylmike
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
ambrosio
It can be done if you write own plugin code...