Would it make any sense to store the voice mail formatted as a email msg in a Maildir 
directory
structure.
Then you could also retreive them with an email client.

Jim

James H. Thompson
[EMAIL PROTECTED]

----- Original Message ----- 
From: "James H. Cloos Jr." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 12, 2004 11:30 AM
Subject: [Asterisk-Users] Re: Voicemail storage in DB


> >>>>> "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
>
>

_______________________________________________
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