[asterisk-users] Asterisk 1.6 SSH Console Colors Debian Lenny

JR Richardson jmr.richardson at gmail.com
Thu Jan 20 12:01:37 CST 2011


Hi All,

I'm running * 1.6.0.28 on Debian Lenny.  The init'd script starts the
asterisk daemon not the safe_asterisk daemon so when asterisk is
running and I ssh tot he server then 'asterisk -vr' to attach to the
asterisk console there are no colors.  If I use the safe_asterisk
script to start asterisk, the colors are fine when I attach through
SSH.

I found this in the init script:

#----snip-----#
# Mon Jun 04 2007 Iñaki Baz Castillo <ibc at in.ilimit.es>
# - Eliminated SAFE_ASTERISK since it doesn't work as LSB script (it
could require a independent "safe_asterisk" init script).

# If you DON'T want Asterisk to start up with terminal colors, comment
# this out.
COLOR=yes
#----snop----#

Commenting out COLOR=yes has no effect.

The work around is to use the * 1.4 init script which does call
safe_asterisk daemon and things seem to work as expected with the
colors.

So my question is, will this impact the stability of the system in
reference to debian lenny using LSB scripts vs the older init scripts?

Or is there another work around to get ssh console colors using the
Debian * 1.6.0.28 LSB init script?

I also tried 'nocolor = no' in the [options] section of asterisk.conf
with no effect.

Thanks.

JR
-- 
JR Richardson
Engineering for the Masses



More information about the asterisk-users mailing list