[asterisk-users] AGI connected to meetme conf gives Failed to write frame error

Chris Nestrud ccn at panix.com
Mon Nov 5 00:47:30 CST 2007


I am using the Debian package of asterisk which is version
1:1.4.13~dfsg-1. I have created an AGI script which plays files in
response to external events and am using a callfile to connect it to a
meetme conference. The first two or three files generally play
correctly, but after that point almost all of the attempts to play files
fail with this error.

[Nov  4 22:10:41] WARNING[23300]: file.c:638 ast_readaudio_callback:
Failed to write frame 

Occasionally a file will correctly be played to the meetme conference.

The "agi debug" command shows no errors from the AGI script as it is
executing.

Through research, it looks like this error is caused by situations such as
trying to play a file when the caller has disconnected. In this case the meetme
conference is always active, and the AGI script remains active and
attempts to play additional files.

I welcome suggestions on how to avoid or work around this error.

Chris
-- 
Chris Nestrud
Email: ccn at panix.com
http://www.panix.com/~ccn/




More information about the asterisk-users mailing list