[Home]

Summary:ASTERISK-05039: Voicemail hangs up on you if you select an empty folder
Reporter:twisted (twisted)Labels:
Date Opened:2005-09-09 15:17:08Date Closed:2011-06-07 14:10:31
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When you enter voicemail, and select a folder that is currently empty, voicemail hangs up on you.  Not sure when this was introduced, however, the problem ONLY happens when the folder is empty.

I will *HOPEFULLY* get a chance to fix this today, but if not, the bug is here for soemone to squash in the meantime.
Comments:By: Tilghman Lesher (tilghman) 2005-09-09 15:27:55

I'm using CVS from 9/8 (CVS log confirms no changes since then), and I cannot duplicate this issue.  Could you upload your voicemail.conf (minus passwords) so we can see if this is specific to a particular option setting?

By: twisted (twisted) 2005-09-09 16:41:48

I've actually found the bug.  It appears that when we open a new mailbox, we don't set vms->vmbox properly to the name of the new mailbox, and then try to play the mailbox name, which should go through some other checks.  why this works when there ARE new messages is beyond me, however.   I put some debug logic into vm_play_folder_name() to debug the output right before it goes to play the name, and that's where it is.  Now if I can just determine WHY it doesn't copy the folder name correctly all will be peachy.

By: twisted (twisted) 2005-09-09 17:13:45

Fixed in CVS HEAD

By: Digium Subversion (svnbot) 2008-01-15 15:47:45.000-0600

Repository: asterisk
Revision: 6559

U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r6559 | twisted | 2008-01-15 15:47:45 -0600 (Tue, 15 Jan 2008) | 2 lines

Set filaneme BEFORE we return from open_mailbox() if we don't have positive message count (Bug ASTERISK-5039)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=6559