*97 Voicemail Files cannot be found/are corrupted

Hi, I have currently got an issue where the voicemail module appears to have corrupted through system updates. Is it possible with the old version of AsteriskNOW to reinstall the recordings that appear to be missing or does some further work need to be done on finding the route cause of the issue to see if it is another part of the wider system that is broken.

This is the debug code:


Of key interest (Lines 53 - 57):

[quote]-- Goto (from-internal,*97,106)
– Executing [*97@from-internal:106] VoiceMailMain(“SIP/048665-00000b1b”, “048665@default”) in new stack
[2015-04-13 12:20:51] WARNING[17037][C-00002126]: file.c:701 ast_openstream_full: File vm-password does not exist in any format
[2015-04-13 12:20:51] WARNING[17037][C-00002126]: file.c:1017 ast_streamfile: Unable to open vm-password (format (ulaw)): No such file or directory
[2015-04-13 12:20:51] WARNING[17037][C-00002126]: app_voicemail.c:10576 vm_authenticate: Unable to stream password file[/quote]

However a quick search of my system and the files are found:

[quote][root@80 ~]# locate vm-password
[root@80 ~]#

Try running the files, however, and you get the following:

[quote]-bash: /usr/share/asterisk/sounds/vm-password.gsm: Permission denied
[root@80 ~]# /usr/share/asterisk/sounds/vm-password.ulaw
-bash: /usr/share/asterisk/sounds/vm-password.ulaw: Permission denied
[root@80 ~]# /var/lib/asterisk/sounds/en/pls-enter-vm-password.gsm
-bash: /var/lib/asterisk/sounds/en/pls-enter-vm-password.gsm: Permission denied
[root@80 ~]# [/quote]

A quick check of the permissions produces:

[quote]> [root@80 ~]# ls -l /usr/share/asterisk/sounds/vm-password.gsm

-rw-r–r-- 1 root root 1386 Apr 29 2013 /usr/share/asterisk/sounds/vm-password.gsm
[root@80 ~]# ls -l /usr/share/asterisk/sounds/vm-password.ulaw
-rw-r–r-- 1 root root 6640 Apr 29 2013 /usr/share/asterisk/sounds/vm-password.ulaw
[root@80 ~]# ls -l /var/lib/asterisk/sounds/en/pls-enter-vm-password.gsm
-rw-rw-r–. 1 asterisk asterisk 3762 Apr 27 2010 /var/lib/asterisk/sounds/en/pls-enter-vm-password.gsm[/quote]

Do you have any ideas for fixing the issue and the source of the problem without me having to reinstall everything?

Thanks and Kind Regards,


Any ideas please on how to fix? Is there a quick way without having to reinstall the whole lot?

Thanks and Kind Regards,


Thanks for your interest :smiley: