<div dir="ltr">Thanks.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 24, 2015 at 2:01 PM, Eric Tamme <span dir="ltr"><<a 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">
As I said, failure route is transaction based, so any transaction
failure will trigger it. see
<a href="http://www.opensips.org/Documentation/Script-Routes-2-2#toc3" target="_blank">http://www.opensips.org/Documentation/Script-Routes-2-2#toc3</a><div><div class="h5"><br>
<br>
<div>On 04/24/2015 11:57 AM, Podrigal, Aron
wrote:<br>
</div>
<blockquote 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 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><br>
<br>
<div>On 04/24/2015 11:22 AM, Podrigal, Aron wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<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 href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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 href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a 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>
<div dir="ltr">Aron Podrigal
<div>-</div>
<div>//Be happy :-)</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a 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></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a 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>