>>>>> "James" == James H Thompson <[EMAIL PROTECTED]> writes:

James> You could use NFS with the Maildir alogrithm or
James> something similar to avoid the need for locking.

Here is an(other) idea if anyone is looking for a project:

When using a db for the meta data, there is no need for the filenames
to have the message number in them.  As such, one can use a mix of the
${UNIQUEID}, (the hostname or ip if a networked fs), and any other call
details of interest as the filename.  Or, for even nearer certainty of
collision-proof-ness you can use the base64 of the sha hash of some
entropy and the call's ${UNIQUEID} for the filename.

The message order can be kept in the db table with the rest of the
meta data.

-JimC

 (don't you love neologisms) 
 be sure to use a filesystem-friendly version of base64

-- 
James H. Cloos, Jr. <[EMAIL PROTECTED]> <http://jhcloos.com>
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to