[asterisk-bugs] [Asterisk 0011817]: [branch] Ability to mark a voicemail message as URGENT.

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Feb 19 15:45:45 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11817 
====================================================================== 
Reported By:                jaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11817
Category:                   Applications/app_voicemail
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-22-2008 13:12 CST
Last Modified:              02-19-2008 15:45 CST
====================================================================== 
Summary:                    [branch] Ability to mark a voicemail message as
URGENT.
Description: 
This patch adds the ability to tag a voicemail as urgent.  It supports both
IMAP and file-based storage.  After recording a voicemail and pressing "#",
an additional option (4) is available to mark the message as urgent. 
Pressing the '4' key a second time turns the flag off.   In IMAP, the
message is marked as //FLAGGED, as well as the addition of an additional
email header "X-Asterisk-VM-Flag".  File-based storage uses an additional
attribute in the .txt file called "flag".  The subject line of notification
email will state that "you have an URGENT message" as well.  

In IMAP, when retrieving a message, all URGENT messages will be presented
first.  In file storage, urgent and new messages will be presented
together.  Because the URGENT flag is just that, and not a new directory,
urgent and new messages both appear in the INBOX.  

When accessing voicemail, the user will be prompted that they have X
urgent messages, Y new messages, and Z old messages.  The number of urgent
messages is also sent to extern_notify in case there needs to be special
handling of these messages outside of voicemail.

VMCOUNT will accept URGENT as a folder name to return the number of urgent
messages.

Some custom sound files were necessary and are included here for testing
purposes only.

The branch that contains this code is:

http://svn.digium.com/svn/asterisk/team/jrothenberger
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 02-19-08 15:45  
---------------------------------------------------------------------- 
I'd like to give a preliminary report of my testing of this branch. First,
the good:

When I set the 'U' option for voicemail, urgent messages were properly
saved to the mailbox. This worked with both file system storage and IMAP.
IMAP especially was nice because my mail client marked the message
properly.

When I tested using non-urgent messages only, things worked properly.

Now for the problems I encountered:

I could not figure out how to mark a message as urgent when leaving a
voicemail. According to the instructions in the description, I should have
been able to press 4 to do this, but this did not work. The only way I
could find to leave an urgent message was with the 'U' option for
Voicemail().

When checking my file-storage voicemails, if I had both urgent and
non-urgent new messages, behavior was erratic regarding which messages I
heard. For instance, I left 5 messages, 2 urgent, and 3 non-urgent. I left
them in the following order
Message 1: Non-urgent
Message 2: Urgent
Message 3: Non-urgent
Message 4: Urgent
Message 5: Non-urgent

I called VoiceMailMain, where I was greeted with the correct count of
urgent, new, and old messages (2, 3, 0). I pressed 1 to listen to my
messages.
Message 1 played first. I pressed 7 to delete, then 6 for next message.
Message 2 played (it was presented as "last" urgent message). I pressed 7
to delete it. I listened to the options and was not given the '6' option to
hear the next message. I pressed '6' anyway.
Message 3 played (it was presented as "first" new message). I pressed 7 to
delete it and then 6 to move to the next message.
Message 4 played (it was presented as "last" urgent message). I pressed 7
to delete it. Once more, I was not given the option to press 6 to hear the
next message. This time, when I pressed 6, I was told there were no new
messages. I tried navigating through all the messages but there was no way
for me to hear Message 5. In order to hear it, I had to call into
VoiceMailMain a second time.

I unfortunately cannot comment yet about retrieval of urgent messages from
IMAP since I'm using a new computer and setting up an IMAP server has not
been going smoothly (for the test where I saved voicemails to IMAP it
worked just fine to use the company IMAP server :) ). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-19-08 15:45  putnopvut      Note Added: 0082603                          
======================================================================




More information about the asterisk-bugs mailing list