[AsteriskBrasil] Broken pipe

Márcio Guedes marcio_guedes em hotmail.com
Segunda Dezembro 21 17:22:10 BRST 2009


Amigos,

Estou tentando executar um comando Originate no CLI e algumas vezes estou
recebendo o seguinte erro:
 
ERROR[4754]: utils.c:966 ast_carefulwrite: write() returned error: Broken
pipe

Pesquisando na internet encontrei o seguinte comentário:

Yes, it was determined on the bugtracker that the OP was not waiting for
Asterisk to return a response, but instead closing the connection
prematurely.
This explains why when he concatenated the text to the manager port, it all
worked correctly.  We advised him to use the manager port interactively,
instead of pushing the set of commands and closing the port too soon.  With
current connections, once Asterisk can no longer respond, it assumes that
the remote client is no longer interested in interaction and shuts down its
processing, as well.  This in turn saves server resources, especially when
clients do not shut down the connection properly (like when they crash).

O problema não é constante, as vezes ocorre e as vezes não. Alguém já passou
por isso?


Obrigado.



Mais detalhes sobre a lista de discussão AsteriskBrasil