[asterisk-bugs] [Asterisk 0013414]: Mailbox greetings not working w/IMAP

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 5 11:22:38 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13414 
====================================================================== 
Reported By:                mthomasslo
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13414
Category:                   Applications/app_voicemail/IMAP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 140808 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-02 21:01 CDT
Last Modified:              2008-09-05 11:22 CDT
====================================================================== 
Summary:                    Mailbox greetings not working w/IMAP
Description: 
The unavailable and busy greetings are not working.  I have only noticed
this when using IMAP for messsage storage.  The system appears to be
recording the greetings properly into the
/var/spool/asterisk/voicemail/<context>/<mailbox>/ properly.  I can see the
files unavail.tmp.gsm being created.  After completing the recording by
pressing # I can choose option 2 to play the recording which is working
properly.  When I choose 1 to save, I hear the prompt saying "Your message
has been saved", at this point I see the file names change to remove the
.tmp.  About 2 seconds later the files dissapear.  The next call to the
mailbox hears the generic mailbox number greeting.
====================================================================== 

---------------------------------------------------------------------- 
 (0092111) putnopvut (administrator) - 2008-09-05 11:22
 http://bugs.digium.com/view.php?id=13414#c92111 
---------------------------------------------------------------------- 
All right, I'm glad that the greetings problem is fixed. I'll commit the
changes and close this bug as a result.

As far as the other issue goes, I've seen it a few times myself, and the
problem is that I can't actually with any certainty say that it's an
Asterisk bug. The message "Unlock when not locked" means that the c-client
attempted to unlock a mutex which it did not lock to begin with. The mutex
handling is done completely within the c-client, so it's not that Asterisk
was expected to lock a mutex before calling a certain c-client function.
Based on my thinking, the only way this can happen is if a certain code
path in the c-client assumes that a lock is supposed to have been locked
but it was not. This seems like a c-client issue and not an Asterisk issue.
If anyone can point out how Asterisk could actually contribute towards such
a failure, then I could work on trying to correct the problem myself. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-05 11:22 putnopvut      Note Added: 0092111                          
======================================================================




More information about the asterisk-bugs mailing list