[asterisk-bugs] [JIRA] (ASTERISK-27703) AMI Action VoicemailUsersList returns 0 MessageCount
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Tue Feb 27 12:29:13 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242390#comment-242390 ]
Asterisk Team commented on ASTERISK-27703:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
> AMI Action VoicemailUsersList returns 0 MessageCount
> ----------------------------------------------------
>
> Key: ASTERISK-27703
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27703
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_voicemail
> Affects Versions: 15.2.0, 15.2.1
> Environment: Debian Stretch, Asterisk 15.2.0
> Reporter: Sébastien Duthil
> Severity: Minor
>
> Given I use voicemail filesystem storage (no IMAP or ODBC)
> Given I have a voicemail 1401 in a context that is not "default" (e.g. "internal")
> Given this voicemail has unread and unread messages
> When I send an AMI Action VoicemailUsersList
> Then I receive a response with:
> Event: VoicemailUserEntry
> VMContext: internal
> VoiceMailbox: 1401
> ...
> NewMessageCount: 0
> OldMessageCount: 0
> Expected: I receive a response with:
> NewMessageCount: 5
> OldMessageCount: 1
> Additional info:
> * Reverting to {{count_messages}} in the commit [30db6bb1a0|https://gerrit.asterisk.org/#/c/7441/1/apps/app_voicemail.c] (ASTERISK-27456) fixes the issue.
> * stracing the asterisk process shows that Asterisk looks for the voicemail in the "default" voicemail directory, instead of the "internal" voicemail directory:
> {{[pid 23894] open("/var/spool/asterisk/voicemail/default/1401/INBOX", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)}}
> * Copying the files from /var/spool/asterisk/voicemail/internal to /var/spool/asterisk/voicemail/default changes the received MessageCounts.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list