<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body 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 class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294529">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 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>
<div class="moz-cite-prefix">On 04.05.2016 06:19, Yuri Ritvin wrote:<br>
</div>
<blockquote
cite="mid:CAPmNrhDPeiuQj-dngws=HAcjgVzz6hHoxp4rt+Lpmz+gKk5FhA@mail.gmail.com"
type="cite">
<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 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>