[asterisk-users] Re: Asterisk and NFS
Steven
asterisk at tescogroup.com
Mon Jul 10 04:22:59 MST 2006
My understanding is that asterisk will read the file before it is finished being written.
The proper method for NFS would be to write into another folder on the same file system, then have a script move the file to the
proper call file location.
The script would run every 5 seconds or so.
The script shouldn't have an issue with a half written file because the file move should fail if the file is still locked.
This works because moving a file on the same file system is immediate. (no bits copied, just a FS pointer change)
--
--
Steven
http://www.glimasoutheast.org
"Kyle Hagan" <info at quadrasoftware.com> wrote in message news:44AEA8F7.6040706 at quadrasoftware.com...
> Any one have an idea why asterisk would ignore a callout file that was dropped in via nfs
>
> The permossions are the same as a file dropped in locally that works fine.
>
> Kyle
>
> --
> CONFIDENTIALITY NOTICE: This message, including any attachments, is for the sole use of the intended recipient(s) and may contain
> confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not
> the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> 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