2 msgRe: x100p card or similar in India
2 msgSangoma and Voicetronix cards
5 msgLone worker system
1 msg'module reload' question
1 msgtest message please do not reply and clog up th...
3 msgEscape characters or replace function
1 msgDigium AEX410
14 msgAnyone Know How to Have Asterisk Work LikeGranC...
2 msgDear asterisk-users May 85% 0FF

Use safe_asterisk manually,you get colors in CL...
\ Mark Hamilton (11 May 2008)
. \ Mark Hamilton (11 May 2008)
. . \ (Tony Mountifield) (11 May 2008)
. \ Mark Hamilton (11 May 2008)

2 msgG.722 for polycom
2 msgztdummy problems
8 msgUnable to build Hpec on Zaptel 1.4.10.1
10 msgCalls on E1 TDMoE span are dropped at random
3 msgPolycom Advanced Features
5 msgPolycom causes conference to fail
3 msgDTMF lose with TE-121F
25 msgBest Linux distribution to use in Asterisk server
2 msgAsterisk ZRTP?
1 msgRe: 1.4.17 - Breaks park announce?
Subject:Re: Use safe_asterisk manually,you get colors in CLI. Crontab it, you don't.
Group:Asterisk-users
From:Mark Hamilton
Date:11 May 2008


 
You rock!
Thank you very much, that worked!

-------- Original Message --------
Subject: Re: [asterisk-users] Use safe_asterisk manually, you get
colors in CLI. Crontab it, you don't.
From: tony (Tony Mountifield)
Date: Sun, May 11, 2008 7:48 am
To: asterisk-users

In article
<20080511004113.f1989b38ea6175db3efe8e52dbe2a6b2.6f4997013e.wbe>,
Mark Hamilton <mark.h> wrote:
> Colors in the CLI have helped me ignore notices/warnings, etc and
> concentrate better on stuff that I want to look out for during testing.
>
> I've noticed that a simple restart would not bring back the colors in
> the CLI. Asterisk needs to either start on boot, or start by way of
> safe_asterisk to have colors in the CLI.
>
> To top this, I always restart asterisk nightly.
> My restart script code:
>
> #!/bin/bash

Try adding here:

export TERM=linux

> time=`date`
> echo "I ran at $time" >> /root/asterisklog
> /usr/sbin/asterisk -rx "stop now"
> /usr/sbin/safe_asterisk
>
> This basically shows that safe_asterisk is being defined, YET everytime
> the restart script is executed by crontab, I don't see the colors.
> Unless ofcourse I manually stop now, and safe_asterisk.
>
> What gives?
> I just want to have an auto restart, and CLI with colors!

Cheers
Tony
--
Tony Mountifield
Work: tony - http://www.softins.co.uk
Play: tony - http://tony.mountifield.org

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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


© 2004-2008 readlist.com