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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 10 11:34:05 CST 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18097 
====================================================================== 
Reported By:                atheos
Assigned To:                bbryant
====================================================================== 
Project:                    Asterisk
Issue ID:                   18097
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-2337 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 290289 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-10-05 11:51 CDT
Last Modified:              2010-11-10 11:34 CST
====================================================================== 
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-11-10 11:34 bbryant        Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list