[asterisk-bugs] [Asterisk 0018292]: [patch] Removed resequencing of mailbox

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 18 17:37:30 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18292 
====================================================================== 
Reported By:                timking
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18292
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 293118 
Request Review:              
====================================================================== 
Date Submitted:             2010-11-11 06:54 CST
Last Modified:              2010-11-18 17:37 CST
====================================================================== 
Summary:                    [patch] Removed resequencing of mailbox
Description: 
At some point the re-sequencing of filesystem stored voicemails in
open_mailbox has been removed (it's still in 1.4). This isn't helpful to
all of us who have written web-based systems to access and delete users'
voicemails and relied on Asterisk to re-sequence when the web user deleted
one or more messages.

It's hard to do outside of Asterisk because of all the locking issues.

Or is there another way that you propose to support this functionality?
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0011817 [branch] [sound] Ability to mark a voic...
====================================================================== 

---------------------------------------------------------------------- 
 (0128980) tilghman (administrator) - 2010-11-18 17:37
 https://issues.asterisk.org/view.php?id=18292#c128980 
---------------------------------------------------------------------- 
timking:  it is actually easy to do the resequencing external to Asterisk,
because the locking issues have been solved in a portable way, compatible
with Asterisk's own locking.  You only need to create a dotfile in the same
directory you wish to lock (randomly named), hard link it to ".lock", then
check to see if the hard link succeeded or not.  Once you're done with the
lock, simply remove the ".lock" file and your original dotfile.

You should at least ATTEMPT to do the resequencing yourself. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-18 17:37 tilghman       Note Added: 0128980                          
======================================================================




More information about the asterisk-bugs mailing list