<div dir="ltr">Bogdan,<div><br></div><div>Thank you for the tip. It works.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 22, 2016 at 6:34 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi Tito,<br>
<br>
You can use the startup route and do any kind of processing there
(including firing events):<br>
<a href="http://www.opensips.org/Documentation/Script-Routes-2-1#toc7" target="_blank">http://www.opensips.org/Documentation/Script-Routes-2-1#toc7</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">
<div>On 22.04.2016 23:58, Tito Cumpen wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Group,
<div><br>
</div>
<div>Is there a way to launch or subscribe to an opensips event
on startup or shutdown? I am looking to do this so I can add
active opensips servers to a management list or remove them
when they are down. I want to make sure they are up before
trying to access the http_fifo interface. The down state is
easier to deal with since monit can be used to verify is a
particular socket is down.</div>
<div><br>
</div>
<div>Thanks,<br>
Tito</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
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>
<br>
</div>
</blockquote></div><br></div>