diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-13 05:48:10 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-13 05:48:10 +0000 |
commit | 503546a95baecea66fe46a3d224ad39a1ef3b36e (patch) | |
tree | 7f70638fc6d0dac088474472e719face91d4847e /include | |
parent | 04b29acc66b27c26c51f1bb2ee44aeba9a22f89a (diff) |
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/branches/1.4@85533 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/logger.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h index b4737d06c..63b3cdbb0 100644 --- a/include/asterisk/logger.h +++ b/include/asterisk/logger.h @@ -83,7 +83,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__ |