On Tue, Jul 04, 2006 at 05:10:35PM +0200, Robert Michel wrote:
> Salve *!
> 
> I'm using asterisk for a while and now I want to have a colord CLI.
> I have apt-get install asterisk/testing, that is asterisk 1.2.7.1
> 
> I use Debian stable/testing on a vserver with any /dev/tty*.
> So, of course, I comment out "#TTY=9" inside /usr/sbin/safe_asterisk.
> 
> /etc/init.d/asterisk start
>  calls
> /usr/sbin/safe_asterisk
> 
> root      5757     1  0  1149 1348   0 16:08 pts/30   00:00:00 
> /bin/sh/usr/sbin/safe_asterisk -g -vvv -U asterisk
> asterisk  5758  5757  0  4502 7992   0 16:08 pts/30   00:00:00  
> \_/usr/sbin/asterisk -g -vvv -U asterisk
> 
> 
> When I start asterisk by hand with "asterisk -cgvvv" 
> I got a colored CLI ;) 

Some RTFM from asterisk(8):

       -c     Provide  a  control console on the calling terminal.  Specifying
              this option implies -f and will cause asterisk to no longer fork
              or detach from the controlling terminal.

The fact that you only get colors there i a byproduct. -c simply tells asterisk 
not to act as a daemon.

-- 
Tzafrir Cohen      sip:[EMAIL PROTECTED]
icq#16849755       iax:[EMAIL PROTECTED]
+972-50-7952406           
[EMAIL PROTECTED]  http://www.xorcom.com
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to