failover.pattern.response+Reason Q850

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
PiotrOS
Posts: 8
Joined: Thu Apr 09, 2015 2:02 am

failover.pattern.response+Reason Q850

Post by PiotrOS »

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
Posts: 733
Joined: Mon Mar 07, 2005 2:25 pm
Location: Sunny San Mateo
Contact:

Post by 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
Posts: 91
Joined: Tue Jun 25, 2013 1:14 pm
Location: Sip Land

Post by 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
Posts: 37
Joined: Thu Dec 13, 2012 12:25 pm
Location: Guilford, CT

Post by 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
Posts: 215
Joined: Thu Mar 27, 2008 12:20 pm

Post by ambrosio »

It can be done if you write own plugin code...
Post Reply