diff --git a/contrib/scripts/safe_asterisk b/contrib/scripts/safe_asterisk index 60d9806..39d0ceb 100644 --- a/contrib/scripts/safe_asterisk +++ b/contrib/scripts/safe_asterisk @@ -125,6 +125,9 @@ if test -n "$TTY" && test "$TTY" != "no"; then fi ASTARGS="${ASTARGS} -vvvg" if test "$CONSOLE" != "no"; then + # If TERM is not set, the rasterisk would get no color. + # Set to safe default for BSD and Linux. + test -z "$TERM" && export TERM=xterm ASTARGS="${ASTARGS} -c" fi fi