[Home]

Summary:ASTERISK-06496: RealTime Voicemail fails when field voicemail_users:review is set to yes
Reporter:Leo Burd (leoburd)Labels:
Date Opened:2006-03-07 15:08:28.000-0600Date Closed:2006-05-09 10:19:22
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hello there,

I've been using Asterisk RealTime Voicemail for some time and I love being able to store my messages in a MySQL database.  However, I've just noticed that Asterisk generated an error whenever the field `review` in the voicemail_users table is set to anything different than 'no'.  For some reason, Asterisk seems to delete the message from the voicemail directory right after the review and then is not able to find the associated file afterwards.  Below is the more specific log of what happens.

Thanks in advance,

Leo


****** ADDITIONAL INFORMATION ******

Here's what I got on my CLI:

   -- AGI Script Executing Application: (VoiceMail) Options: (s28@default)
   -- Playing 'beep' (language 'en')
   -- Recording the message
   -- x=0, open writing:  /var/spool/asterisk/voicemail/default/28/INBOX/msg0001 format: wav49, 0x9863da8
   -- User ended message by pressing #
   -- Playing 'auth-thankyou' (language 'en')
   -- Playing 'vm-review' (language 'en')
   -- Saving message as is
   -- Playing 'vm-msgsaved' (language 'en')
 == Parsing '/var/spool/asterisk/voicemail/default/28/INBOX/msg0001.txt': Found
Mar  7 15:05:17 WARNING[20949]: app_voicemail.c:1196 store_file: Open of sound file '/var/spool/asterisk/voicemail/default/28/INBOX/msg0001.WAV' failed: No such file or directory

The interesting thing is that the a copy of the message is sent to me, but no message is stored in my mailbox...
Comments:By: twisted (twisted) 2006-03-21 13:33:45.000-0600

Try running asterisk with the -t option on the command line.  If you're using safe_asterisk to start, add it to the options in the script.   This causes asterisk to record files into a temporary location before putting them where they will finally reside.  This *MIGHT* make a difference.   If it does, then this should be easy to fix.  If not, then it might take a much harder look at voicemail storage to figure out.

By: Serge Vecher (serge-v) 2006-05-01 15:56:00

leoburd: is this still an issue with v.1.2.7.1. Did you try twisted's suggestion?

By: Serge Vecher (serge-v) 2006-05-09 10:19:22

no response from the reporter. If you are able to reproduce this with a most recent 1.2 branch code, please reopen the bug with updated debug information. Thanks.