from /etc/init.d/asterisk:
Allow configuration overrides in /etc/sysconfig/asterisk
CONFIG0=readlink $0
if [ “$CONFIG0” = “” ]; then
CONFIGFILE=/etc/sysconfig/basename $0
else
CONFIGFILE=/etc/sysconfig/basename $CONFIG0
fi
[ -x $CONFIGFILE ] && . $CONFIGFILE
shouldn´t it be “[ -f $CONFIGFILE ] && . $CONFIGFILE” <- this works for me to use /etc/sysconfig/asterisk
but I think the next time asterisk16-core is updated by yum - the init-script will be replaced.
right now I´m on: asterisk16-core-1.6.0.26-2_centos5
thx,
abdul