On Tue, Oct 13, 2009 at 7:56 PM, Jose P. Espinal <[email protected]> wrote: > Hello List, > > > I was writing something in PHP that connects to AMI and sends a data > stream ( example of it: http://slackware-es.com/ami-input.txt ), but the > file (voicemail.conf , in this case) does not get fully written. > > I tried pasting the stream directly through telnet to AMI, and > everything *appears* to be OK, but the file is not being completely written. > > No errors on CLI > No errors on AMI
I don't know what the error is, but I would assume you need to do one final file close or commit to make the stream end. In other news, this sounds like a silly way to transfer a file. I would suggest NFS or other shared file system, rsync, scp, you get the idea. _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
