On Monday 24 January 2011 04:09:31 Olivier wrote: > 2011/1/23 Tzafrir Cohen <[email protected]> > > > 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 -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
