From 3fa13625d55726a97f7b1ff8a8b594efdc66eaa9 Mon Sep 17 00:00:00 2001 From: russell Date: Mon, 15 Oct 2007 13:05:45 +0000 Subject: [PATCH] Make sure remote consoles unmute themselves again after reconnecting. (closes issue #10847) Reported by: atis Patches: console_unmute_on_reconnect.patch uploaded by atis (license 242) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@85545 614ede4d-c843-0410-af14-a771ab80d22e --- main/asterisk.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/asterisk.c b/main/asterisk.c index 873828e2f..a5f013912 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -1764,6 +1764,10 @@ static int ast_el_read_char(EditLine *el, char *cp) fprintf(stderr, "Reconnect succeeded after %.3f seconds\n", 1.0 / reconnects_per_second * tries); printf(term_quit()); WELCOME_MESSAGE; + if (!ast_opt_mute) + fdprint(ast_consock, "logger mute silent"); + else + printf("log and verbose output currently muted ('logger mute' to unmute)\n"); break; } else { usleep(1000000 / reconnects_per_second); -- 2.11.4.GIT