[asterisk-bugs] [Asterisk 0010847]: executing CLI command from command line have bad verbosity

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Oct 13 00:27:32 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10847 
====================================================================== 
Reported By:                atis
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10847
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            1.4.10  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-28-2007 13:42 CDT
Last Modified:              10-13-2007 00:27 CDT
====================================================================== 
Summary:                    executing CLI command from command line have bad
verbosity
Description: 
I have asterisk running with -vvvd. When i execute command from command
line with "-rx" i get "Verbosity is at least 3" all the times, and
sometimes i get output of CLI for some period (larger when asterisk is
under load).

I would generally expect the "-rx" to have executed with verbosity 0 and
debug 0. If i would want to add some verbosity i would do "-v" and "-d" as
much as i need.

There is option "-m" that is supposed to mute CLI output, but it doesn't
seems to work.


====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 10-13-07 00:27  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 85533

U   branches/1.4/include/asterisk/logger.h
U   branches/1.4/main/asterisk.c
U   branches/1.4/main/cli.c

------------------------------------------------------------------------
r85533 | russell | 2007-10-13 00:27:31 -0500 (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 http://bugs.digium.com/view.php?id=10847)
Reported by: atis
Patches: 
      asterisk-consolemute.diff.txt uploaded by jamesgolovich (license
176)

------------------------------------------------------------------------ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-13-07 00:27  svnbot         Note Added: 0071915                          
10-13-07 00:27  svnbot         Status                   feedback => assigned
10-13-07 00:27  svnbot         Assigned To              qwell => russell    
======================================================================




More information about the asterisk-bugs mailing list