Amigo<div><br></div><div>Tu estás enviando um comando inválido para stdout ou seu agi está dando pau e saindo sem dazr nenhum retorno válido para o asterisk.</div><div><br></div><div>[]&#39;s<br><br><div class="gmail_quote">
2009/12/21 Márcio Guedes <span dir="ltr">&lt;<a href="mailto:marcio_guedes@hotmail.com">marcio_guedes@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Amigos,<br>
<br>
Estou tentando executar um comando Originate no CLI e algumas vezes estou<br>
recebendo o seguinte erro:<br>
<br>
ERROR[4754]: utils.c:966 ast_carefulwrite: write() returned error: Broken<br>
pipe<br>
<br>
Pesquisando na internet encontrei o seguinte comentário:<br>
<br>
Yes, it was determined on the bugtracker that the OP was not waiting for<br>
Asterisk to return a response, but instead closing the connection<br>
prematurely.<br>
This explains why when he concatenated the text to the manager port, it all<br>
worked correctly.  We advised him to use the manager port interactively,<br>
instead of pushing the set of commands and closing the port too soon.  With<br>
current connections, once Asterisk can no longer respond, it assumes that<br>
the remote client is no longer interested in interaction and shuts down its<br>
processing, as well.  This in turn saves server resources, especially when<br>
clients do not shut down the connection properly (like when they crash).<br>
<br>
O problema não é constante, as vezes ocorre e as vezes não. Alguém já passou<br>
por isso?<br>
<br>
<br>
Obrigado.<br>
<br>
_______________________________________________<br>
A Redfone é líder no fornecimento de bridges TDMoE &lt;-&gt; E1<br>
- Valor similar ao de placas E1 PCI;<br>
- Não há problemas de compatibilidade com barramento PCI;<br>
- Possibilitam a construção de soluções de alta disponibilidade(dois<br>
servidores compartilham o mesmo E1)<br>
Conheça mais sobre este produto em <a href="http://www.red-fone.com" target="_blank">www.red-fone.com</a><br>
_______________________________________________<br>
Lista de discussões AsteriskBrasil.org<br>
<a href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</a><br>
<a href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" target="_blank">http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Luis Machado Reis<br>Analista de Sistemas<br><a href="http://www.singularideas.com.br">www.singularideas.com.br</a><br>
</div>