<div>As I can see options_reply_codes is related to OPTIONS responses and that's not the problem</div><div><br></div><div>The problem is when OpenSIPS with dispatcher module receives 500 or 503 response for INVITE request and after then for some period that destination is marked offline.</div>
<div><br></div><div>OpenSIPS gives Service Unavailable response for further INVITE requests. After then when dispatcher gets some proper responses for OPTIONS it marks that destination online again and INVITES are forwarded (until next 503 is sent in response to INVITE and the story repeats)</div>
<div><br></div><div>The question is how to change that behavior, so one 503 response for INVITE from dispatcher destination don't make it marked offline for all other requests?</div><div><br></div><div><br><div class="gmail_quote">
2013/2/20 Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000">
<tt>Hi Adam,<br>
<br>
See the "options_reply_codes" parameter for the dispatcher module:<br>
<a href="http://www.opensips.org/html/docs/modules/1.9.x/dispatcher.html#id250429" target="_blank">http://www.opensips.org/html/docs/modules/1.9.x/dispatcher.html#id250429</a><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">
<br>
On 02/20/2013 12:31 PM, Adam Raszynski wrote:
</div></div><blockquote type="cite"><div><div class="h5">Hi
<div><br>
</div>
<div>When I use dispatcher module and it gets 50x response from
destination host it automatically marks that destination as
inactive for some time period</div>
<div><br>
</div>
<div>I only need to disable destinations when they don't respond
for OPTIONS probing</div>
<div><br>
</div>
<div>50x errors should not mark destinations as inactive</div>
<div><br>
</div>
<div>How to do this?</div>
<div><br>
</div>
<div>Kind Regards</div>
</div></div><pre><fieldset></fieldset>
_______________________________________________
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>
</div>
</blockquote></div><br></div>