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

Tilghman Lesher tilghman at meg.abyt.es
Mon Jan 24 04:31:33 CST 2011


On Monday 24 January 2011 04:09:31 Olivier wrote:
> 2011/1/23 Tzafrir Cohen <tzafrir.cohen at xorcom.com>
> 
> > On Thu, Jan 20, 2011 at 06:22:23PM +0000, A J Stiles wrote:
> > > On Thursday 20 Jan 2011, JR Richardson wrote:
> > > > 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.
> >
> > In short:
> > 
> > A. Don't re-invent start-stop-daemon.
> > 
> > B. Let's just move to upstart/systemd so there won't be a need for
> > this stupid guardian "safe" asterisk.
> 
> All these reasons seem fine for me.
> So the remaining question is "how can we still get colors with ssh
> console ?".
> Is it compliant with start-stop-daemon, for instance ?

Why not just use the start script included with Asterisk?  I solved this
exact problem a while back, so unless somebody has broken the script
since, it should still be working.

-- 
Tilghman



More information about the asterisk-users mailing list