<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><tt>Hi solarmon,<br>
</tt></p>
<p><tt>I don't immediately recall such a mechanism in any of the
modules / core logic.<br>
However, you have the often underrated $shv global variables,
which allow you<br>
can implement some remarkable piece of logic! For example:</tt></p>
<p><tt>* "drain" mode, where the server stops accepting new calls,
in preparation<br>
for maintenance<br>
* test out a feature or a change in production while retaining
the ability to quickly<br>
revert back if things go south (optionally, you can do this
for a subset of users!)<br>
</tt></p>
<p><tt>Best regards,<br>
</tt></p>
<p><tt>[1]: </tt><tt><a
href="https://opensips.org/html/docs/modules/3.1.x/cfgutils.html#mi_shv_set">https://opensips.org/html/docs/modules/3.1.x/cfgutils.html#mi_shv_set</a></tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS Summit, Amsterdam, May 2020
<a class="moz-txt-link-abbreviated" href="http://www.opensips.org/events">www.opensips.org/events</a>
OpenSIPS Bootcamp, Miami, March 2020
<a class="moz-txt-link-abbreviated" href="http://www.opensips.org/training">www.opensips.org/training</a></pre>
<div class="moz-cite-prefix">On 20.01.2020 16:54, solarmon wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOXfywMuo=6v8PVLq=US1L6QSt4S6GSq8yDW6tYxWB12OOONUQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi,<br>
<div><br>
</div>
<div>I have an opensips two node cluster, and using the
dispatcher module for 'internal' and 'external' endpoints.</div>
<div><br>
</div>
<div>What is the recommended graceful method to put this
opensips cluster in maintenance so that current calls are not
affected. The overall effect I am looking for is for the
opensips cluster not to respond to SIP Options pings from the
endpoints.</div>
<div><br>
</div>
<div>Is it a simple case of making these endpoints 'inactive'?
Will this tell opensips not to respond to SIP Options pings
FROM those endpoints?</div>
<div><br>
</div>
<div>Thank you.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>
</body>
</html>