aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-15 13:05:45 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-15 13:05:45 +0000
commit671bf3bba58cdfa23782b8f2f028f9b08f8d9a4c (patch)
treec073869edc69f3f65bf4789b69165f7724a8dc76 /main/asterisk.c
parenta6f1dc000a8ccd3a09cf0bde7f13742f1e18c554 (diff)
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 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r--main/asterisk.c4
1 files changed, 4 insertions, 0 deletions
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);