Got an odd issue.
It appears that no one can leave voicmails.
I get the following in my logs.
I have checked and made sure the folder exists, and asterisk:asterisk owns it.
2016-12-06 09:58:09] WARNING[28094][C-0000367d]: file.c:1300 ast_writefile: Unable to rewrite /var/spool/asterisk/voicemail/default/3174/tmp/6SWRvm.mp3
– x=0, open writing: /var/spool/asterisk/voicemail/default/3174/tmp/6SWRvm format: mp3, (nil)
[2016-12-06 09:58:09] WARNING[28094][C-0000367d]: app.c:1787 __ast_play_and_record: Error creating writestream ‘/var/spool/asterisk/voicemail/default/3174/tmp/6SWRvm’, format ‘mp3’
remove mp3 from the options, submit your changes, apply the config, and then test. Only formats available are wav49, gsm, wav, and g723sf as far as i know mp3 has not been added to voicemail but can be used for MOH.
Thank you! That solved that problem, however I now have a different one.
When the attachment is emailed, it will not play on windows or android.
I tried wav and wav49, same thing.
is the message just blank or are you getting an error? I know personally we don’t have an issue with that and we have our file format set to wav|gsm on our system.
it’s playing but no audio (can see timer ticking on file but no audio)?
It’s a blank file (0:00 - 0:00)?
Is there an error message saying something is wrong with it?
so, it seems no matter how long a message is left, it still makes a file about 300 bytes.
and when I try to open it with Windows media player, it says “windows media player cannot play the file”.