|Summary:||ASTERISK-13700: Console flooded with warnings|
|Reporter:||Thomas Omerzu (t-o)||Labels:|
|Date Opened:||2009-03-05 11:10:10.000-0600||Date Closed:||2011-06-07 14:07:48|
|Environment:||Attachments:||( 0) agi1.agi|
( 1) typescript.txt
|Description:||The console (verbose=3) gets flooded (>60 messages per second) with warning messages while an AGI uses the functions get_data or stream_file:|
WARNING: file.c:1246 waitstream_core: write() failed: Resource temporarily unavailable
WARNING: channel.c:1916 ast_waitfordigit_full: write() failed: Resource temporarily unavailable
****** ADDITIONAL INFORMATION ******
This occurs in 22.214.171.124
The problem does not exist in 1.4.22
|Comments:||By: Joshua C. Colp (jcolp) 2009-03-10 09:48:41|
Can you please attach an AGI that causes this issue to show up, plus a description of the call scenario (including when they potentially hang up), and complete console output. Thanks.
By: Thomas Omerzu (t-o) 2009-03-11 10:39:57
The attached agi1.agi, which is a modified version of the example agi agi-test.agi, produces the console output as shown in typescript.txt
The script is called via
exten => 2291,1,Answer()
exten => 2291,n,Wait(1)
exten => 2291,n,EAGI(agi1.agi)
exten => 2291,n,Hangup()
the shown error messages occur without any further user interaction.
By: Joshua C. Colp (jcolp) 2009-03-11 11:06:13
This issue is happening because you are using EAGI without actually handling the data it is giving you. If you aren't interested in the audio please use AGI and the warning message will go away.