<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
As I said, failure route is transaction based, so any transaction
failure will trigger it. see
<a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Routes-2-2#toc3">http://www.opensips.org/Documentation/Script-Routes-2-2#toc3</a><br>
<br>
<div class="moz-cite-prefix">On 04/24/2015 11:57 AM, Podrigal, Aron
wrote:<br>
</div>
<blockquote
cite="mid:CANJp-yiF0WpbK0gxAS+eiY=8OmDvPakrmSqtW0rQgQQopMfm9w@mail.gmail.com"
type="cite">
<div dir="ltr">The problem is that there is no response coming
back, media server 1 crashed.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Apr 24, 2015 at 1:54 PM, Eric
Tamme <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:eric@uphreak.com" target="_blank">eric@uphreak.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> 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.<br>
<br>
-Eric
<div>
<div class="h5"><br>
<br>
<div>On 04/24/2015 11:22 AM, Podrigal, Aron wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">Hi,
<div><br>
</div>
<div>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.</div>
<div>
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">Aron Podrigal
<div>-</div>
<div>//Be happy :-)</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">Aron Podrigal
<div>-</div>
<div>//Be happy :-)</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>