[asterisk-commits] russell: branch 1.4 r85545 - /branches/1.4/main/asterisk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 15 08:05:45 CDT 2007
Author: russell
Date: Mon Oct 15 08:05:45 2007
New Revision: 85545
URL: http://svn.digium.com/view/asterisk?view=rev&rev=85545
Log:
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)
Modified:
branches/1.4/main/asterisk.c
Modified: branches/1.4/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/asterisk.c?view=diff&rev=85545&r1=85544&r2=85545
==============================================================================
--- branches/1.4/main/asterisk.c (original)
+++ branches/1.4/main/asterisk.c Mon Oct 15 08:05:45 2007
@@ -1764,6 +1764,10 @@
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);
More information about the asterisk-commits
mailing list