From ac808d6bde47ded2e36eb4af4380d5cad8547488 Mon Sep 17 00:00:00 2001 From: russell Date: Sat, 13 Oct 2007 05:53:19 +0000 Subject: Merged revisions 85533 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r85533 | russell | 2007-10-13 01:48:10 -0400 (Sat, 13 Oct 2007) | 12 lines Fix an issue with console verbosity when running asterisk -rx to execute a command and retrieve its output. The issue was that there was no way for the main Asterisk process to know that the remote console was connecting in the -rx mode. The way that James has fixed this is to have all remote consoles muted by default. Then, regular remote consoles automatically execute a CLI command to unmute themselves when they first start up. (closes issue #10847) Reported by: atis Patches: asterisk-consolemute.diff.txt uploaded by jamesgolovich (license 176) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85534 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asterisk/logger.h') diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h index d99dfe74c..2cfc8ecc3 100644 --- a/include/asterisk/logger.h +++ b/include/asterisk/logger.h @@ -85,7 +85,7 @@ int ast_unregister_verbose(void (*verboser)(const char *string)); void ast_console_puts(const char *string); void ast_console_puts_mutable(const char *string); -void ast_console_toggle_mute(int fd); +void ast_console_toggle_mute(int fd, int silent); #define _A_ __FILE__, __LINE__, __PRETTY_FUNCTION__ -- cgit v1.2.3