[Asterisk-Users] Error cannot record voicemail

Martijn van Oosterhout martijn at ecomtel.com.au
Fri Mar 25 03:42:57 MST 2005


On Thu, Mar 24, 2005 at 01:30:25PM -0500, Joel Duffield wrote:
> I tried to share my spool directory so I could get monitored calls, and now
> this error comes up when I try to leave a message in any of my voicemail
> boxes.
> 
> Mar 24 12:48:35 WARNING[344081]: file.c:906 ast_writefile: Unable to open
> file /var/spool/asterisk/v
> oicemail/default/300/INBOX/msg0000.WAV: No such file or directory

When you get the error "No such file or directory" when opening a file
for writing it generally means that one of the preceeding directories
doesn't exist. So check if the directory

/var/spool/asterisk/voicemail/default/300/INBOX/

exists. I beleive the Voicemail app creates the directories itself so
if the directory doesn't exist, it can't create them. Make sure you're
the same user as asterisk is running as and try:

mkdir -p /var/spool/asterisk/voicemail/default/300/INBOX/

Maybe one of the components has been replaced by a file or directory
with bad permissions....

Hope this helps,
-- 
Martijn van Oosterhout
Ecomtel Pty Ltd



More information about the asterisk-users mailing list