[asterisk-bugs] [Asterisk 0018097]: unexpected output from command line, when issuing commands from shell

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 5 11:51:27 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18097 
====================================================================== 
Reported By:                atheos
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18097
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 290289 
Request Review:              
====================================================================== 
Date Submitted:             2010-10-05 11:51 CDT
Last Modified:              2010-10-05 11:51 CDT
====================================================================== 
Summary:                    unexpected output from command line, when issuing
commands from shell
Description: 
When issuing a shell command to asterisk, I'm getting non-standard output
after upgrading to 1.6.2.13 that I wasn't getting in 1.6.2.7

/usr/sbin/asterisk -rx "database show foo" > test.txt
using 1.6.2.7 in my test.txt, I'll have the expected "0 results found."
using 1.6.2.13+ I'll have the undesirable "^[[0;37m0 results found."

I believe this is related to terminal colors, but I have this disabled.
I'm using shell scripts to pattern match information in the asterisk
database, which  of course is greatly interrupted by this issue.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-05 11:51 atheos         New Issue                                    
2010-10-05 11:51 atheos         Asterisk Version          => SVN             
2010-10-05 11:51 atheos         Regression                => No              
2010-10-05 11:51 atheos         SVN Branch (only for SVN checkouts, not tarball
releases) => 1.8             
2010-10-05 11:51 atheos         SVN Revision (number only!) => 290289          
======================================================================




More information about the asterisk-bugs mailing list