<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi Dmitry,<br>
<br>
If for a single SIP reply you arm both failure and reply route,
then the reply route will be first executed and then the failure
route.<br>
<br>
For different replies (of the same transaction), the reply route
may be run in parallel, but failure route not ! <br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 02.09.2014 11:50, neumann wrote:<br>
</div>
<blockquote
cite="mid:C81BFF52-8C04-445F-9BF4-C6F76AFD763B@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div>Hello. Would you please let us know how failure and reply
routes are performed? In parallel or sequentially? If
sequentially, in what order? And is it possible to influence
this order?</div>
<div><br>
</div>
<div>For instance regarding the route shown below, when in reply
to INVITE we get 401 or 407, both routes are activated, and
judging by log the route t_on_reply is called first and then
the route t_on_failure. Is it really so and are they performed
one after another?</div>
<div> </div>
<div>route[dispatch_out] {</div>
<div> ...</div>
<div> t_on_failure("rtf_dispatch_out");</div>
<div> t_on_reply("auth_reply");</div>
<div> t_relay();</div>
<div> exit;</div>
<div>}</div>
<div><br>
</div>
<div>Thank you very much. Have a nice day.</div>
<div><br>
</div>
<div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;"><br>
<br>
Timofeev Dmitry<br>
VoIP Engineer<br>
Linux, Asterisk, Freeswitch, Cisco solutions<br>
Skype: itsroot<br>
icq: 227227933<br>
<br>
<br>
</div>
</div>
<br>
<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>