File.c:830 ast_readaudio_callback: Failed to write frame


I have shifted form asterisk 1.4 to asterisk 11.6 and getting a lot of the warning messages mentioned below:

“file.c:830 ast_readaudio_callback: Failed to write frame”

Please help me in getting this fixed and guide me accordingly.


What is actually going wrong? If there are no other symptoms and it is not making the logs unusable, ignore it.

A warning like that either represents a bug in the code, or it represents a normal occurrence on a transition between two states.

Thanks For reply.
This was issue in AGI script. I enabled ‘agi set debug on’ command and found that an agi is geeting problem.