[OpenSIPS-Users] In dialog failure route

Eric Tamme eric at uphreak.com
Fri Apr 24 20:01:35 CEST 2015


As I said, failure route is transaction based, so any transaction 
failure will trigger it.  see 
http://www.opensips.org/Documentation/Script-Routes-2-2#toc3

On 04/24/2015 11:57 AM, Podrigal, Aron wrote:
> The problem is that there is no response coming back, media server 1 
> crashed.
>
> On Fri, Apr 24, 2015 at 1:54 PM, Eric Tamme <eric at uphreak.com 
> <mailto:eric at uphreak.com>> wrote:
>
>     failure_route is called based on a transaction failure - so even
>     if the request was in dialog, as long as you t_relay() it and it
>     gets a response code >=300 failure route will be called on receipt
>     of the response.
>
>     -Eric
>
>
>     On 04/24/2015 11:22 AM, Podrigal, Aron wrote:
>>     Hi,
>>
>>     What is the right way to handle failures for sequential requests.
>>     So if Media Server #1 hangs, I wanna create a new transaction
>>     route to Media Server #2.
>>
>>     -- 
>>     Aron Podrigal
>>     -
>>     //Be happy :-)
>>
>>
>>     _______________________________________________
>>     Users mailing list
>>     Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> -- 
> Aron Podrigal
> -
> //Be happy :-)
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150424/952634d5/attachment-0001.htm>


More information about the Users mailing list