[asterisk-users] AMI input streams limit?

David Backeberg dbackeberg at gmail.com
Tue Oct 13 20:02:08 CDT 2009


On Tue, Oct 13, 2009 at 7:56 PM, Jose P. Espinal <jpe at slackware-es.com> 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.



More information about the asterisk-users mailing list