error broken pipe

error broken pipe

Postby rodrigo » Fri May 15, 2015 9:29 am

Hi xcally team,
the asterisk console gives me this error:

utils.c:1321 ast_carefulwrite: write() returned error: Broken pipe

What does it mean?!?
Last edited by rodrigo on Fri May 15, 2015 9:39 am, edited 1 time in total.
Posts: 26
Joined: Tue Nov 18, 2014 9:41 am

Re: error broken pipe

Postby Shuttle Team » Fri May 15, 2015 9:42 am

This error means that Asterisk is trying to write some line to your AGI/FastAGI after the script has finished the execution.

So there is a line that Asterisk can't write.
You can check it by turning on agi debug. Write in console:

agi set debug on

and then you should get something like this:

-- <SIP/XXXX-0000007c>AGI Script YOUR_AGI_NAME completed, returning 4
<SIP/XXXX-0000007c>AGI Tx >> HANGUP
ERROR[1502]: utils.c:1232 ast_carefulwrite: write() returned error: Broken pipe

You can see that asterisk try to send HANGUP after script completed.
It is only a library notice, no worries about it! ;)
User avatar
Shuttle Team
Posts: 84
Joined: Mon Jun 16, 2014 3:14 pm

Return to Cally Square

Who is online

Users browsing this forum: No registered users and 1 guest