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 <[email protected]> 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
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to