[asterisk-users] broken pipe in perl agi

Philipp Kempgen philipp.kempgen at amooma.de
Thu Jun 4 13:43:10 CDT 2009


Danny Nicholas schrieb:

> The AGI works fine from a prompt, but returns the dreaded
> "utils.c:966 ast_carefulwrite: write() returned error: Broken pipe" when I
> try to run it from the dialplan.

Sounds like
$SIG{'PIPE'} = 'IGNORE';
is what you need.
http://perldoc.perl.org/perlipc.html#Signals


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 



More information about the asterisk-users mailing list