On 21.01.2020 14:21, solarmon wrote:
However, now I have checked our opensips.cfg script (that was created
for us) it looks like it has been hardcoded in:
route[handle_pings]
{
# keepalive notifies replied ok
if ( is_method("NOTIFY|OPTIONS") && !has_totag() && $rU==NULL) {
send_reply("200", "OK");
exit;
}
}
Exactly! That's where the ping responses are generated. You should
hook the "drain mode"
login somewhere before that block.
Best regards,
--
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