<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><br> == Using SIP RTP CoS mark 5<br> -- Executing [7770@from-sip:1] System("SIP/7623-00000029", "/var/lib/asterisk/agi-bin/allpage.agi") in new stack<br> -- Remote UNIX connection<br> -- Remote UNIX connection disconnected<br> -- Remote UNIX connection<br> -- Remote UNIX connection disconnected<br> == 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> -- Executing [7770@from-sip:2] MeetMe("SIP/7623-00000029", "7770,dq") in new stack<br> -- Created MeetMe conference 1023 for conference '7770'<br> -- Hungup 'DAHDI/pseudo-252942591'<br> == 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>> Date: Fri, 11 Mar 2011 13:58:43 -0800<br>> From: asterisk.org@sedwards.com<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] Asterisk 1.8 AGI error ast_carefulwrite: write() returned error<br>> <br>> On Fri, 11 Mar 2011, satish patel wrote:<br>> <br>> > We upgrade asterisk from 1.2.x to 1.8.2.3 and my one of agi script <br>> > doesn't working We have allpage.agi script for paging system on all <br>> > polycom 501 but after upgrade it broke. Any idea what is this error ?<br>> <br>> > [Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() <br>> > returned error: Broken pipe<br>> <br>> Without source code, I'd guess you are violation the AGI protocol.<br>> <br>> What language are you using?<br>> <br>> which AGI library are you using?<br>> <br>> Can you reduce your source code to a simple application that reliably reproduces <br>> the error.<br>> <br>> Can you post the source to the simplified application?<br>> <br>> -- <br>> Thanks in advance,<br>> -------------------------------------------------------------------------<br>> Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST<br>> Newline Fax: +1-760-731-3000<br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                            </body>
</html>