<div dir="ltr"><div><div><div>Thanks a lot, Bogdan.<br></div>The flag has been implemented and works as expected.<br><br></div>Best regards,<br></div>Yuri<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 4, 2016 at 4:26 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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">
<tt>Hi Yuri,<br>
<br>
That 477 is a result of a failed send (opensips was not able to
send out the requests) ; failure route is triggered by negative
replies after the request was sent out (this is why you do not see
it there).<br>
<br>
But, if you use the 0x02 flag in t_relay()<br>
<a href="http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294529" target="_blank">http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294529</a><br>
<br>
you can see the failure in the script (t_relay() will return with
negative code) and you can do your own replying there.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
<div>On 04.05.2016 06:19, Yuri Ritvin wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
I'm looking into a way to convert a response code "477
Send failed" into "404".<br>
</div>
It looks like the failure_route doesn't take care of the
"477" cases (at least in ver.2.2).<br>
</div>
Is it by design or something is missing in the picture ?<br>
<br>
</div>
Thank you.<br>
</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>
</blockquote></div><br></div>