[OpenSIPS-Users] Startup event

Bogdan-Andrei Iancu bogdan at opensips.org
Sat Apr 23 00:34:07 CEST 2016


Hi Tito,

You can use the startup route and do any kind of processing there 
(including firing events):
  http://www.opensips.org/Documentation/Script-Routes-2-1#toc7

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 22.04.2016 23:58, Tito Cumpen wrote:
> Group,
>
> 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.
>
> Thanks,
> Tito
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160423/1dc53d90/attachment.htm>


More information about the Users mailing list