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

Satish Patel satish_lx at hotmail.com
Fri Mar 11 17:47:48 CST 2011


Thanks for reply Steve,

I am not in office so i can't post script right now but will so once  
reach home.

By the way that script working great in asterisk 1.2 my production  
machine. But now I'm testing on 1.8.x and having issue which I  
mentioned before.

This script is perl script and it going to grab all active sip  
extension and using manager to call all poycom phone via Ring Anwer  
sipheader. If you want to take a look at script I have following URL  
where someone already doing discusion. My script is pretty similer but  
I am grabbing all active extension via asterisk CLI commands not  
statically hardcoded.

http://www.freepbx.org/forum/freepbx/tips-and-tricks/delayed-paging

--
Sent from my iPhone

On Mar 11, 2011, at 4:58 PM, Steve Edwards <asterisk.org at sedwards.com>  
wrote:

> 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
>



More information about the asterisk-users mailing list