[asterisk-users] AMI input streams limit?
Jose P. Espinal
jpe at slackware-es.com
Tue Oct 13 20:16:08 CDT 2009
Sir.
I am not trying to 'copy/transfer' a file, I'm making changes to
voicemail.conf file via AMI.
The error is, (As I wrote before) that voicemail.conf is not being
written completely. AMI fails to write all of the entries that I am
trying to 'append' to it.
It is not reporting any error message inside AMI, or inside the CLI.
David Backeberg wrote:
> 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.
>
> _______________________________________________
> -- 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
>
More information about the asterisk-users
mailing list