[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 15:42:32 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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:                     acknowledged
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 15:42 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 15:42 lmadsen        Description Updated                          
2010-10-05 15:42 lmadsen        Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list