Thank you very much!!<br>I&#39;m doing class 4 switching and for some reason all my customers expect a 503 as a slow down your sending me too much traffic. Not the I&#39;m broken.<br>Is the 500 the proper way to tell them to back off a little. Is there a header that should be used to tell them how much to back off?<br>

<br>Thanks again Bogdan for all your work and help you give everyone. I don&#39;t know how you keep up.<br><br>Dave<br><br><div class="gmail_quote">On Fri, Oct 8, 2010 at 4:32 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Dave,<br>
<br>
See: <a href="http://www.opensips.org/Resources/DocsCoreFcn16#toc34" target="_blank">http://www.opensips.org/Resources/DocsCoreFcn16#toc34</a>  (added the<br>
docs for this module)<br>
<br>
Regards,<br>
Bogdan<br>
<div class="im"><br>
Dave Singer wrote:<br>
&gt; Julien,<br>
&gt;<br>
&gt; I have been catching it in failure_route and sending it on up with this:<br>
&gt;         if (t_check_status(&quot;^503$&quot;)) {<br>
&gt;                 t_reply(&quot;503&quot;, &quot;Service Unavailable&quot;);<br>
&gt;                 exit;<br>
&gt;         }<br>
&gt;<br>
&gt; I think you could use t_reply(&quot;503&quot;, $(&lt;reply&gt;rr));   (note the use of<br>
&gt; &lt;reply&gt; to indicate the reply context see usage examples near the top<br>
</div>&gt; of this link: &lt;<a href="http://www.opensips.org/Resources/DocsCoreVar16" target="_blank">http://www.opensips.org/Resources/DocsCoreVar16</a>&gt; ) to<br>
<div class="im">&gt; have it use the original reason text instead of always sending<br>
&gt; &quot;Service Unavailable&quot; no matter what reason came with the 503. I<br>
&gt; haven&#39;t tried it yet myself.<br>
&gt; I&#39;m doing this because I&#39;m just using it as a proxy to mangle headers<br>
&gt; and not decide where to go next. So I really do just want to pass the<br>
&gt; response back to the server doing the routing logic. It would seem<br>
&gt; passing the 503 would be the normal behavior in this case. Plus like<br>
&gt; the situation of Julien which I also have, where the upstream routers<br>
&gt; are not properly handling the diff between a 500 and 503.<br>
&gt;<br>
&gt; So I agree that it would be nice if there were a param and/or var that<br>
&gt; could be set for the desired behavior like the invite timeout settings<br>
&gt; for tm.<br>
&gt;<br>
&gt; Bogdan,<br>
&gt;<br>
&gt; Is &quot;disable_503_translation&quot; ( from the subject of the link you posted<br>
&gt; ) an actual parameter (un)documented?<br>
&gt;<br>
&gt; On Thu, Oct 7, 2010 at 2:44 PM, thrillerbee &lt;<a href="mailto:thrillerbee@gmail.com">thrillerbee@gmail.com</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:thrillerbee@gmail.com">thrillerbee@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Bogdan,<br>
&gt;<br>
&gt;     Is this or could this be configurable?  It, unfortunately, breaks<br>
&gt;     a lot of existing applications.<br>
&gt;<br>
&gt;     Thanks.<br>
&gt;<br>
&gt;<br>
&gt;     On Thu, Oct 7, 2010 at 1:15 PM, Bogdan-Andrei Iancu<br>
</div><div class="im">&gt;     &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;         Hi Julien,<br>
&gt;<br>
&gt;         see:<br>
&gt;         <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>
&gt;<br>
&gt;         Regards,<br>
&gt;         Bogdan<br>
&gt;<br>
&gt;         Julien Chavanton wrote:<br>
&gt;         &gt; Hi, is there any reason why Opensips would replace 503 with<br>
&gt;         500 ?<br>
&gt;         &gt;<br>
&gt;         &gt; The UA initiating the call expect 503 to reroute somewhere else<br>
&gt;         &gt;<br>
&gt;         &gt; INVITE :<br>
&gt;         &gt;<br>
&gt;         &gt;  10.0.20.14(UA) -&gt; 10.2.0.1(Proxy) -&gt; 10.0.4.202(UA)<br>
&gt;         &gt;<br>
&gt;         &gt; RESPONSE :<br>
&gt;         &gt;<br>
</div>&gt;         &gt; U <a href="http://10.0.4.202:5060" target="_blank">10.0.4.202:5060</a> &lt;<a href="http://10.0.4.202:5060" target="_blank">http://10.0.4.202:5060</a>&gt; -&gt; <a href="http://10.2.0.1:5060" target="_blank">10.2.0.1:5060</a><br>


&gt;         &lt;<a href="http://10.2.0.1:5060" target="_blank">http://10.2.0.1:5060</a>&gt;<br>
<div class="im">&gt;         &gt; SIP/2.0 503 Service Unavailable.<br>
&gt;         &gt;<br>
</div>&gt;         &gt; U <a href="http://10.2.0.1:5060" target="_blank">10.2.0.1:5060</a> &lt;<a href="http://10.2.0.1:5060" target="_blank">http://10.2.0.1:5060</a>&gt; -&gt; <a href="http://10.0.20.14:53584" target="_blank">10.0.20.14:53584</a><br>


&gt;         &lt;<a href="http://10.0.20.14:53584" target="_blank">http://10.0.20.14:53584</a>&gt;<br>
<div class="im">&gt;         &gt; SIP/2.0 500 Service Unavailable.<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         ------------------------------------------------------------------------<br>
&gt;         &gt;<br>
&gt;         &gt; _______________________________________________<br>
&gt;         &gt; Users mailing list<br>
</div>&gt;         &gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div class="im">&gt;         &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;         &gt;<br>
&gt;<br>
&gt;<br>
&gt;         --<br>
&gt;         Bogdan-Andrei Iancu<br>
&gt;         OpenSIPS Bootcamp<br>
&gt;         15 - 19 November 2010, Edison, New Jersey, USA<br>
</div>&gt;         <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> &lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         Users mailing list<br>
&gt;         <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div class="im">&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>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Users mailing list<br>
</div>&gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div class="im">&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>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">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>
</div>--<br>
<div><div></div><div class="h5">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">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>
</div></div></blockquote></div><br>