<html><body bgcolor="#FFFFFF"><div>I've found that I get this error when I don't properly listen for asterisk responses to my commands in my agi scripts. Anytime you send a command to asterisk from an agi script, asterisk sends a response to the script with the result of the command (i.e a 200 ok response if asterisk was able to properly execute the command). If your script doesn't properly handle these responses, you get the error mentioned below. </div><div><br></div><div>It's never caused any of my calls to drop, though. Try turning on AGI debug to see if this is the case for you. </div><div><br><div><br></div><br><div>Thanks,</div><div>--Warren Selby</div></div><div><br>On Jan 26, 2010, at 5:11 AM, "Lee Archer" <<a href="mailto:Lee.Archer@thebigword.com">Lee.Archer@thebigword.com</a>> wrote:<br><br></div><div><span></span></div><blockquote type="cite"><div>
<!-- Converted from text/rtf format -->
<p dir="LTR"><span lang="en-gb"><font face="Calibri">Hi, does anyone have an info into what</font></span><span lang="en-gb"><font face="Calibri"></font></span><span lang="en-gb"> <font face="Calibri">c</font></span><span lang="en-gb"><font face="Calibri">ould cause</font></span><span lang="en-gb"></span></p>
<p dir="LTR"><span lang="en-gb"><font face="Calibri">[Nov 28 14:24:48] ERROR[11964] utils.c: write() returned error: Broken pipe</font></span></p>
<p dir="LTR"><span lang="en-gb"><font face="Calibri">[Nov 28 14:25:08] ERROR[12540] utils.c: write() returned error: Broken pipe</font></span></p>
<p dir="LTR"><span lang="en-gb"><font face="Calibri">[Nov 28 14:25:08] ERROR[12540] utils.c: write() returned error: Broken pipe</font></span></p>
<p dir="LTR"><span lang="en-gb"><font face="Calibri">[Nov 28 14:26:23] ERROR[13098] utils.c: write() returned error: Broken pipe</font></span><span lang="en-gb"></span></p>
<p dir="LTR"><span lang="en-gb"></span><span lang="en-gb"></span></p>
<p dir="LTR"><span lang="en-gb"><font face="Calibri">Is it a write process or a problem with one of the scripts I am running? I am seeing this over and over again and experience call drops on a percentage of calls.</font></span><span lang="en-gb"></span></p>
<p dir="LTR"><span lang="en-gb"><font face="Calibri">Thanks</font></span></p>
<p dir="LTR"><span lang="en-gb"><font face="Calibri">Lee</font></span><span lang="en-gb"></span></p>
</div></blockquote><blockquote type="cite"><div><span>-- </span><br><span>_____________________________________________________________________</span><br><span>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --</span><br><span></span><br><span>asterisk-users mailing list</span><br><span>To UNSUBSCRIBE or update options visit:</span><br><span> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users"><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></a></span></div></blockquote></body></html>