Yes, as you can see in the example stream http://slackware-es.com/ami-input.txt (I can not use pastebin, sorry, emails trigger the spam filter there) I added a context at the end, and then appended some lines (mailboxes). It stops writing at the same point always, but without displaying error messages.
I will try adding some empty entries as you suggested. Thank you. David Backeberg wrote: > On Tue, Oct 13, 2009 at 7:56 PM, Jose P. Espinal <[email protected]> > wrote: >> 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. > > What part of the file is missing? > > The end? > > Try writing some empty entries to the end to flush out the valid entries. > > _______________________________________________ > -- 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 > _______________________________________________ -- 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
