[Asterisk-Users] Voicemail: Does the numbering of files follow file age?

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Mar 10 16:49:46 MST 2004


On Wednesday 10 March 2004 17:00, Stephen R. Besch wrote:
> I have noticed that the voicemail app always keeps filenames in in
> a strict numerical sequence, obviously renaming files whenever a
> message is deleted. I assume that message processing depends upon
> this sequencing. Does the file age make any difference in
> determining the numerical ordering (i.e., do the oldest files have
> the lowest numbers). While this should be true by default in the
> INBOX folder, it would not necessarily be true in any of the other
> folders, unless they are explicitly sorted and renamed every time
> another new message is copied into the folder. In short, are the
> files sorted into chronological order when they are renamed?

No.  They are sorted in the order in which they are added to a
folder.  In most cases, this will be chronological, but you can do
some Towers of Saigon moving to get messages in other orders.

-Tilghman




More information about the asterisk-users mailing list