Jose P. Espinal
2009-Feb-03 20:58 UTC
[asterisk-users] Broken Pipe error while using UpdateConfig command
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
Remco Barendse
2009-Feb-03 21:23 UTC
[asterisk-users] Broken Pipe error while using UpdateConfig command
1.4.23.1 is quite badly broken and there are no significant new features.... Better to revert back to 1.4.22.1 On Tue, 3 Feb 2009, Jose P. Espinal wrote:> 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 > > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Randy Paries
2009-Mar-06 21:02 UTC
[asterisk-users] Broken Pipe error while using UpdateConfig command
On Tue, Feb 3, 2009 at 2:58 PM, Jose P. Espinal <jpe at slackware-es.com> wrote:> 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.comSo is there any news on this issue? I am seeing the same thing. I am new to the AGI world and just starting to do some coding and started getting these errors. I was not sure if it is something i am doing wrong or not. Thanks