<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body 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 class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Routes-2-1#toc7">http://www.opensips.org/Documentation/Script-Routes-2-1#toc7</a>   <br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 22.04.2016 23:58, Tito Cumpen wrote:<br>
    </div>
    <blockquote
cite="mid:CANZPVB733ET4qY8-xCkz62m-4CWB=iCd25r60bbA-PK6WPjOoQ@mail.gmail.com"
      type="cite">
      <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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <br>
  </body>
</html>