[AsteriskBrasil] PHP - AMI - Intermitente

Gian Nicodemus giannicodemus em gmail.com
Terηa Agosto 31 10:48:11 BRT 2010


Ola galera...

Estou com um problema aqui, estou desenvolvendo uma aplicação, e ela se
baseia no manager para obter os resultados, pois bem, tenho aqui uma
questΓ£o, toda vez que me conecto no manager e mando um comando para ele:
"core show channels" as vezes ele me retorna o resultado as vezes nΓ£o...

Geralmente ele me retorna isso:

Asterisk Call Manager/1.1

Mas ele deveria retornar assim: (como acontece de vez em quando).
Asterisk Call Manager/1.1 Response: Success Message: Authentication accepted
Response: Follows Privilege: Command Channel Location State
Application(Data) 0 active channels 0 active calls 26 calls processed --END
COMMAND-- Response: Goodbye Message: Thanks for all the fish.


Quando ele retorna "nada" dΓ‘ o seguinte erro na CLI:

Connected to Asterisk 1.6.2.9 currently running on fomento5 (pid = 2792)
[2010-08-31 10:47:47] ERROR[5618]: utils.c:1175 ast_careful_fwrite: fwrite()
returned error: Broken pipe
[2010-08-31 10:47:47] ERROR[5618]: utils.c:1175 ast_careful_fwrite: fwrite()
returned error: Broken pipe
[2010-08-31 10:47:47] ERROR[5618]: utils.c:1175 ast_careful_fwrite: fwrite()
returned error: Broken pipe
[2010-08-31 10:47:47] ERROR[5618]: utils.c:1175 ast_careful_fwrite: fwrite()
returned error: Broken pipe
[2010-08-31 10:47:47] ERROR[5618]: utils.c:1175 ast_careful_fwrite: fwrite()
returned error: Broken pipe
[2010-08-31 10:47:47] ERROR[5618]: utils.c:1175 ast_careful_fwrite: fwrite()
returned error: Broken pipe

Isso ja aconteceu em duas versΓ΅es diferentes do asterisk...


valew




β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’ Gian Nicodemus  β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’ Analista de sistemasβ–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’giannicodemus em gmail.com.br β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’β–’
-------------- Prσxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20100831/03e99b1c/attachment.htm 


Mais detalhes sobre a lista de discussγo AsteriskBrasil