From: Joshua C. Colp Date: Mon, 12 Oct 2020 10:30:52 +0000 (-0300) Subject: asterisk: Add verbose message stating support status. X-Git-Tag: 17.9.0-rc1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=680e07d514937b51304268ac65a0a4cb13a9684a;p=thirdparty%2Fasterisk.git asterisk: Add verbose message stating support status. This change outputs a message at startup and when a remote console is connected stating that this branch is no longer receiving bug fixes and to consult the Asterisk Versions wiki page for status information. Change-Id: I6b8a77d33e338a3e52dd65f998d8a07e4d16aa2e --- diff --git a/main/asterisk.c b/main/asterisk.c index a028611dba..94d791b9e7 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -307,6 +307,10 @@ int daemon(int, int); /* defined in libresolv of all places */ "This is free software, with components licensed under the GNU General Public\n" \ "License version 2 and other licenses; you are welcome to redistribute it under\n" \ "certain conditions. Type 'core show license' for details.\n" \ + "=========================================================================\n" \ + "Please note that this version of Asterisk no longer receives bug fixes.\n" \ + "Consult the following URL for Asterisk version support status information:\n" \ + "https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions\n" \ "=========================================================================\n", ast_get_version()) \ static int ast_socket = -1; /*!< UNIX Socket for allowing remote control */ @@ -4193,6 +4197,12 @@ static void asterisk_daemon(int isroot, const char *runuser, const char *rungrou run_startup_commands(); ast_sd_notify("READY=1"); + ast_verb(0, COLORIZE_FMT "\n", COLORIZE(COLOR_RED, 0, "=========================================================================")); + ast_verb(0, COLORIZE_FMT "\n", COLORIZE(COLOR_RED, 0, "Please note that this version of Asterisk no longer receives bug fixes.")); + ast_verb(0, COLORIZE_FMT "\n", COLORIZE(COLOR_RED, 0, "Consult the following URL for Asterisk version support status information:")); + ast_verb(0, COLORIZE_FMT "\n", COLORIZE(COLOR_RED, 0, "https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions")); + ast_verb(0, COLORIZE_FMT "\n", COLORIZE(COLOR_RED, 0, "=========================================================================")); + ast_verb(0, COLORIZE_FMT "\n", COLORIZE(COLOR_BRGREEN, 0, "Asterisk Ready.")); logger_queue_start();