<div>Julien,</div><div><br></div>I have been catching it in failure_route and sending it on up with this:<div><div>        if (t_check_status(&quot;^503$&quot;)) {</div><div>                t_reply(&quot;503&quot;, &quot;Service Unavailable&quot;);</div>

<div>                exit;</div><div>        }</div><div><div><br></div><div>I think you could use t_reply(&quot;503&quot;, $(&lt;reply&gt;rr));   (note the use of &lt;reply&gt; to indicate the reply context <a href="http://www.opensips.org/Resources/DocsCoreVar16">see usage examples near the top of this link:</a> ) to have it use the original reason text instead of always sending &quot;Service Unavailable&quot; no matter what reason came with the 503. I haven&#39;t tried it yet myself.</div>

<div>I&#39;m doing this because I&#39;m just using it as a proxy to mangle headers and not decide where to go next. So I really do just want to pass the response back to the server doing the routing logic. It would seem passing the 503 would be the normal behavior in this case. Plus like the situation of Julien which I also have, where the upstream routers are not properly handling the diff between a 500 and 503.</div>

<div><br></div><div>So I agree that it would be nice if there were a param and/or var that could be set for the desired behavior like the invite timeout settings for tm.</div></div><div><br></div><div>Bogdan, </div><div>
<br>
</div><div>Is &quot;disable_503_translation&quot; ( from the subject of the link you posted ) an actual parameter (un)documented?</div><div><br></div><div class="gmail_quote">On Thu, Oct 7, 2010 at 2:44 PM, thrillerbee <span dir="ltr">&lt;<a href="mailto:thrillerbee@gmail.com">thrillerbee@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Bogdan,<div><br></div><div>Is this or could this be configurable?  It, unfortunately, breaks a lot of existing applications.</div>

<div><br></div><div>Thanks.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Oct 7, 2010 at 1:15 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Julien,<br>
<br>
see:<br>
<a href="http://lists.opensips.org/pipermail/users/2010-September/014505.html" target="_blank">http://lists.opensips.org/pipermail/users/2010-September/014505.html</a><br>
<br>
Regards,<br>
Bogdan<br>
<div><div></div><div><br>
Julien Chavanton wrote:<br>
&gt; Hi, is there any reason why Opensips would replace 503 with 500 ?<br>
&gt;<br>
&gt; The UA initiating the call expect 503 to reroute somewhere else<br>
&gt;<br>
&gt; INVITE :<br>
&gt;<br>
&gt;  10.0.20.14(UA) -&gt; 10.2.0.1(Proxy) -&gt; 10.0.4.202(UA)<br>
&gt;<br>
&gt; RESPONSE :<br>
&gt;<br>
&gt; U <a href="http://10.0.4.202:5060" target="_blank">10.0.4.202:5060</a> -&gt; <a href="http://10.2.0.1:5060" target="_blank">10.2.0.1:5060</a><br>
&gt; SIP/2.0 503 Service Unavailable.<br>
&gt;<br>
&gt; U <a href="http://10.2.0.1:5060" target="_blank">10.2.0.1:5060</a> -&gt; <a href="http://10.0.20.14:53584" target="_blank">10.0.20.14:53584</a><br>
&gt; SIP/2.0 500 Service Unavailable.<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Bootcamp<br>
15 - 19 November 2010, Edison, New Jersey, USA<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<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>
</blockquote></div><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></div>