[OpenSIPS-Users] opensips - graceful maintenance mode?

solarmon solarmon at one-n.co.uk
Tue Jan 21 09:02:59 EST 2020


  Hi Liviu,

Actually, it looks like in our script we have route(handle_pings) called
right at the start.

route{

        route(handle_pings);

Thus, for the drain_mode code to work, doesn't it needs to be before
route(handle_pings)?

Thank you.

On Tue, 21 Jan 2020 at 13:06, Liviu Chircu <liviu at opensips.org> wrote:

> On 21.01.2020 15:01, solarmon wrote:
> > Can the drain_mode code just be put at the very start of the route {}
> > block?
>
> If you don't mind letting SIP scanners know when you're doing
> maintenance, sure.
>
> --
> Liviu Chircu
> www.twitter.com/liviuchircu | www.opensips-solutions.com
>
> OpenSIPS Summit, Amsterdam, May 2020
>    www.opensips.org/events
> OpenSIPS Bootcamp, Miami, March 2020
>    www.opensips.org/training
>
>
> _______________________________________________
> 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/20200121/8c77c961/attachment.html>


More information about the Users mailing list