[asterisk-bugs] [Asterisk 0018097]: unexpected output from command line, when issuing commands from shell
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Oct 13 07:25:24 CDT 2010
A NOTE has been added to this issue.
======================================================================
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: SWP-2337
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-13 07:25 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.
======================================================================
----------------------------------------------------------------------
(0127937) junky (manager) - 2010-10-13 07:25
https://issues.asterisk.org/view.php?id=18097#c127937
----------------------------------------------------------------------
Is
/usr/sbin/asterisk -nrx "database show foo" > test.txt
works like you expected?
(n for disable ANSI colors)
Issue History
Date Modified Username Field Change
======================================================================
2010-10-13 07:25 junky Note Added: 0127937
======================================================================
More information about the asterisk-bugs
mailing list