[asterisk-bugs] [Asterisk 0019213]: bug in contrib/scripts/safe_asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 4 02:12:09 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19213 
====================================================================== 
Reported By:                lefoyer
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19213
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.18 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-03 04:05 CDT
Last Modified:              2011-05-04 02:12 CDT
====================================================================== 
Summary:                    bug in contrib/scripts/safe_asterisk
Description: 
safe_asterisk script not check running Asterisk because he returns
unprintable characters. test Centos 5.5 and Debian squeeze.

test on Centos 5.5
/usr/sbin/asterisk -rx 'core show version'|cat -t
^[[0;37mAsterisk 1.6.2.13 built by root @
rpmbuild32-2.elastix.palosanto.com on a i686 running Linux on 2010-10-03
20:56:35 UTC
^[[0m

test on Debian squeeze
/usr/sbin/asterisk -rx 'core show version'|cat -t
^[[0;37mAsterisk 1.8.3-1digium1~squeeze built by pbuilder @ nighthawk on a
x86_64 running Linux on 2011-03-17 15:31:24 UTC
^[[0m


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

---------------------------------------------------------------------- 
 (0134394) lefoyer (reporter) - 2011-05-04 02:12
 https://issues.asterisk.org/view.php?id=19213#c134394 
---------------------------------------------------------------------- 
-nrx work correctly

Sample: 
root at ns:~# /usr/sbin/asterisk -nrx "core show version"|cat -t
Asterisk 1.8.3-1digium1~squeeze built by pbuilder @ nighthawk on a x86_64
running Linux on 2011-03-17 15:31:24 UTC
root at ns:~# 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-04 02:12 lefoyer        Note Added: 0134394                          
======================================================================




More information about the asterisk-bugs mailing list