[asterisk-dev] Asterisk modules in C++

Steve Edwards asterisk.org at sedwards.com
Mon May 10 02:15:47 CDT 2010


On Mon, 10 May 2010, Deepesh D wrote:

> Also while executing the AGI the asterisk console shows the following 
> error
>
> ERROR[2431]: utils.c:1128 ast_carefulwrite: write() returned error: 
> Broken pipe
>
> Could this be a reason for the inefficiency of the AGI?

This indicates you have violated the AGI protocol.

While it does not affect the performance of the AGI, it does indicate 
something that needs attention. Stable and reliable execution of an AGI 
depends on following the protocol. For example, an AGI may execute when 
run from the command line (by feeding the appropriate responses in via 
stdin), may run at the beginning of a call, but may fail at the end of a 
call.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-dev mailing list