Can any body give am a helping hand how to modify asterisk startup
script to start it with let say nice -5
I think I'll need to modify something in the beginning in this section,
but I don't exactly know how.
depend() {
need net
use zaptel
}
start() {
local OPTS USER GROUP
if [[ -n "${ASTERISK_NICE}" ]]; then
if [[ ${ASTERISK_NICE} -ge -20 ]] && \
[[ ${ASTERISK_NICE} -le 19 ]]; then
OPTS="--nicelevel ${ASTERISK_NICE}"
else
eerror "Nice value must be between -20 and 19"
fi
Asterisk run at the same nice level "0" as apache and when the fax comes
in sometimes I get a lot of bad lines.
So, adjusting nice level to -5 for asterisk might help.
Asterisk intercept faxes and forwards it to a fax extension.
--
#Joseph
--
[email protected] mailing list