Mike
2010-Dec-03 00:56 UTC
[asterisk-users] Asterisk error - 1.6.2 SVN - voicemail files "corrupted"
Hi, I know I am using SVN, but I was wondering if anybody ever came across this error. I can't read my voicemails because files seems to be corrupted, for lack of a better word. When I do access my messages, I get those errors: [Dec 2 19:45:05] NOTICE[25993]: app_voicemail.c:7432 open_mailbox: Mailbox: /var/spool/asterisk/voicemail/xxx/709/INBOX, expected 0 but found 3 message(s) in box with max threshold of 100. [Dec 2 19:45:05] NOTICE[25993]: app_voicemail.c:7432 open_mailbox: Mailbox: /var/spool/asterisk/voicemail/xxx/709/INBOX, expected 0 but found 3 message(s) in box with max threshold of 100. [snipped] [Dec 2 19:45:07] WARNING[25993]: app_voicemail.c:7207 play_message: No message attribute file?!! (/var/spool/asterisk/voicemail/xxx/709/INBOX/msg0000.txt) Well, there isn't a msg0000.txt file, I can see that. There is a msg0003.txt and msg0005.txt (along with the appropriate wav files). Looking into the directory, all files seem there. Except the sequence doesn't start at 0000. I have thousands of mailboxes, only one has been reported as having this problem. There might be more though. 1) How do I fix this? I don't mind manually fixing it when it happens, but what's wrong exactly? 2) If this isn't the right list for this (considering it's a SVN question), what is? I'm using SVN because of the blind transfer issue somebody mentioned yesterday. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101202/023a5729/attachment.htm
Jonathan Thurman
2010-Dec-03 02:50 UTC
[asterisk-users] Asterisk error - 1.6.2 SVN - voicemail files "corrupted"
On Thu, Dec 2, 2010 at 4:56 PM, Mike <list at net-wall.com> wrote:> Hi, > > I know I am using SVN,? but I was wondering if anybody ever came across this > error.There is nothing wrong with using SVN.> Well, there isn?t a msg0000.txt file, I can see that.? There is a > msg0003.txt and msg0005.txt (along with the appropriate wav files). Looking > into the directory, all files seem there.? Except the sequence doesn?t start > at 0000. > > 1)????? How do I fix this? I don?t mind manually fixing it when it happens, > but what?s wrong exactly?I have seen this once on a 1.6.2 system a while back. I just renamed the TXT and audio files to be sequencial numbers starting at 0000 and everything worked again. Asterisk assumes the voicemail message files are named that way, and it errors out if that is not the case. -Jonathan
Tilghman Lesher
2010-Dec-03 09:01 UTC
[asterisk-users] Asterisk error - 1.6.2 SVN - voicemail files "corrupted"
On Thursday 02 December 2010 18:56:44 Mike wrote:> 1) How do I fix this? I don't mind manually fixing it when it > happens, but what's wrong exactly?There should not be anything within the Asterisk process to cause this. However, I _have_ seen this exact issue with certain 3rd party vendors that supply a tool for checking voicemail via a web interface. The offending tools make no effort to reorder the messages after certain messages are deleted, which is a really bad thing to do. If this is, in fact, the issue, please ask the vendor to fix the interface, because in the current form, it is severely broken behavior. -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com & www.asterisk.org
Mike
2010-Dec-03 14:47 UTC
[asterisk-users] Asterisk error - 1.6.2 SVN - voicemail files "corrupted"
Thanks Jonathan, I did that, it worked. I thought it had something to do with 1.6.2 SVN, since I`ve been using Asterisk for 5 years now and the first time it happened was the day I used SVN. Regards, Mike -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonathan Thurman Sent: Thursday, December 02, 2010 9:50 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk error - 1.6.2 SVN - voicemail files "corrupted" On Thu, Dec 2, 2010 at 4:56 PM, Mike <list at net-wall.com> wrote:> Hi, > > I know I am using SVN,? but I was wondering if anybody ever came > across this error.There is nothing wrong with using SVN.> Well, there isn?t a msg0000.txt file, I can see that.? There is a > msg0003.txt and msg0005.txt (along with the appropriate wav files). > Looking into the directory, all files seem there.? Except the sequence > doesn?t start at 0000. > > 1)????? How do I fix this? I don?t mind manually fixing it when it > happens, but what?s wrong exactly?I have seen this once on a 1.6.2 system a while back. I just renamed the TXT and audio files to be sequencial numbers starting at 0000 and everything worked again. Asterisk assumes the voicemail message files are named that way, and it errors out if that is not the case. -Jonathan -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users