[asterisk-users] Asterisk 1.8 AGI error ast_carefulwrite: write() returned error

satish patel satish_lx at hotmail.com
Sun Mar 13 08:34:32 CDT 2011


Hey Steve,

I got following error when i change AGI to System 


ubuntu-test*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing [7770 at from-sip:1] System("SIP/7623-00000029", "/var/lib/asterisk/agi-bin/allpage.agi") in new stack
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
  == Using SIP RTP CoS mark 5
[Mar 13 09:43:36] NOTICE[18985]: channel.c:5167 __ast_request_and_dial: Unable to request channel SIP/7657
[Mar 13 09:43:36] ERROR[18985]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe
[Mar 13 09:43:36] ERROR[18985]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe
[Mar 13 09:43:36] ERROR[18985]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe
    -- Executing [7770 at from-sip:2] MeetMe("SIP/7623-00000029", "7770,dq") in new stack
    -- Created MeetMe conference 1023 for conference '7770'
    -- Hungup 'DAHDI/pseudo-252942591'
  == Spawn extension (from-sip, 7770, 2) exited non-zero on 'SIP/7623-00000029'
[Mar 13 09:43:55] ERROR[18918]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe
[Mar 13 09:43:55] ERROR[18918]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe
[Mar 13 09:43:55] ERROR[18918]: utils.c:1177 ast_careful_fwrite: fwrite() returned error: Broken pipe



> Date: Fri, 11 Mar 2011 13:58:43 -0800
> From: asterisk.org at sedwards.com
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] Asterisk 1.8 AGI error ast_carefulwrite: write() returned error
> 
> On Fri, 11 Mar 2011, satish patel wrote:
> 
> > We upgrade asterisk from 1.2.x to 1.8.2.3 and my one of agi script 
> > doesn't working We have allpage.agi script for paging system on all 
> > polycom 501 but after upgrade it broke. Any idea what is this error ?
> 
> > [Mar 11 15:40:46] ERROR[3140]: utils.c:1130 ast_carefulwrite: write() 
> > returned error: Broken pipe
> 
> Without source code, I'd guess you are violation the AGI protocol.
> 
> What language are you using?
> 
> which AGI library are you using?
> 
> Can you reduce your source code to a simple application that reliably reproduces 
> the error.
> 
> Can you post the source to the simplified application?
> 
> -- 
> Thanks in advance,
> -------------------------------------------------------------------------
> Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
> Newline                                              Fax: +1-760-731-3000
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110313/ed85071e/attachment.htm>


More information about the asterisk-users mailing list