path: asterisk_1:22.8.2+dfsg+~cs6.15.60671435-1/contrib/scripts/ast_logescalator
LOG_DIR=/var/log/asterisk
if [ "$(pidof asterisk)" != "" ] ; then
	CONFIG_DIR=`asterisk -rx "core show settings" | sed -n -r -e "s/^\s*Configuration\s+directory:\s+(.*)$/\1/gp"`
	LOG_DIR=`asterisk -rx "core show settings" | sed -n -r -e "s/^\s*Log\s+directory:\s+(.*)$/\1/gp"`
