ast_set_priority: Unable to set normal priority


#1

While running any AGI scripts I get the following warning:

AGI Tx >> orge> AGI Rx << Mar 31 11:06:36 WARNING[2363]: asterisk.c:802 ast_set_priority: Unable to set normal priority AGI Tx >> 510 Invalid or unknown command

Sometimesit results in script misbehaviour, such as not playing sound via stream file. However, when I launched asterisk as root the problem was gone, so it has something to do with nice.
Is there solution out there? :question: