[asterisk-bugs] [Asterisk 0019199]: [patch] MaxMsg Quota Only Enforced on INBOX Messages for Filesystem Based Voice Mail Boxes
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Apr 28 19:53:32 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=19199
======================================================================
Reported By: Jamuel
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 19199
Category: Applications/app_voicemail
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.6.2.18
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2011-04-28 19:13 CDT
Last Modified: 2011-04-28 19:53 CDT
======================================================================
Summary: [patch] MaxMsg Quota Only Enforced on INBOX Messages
for Filesystem Based Voice Mail Boxes
Description:
When a caller attempts to leave a message for a VM user app_voicemail does
not count messages in other folders in the user's mailbox (e.g. Old,
Urgent, Friends, Family, CustX) in consideration of maxmsg limit.
The maxmsg setting which is supposed limit total messages per folder does
not work as anticipated as a user could individually (or in aggregate) have
more messages than maxmsg allows just as long as the number contained in
INBOX is less than maxmsg. It appears that the file-based count_messages
function only ever checks INBOX.
NB: the maxmsg setting has been interpreted to be a setting to control the
total number messages for each user (mailbox) folder and not each
sub-folder that may optionally be contained within the user's mailbox
folder.
======================================================================
----------------------------------------------------------------------
(0134264) Jamuel (reporter) - 2011-04-28 19:53
https://issues.asterisk.org/view.php?id=19199#c134264
----------------------------------------------------------------------
The last note should have been:
Instead of sending $VM_SPOOL_DIR/$VM_CONTEXT/$MAILBOX/INBOX as the path
parameter for count_messages(), during leave_voicemail()
$VM_SPOOL_DIR/$VM_CONTEXT/$MAILBOX is sent which allows count_messages() to
seach the entire user's mailbox space for vm messages.
Issue History
Date Modified Username Field Change
======================================================================
2011-04-28 19:53 Jamuel Note Added: 0134264
======================================================================
More information about the asterisk-bugs
mailing list