<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hey Steve,<br><br>I got following error when i change AGI to System <br><br><br>ubuntu-test*CLI&gt;<br>&nbsp; == Using SIP RTP CoS mark 5<br>&nbsp;&nbsp;&nbsp; -- Executing [7770@from-sip:1] System("SIP/7623-00000029", "/var/lib/asterisk/agi-bin/allpage.agi") in new stack<br>&nbsp;&nbsp;&nbsp; -- Remote UNIX connection<br>&nbsp;&nbsp;&nbsp; -- Remote UNIX connection disconnected<br>&nbsp;&nbsp;&nbsp; -- Remote UNIX connection<br>&nbsp;&nbsp;&nbsp; -- Remote UNIX connection disconnected<br>&nbsp; == Using SIP RTP CoS mark 5<br>[Mar 13 09:43:36] NOTICE[18985]: channel.c:5167 __ast_request_and_dial: Unable to request channel SIP/7657<br>[Mar 13 09:43:36] ERROR[18985]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe<br>[Mar 13 09:43:36] ERROR[18985]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe<br>[Mar 13 09:43:36] ERROR[18985]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe<br>&nbsp;&nbsp;&nbsp; -- Executing [7770@from-sip:2] MeetMe("SIP/7623-00000029", "7770,dq") in new stack<br>&nbsp;&nbsp;&nbsp; -- Created MeetMe conference 1023 for conference '7770'<br>&nbsp;&nbsp;&nbsp; -- Hungup 'DAHDI/pseudo-252942591'<br>&nbsp; == Spawn extension (from-sip, 7770, 2) exited non-zero on 'SIP/7623-00000029'<br>[Mar 13 09:43:55] ERROR[18918]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe<br>[Mar 13 09:43:55] ERROR[18918]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe<br>[Mar 13 09:43:55] ERROR[18918]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe<br><br><br><br>&gt; Date: Fri, 11 Mar 2011 13:58:43 -0800<br>&gt; From: asterisk.org@sedwards.com<br>&gt; To: asterisk-users@lists.digium.com<br>&gt; Subject: Re: [asterisk-users] Asterisk 1.8 AGI error ast_carefulwrite: write() returned error<br>&gt; <br>&gt; On Fri, 11 Mar 2011, satish patel wrote:<br>&gt; <br>&gt; &gt; We upgrade asterisk from 1.2.x to 1.8.2.3 and my one of agi script <br>&gt; &gt; doesn't working We have allpage.agi script for paging system on all <br>&gt; &gt; polycom 501 but after upgrade it broke. Any idea what is this error ?<br>&gt; <br>&gt; &gt; [Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() <br>&gt; &gt; returned error: Broken pipe<br>&gt; <br>&gt; Without source code, I'd guess you are violation the AGI protocol.<br>&gt; <br>&gt; What language are you using?<br>&gt; <br>&gt; which AGI library are you using?<br>&gt; <br>&gt; Can you reduce your source code to a simple application that reliably reproduces <br>&gt; the error.<br>&gt; <br>&gt; Can you post the source to the simplified application?<br>&gt; <br>&gt; -- <br>&gt; Thanks in advance,<br>&gt; -------------------------------------------------------------------------<br>&gt; Steve Edwards       sedwards@sedwards.com      Voice: +1-760-468-3867 PST<br>&gt; Newline                                              Fax: +1-760-731-3000<br>&gt; <br>&gt; --<br>&gt; _____________________________________________________________________<br>&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&gt;                http://www.asterisk.org/hello<br>&gt; <br>&gt; asterisk-users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;    http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                               </body>
</html>