[asterisk-users] Broken Pipe error while using UpdateConfig command

Jose P. Espinal jpe at slackware-es.com
Tue Feb 3 14:58:58 CST 2009


Hello List,

I have been working on a little PHP software that uses AMI's  
UpdateConfig command in order to modify some of it's config files.


I was working with 'Asterisk 1.4.22.1' and everything was working.
After upgrading to 'Asterisk 1.4.23.1' I receive a lot of errors of the type:


ERROR[11505]: utils.c:966 ast_carefulwrite: write() returned error:  
Broken pipe


I'm completely sure that I did not modify anything on the PHP script,  
in fact, I test it on the older version of Asterisk mentioned above  
and it still works like a charm.

Can someone point me out about a possible place to start looking for  
this error?


NOTE:
An interesting thing to note is that I sent all the commands that my  
script executes on the AMI to a file (/tmp/debug.txt )

Then copying all the file content into AMI interface directly ( telnet  
[server_ip] 5038) and it executed all the commands without any problems.



Thanks for your help,


--
Jose P. Espinal
http://eslackware.com





More information about the asterisk-users mailing list