OK. I was able to edit /etc/init.d/asterisk and add vvvc to the startup
options (its now asterisk -p -I vvvgc) but now wherever I start the
service, the CLI is not able to be quit without stopping the service. It
seems that c is required for the colour, but it implies f which doesnt
allow you to quit the console. If I install centos on a machine, and yum
install asterisk, this behavior is not the same. Colour works, and you get
the normal prompt to login to the machine without being stuck in the
asterisk CLI. Any ideas?
-Darryl
From: Chris Abnett [mailto:[email protected]]
Sent: April 13, 2010 8:58 PM
To: 'AstLinux Users Mailing List'
Subject: Re: [Astlinux-users] Asterisk CLI Questions
I totally agree about the color.. I looked at the asterisk init script and
color was not disabled.. in fact I was also missing syntax highlighting in
nano and figured out that also.. Ill try some different things on my
devel server and see if I can get color.. but I think it has to do with the
terminal type that asterisk is running under
it may not be a color
compatible terminal
-Christopher
From: Darryl Chandler [mailto:[email protected]]
Sent: Tuesday, April 13, 2010 8:36 PM
To: 'AstLinux Users Mailing List'
Subject: Re: [Astlinux-users] Asterisk CLI Questions
Ok, Ill check the GUI for the verbosity level tomorrow. Looking at a
production server we have, asterisk shows in ps aux as:
/usr/sbin/asterisk -U asterisk -G asterisk -vvvg c Do you know if it can
be set to run the same way in astlinux? Im sure youd agree its easier to
troubleshoot with the colour enabled, and having to stop/start asterisk
isnt realistic in a production environment.
Thanks.
-Darryl
From: Chris Abnett [mailto:[email protected]]
Sent: April 13, 2010 4:24 PM
To: 'AstLinux Users Mailing List'
Subject: Re: [Astlinux-users] Asterisk CLI Questions
I found the only way to enable the color on the console was to shut down
asterisk and restart it with the c console option..
I on lt do this on systems that I am working as developing and not on
production because it will stop asterisk and restart it.. and of course once
done you have to reboot and start it in background
Otherwise I also have no color
There is an option in the config file and I belive in lonnies GUI to set
the verbosity level and it survives reboots
-Christopher
From: Darryl Chandler [mailto:[email protected]]
Sent: Tuesday, April 13, 2010 3:43 PM
To: 'AstLinux Users Mailing List'
Subject: [Astlinux-users] Asterisk CLI Questions
Hi guys, I have 2 questions to ask about the Asterisk CLI environment once
astlinux starts up:
Ø The colour isnt showing up in the asterisk CLI on the console or ssh
connections. Is this normal, or is there an option to enable it?
Ø Is there a way to core set verbose 3 by default? Our regular servers
(non-ram disk/image) save this setting once set throughout reboots.
Currently, every time the machine reboots, verbosity is back to 0.
Thanks!
-Darryl
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].