Re: [Asterisk-Users] Error cannot record voicemail
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/msg.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 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Error cannot record voicemail
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]: app_voicemail.c:1488 leave_voicemail: Error opening text file for o utput -- Recording the message Mar 24 12:48:35 WARNING[344081]: file.c:906 ast_writefile: Unable to open file /var/spool/asterisk/v oicemail/default/300/INBOX/msg.WAV: No such file or directory -- x=0, open writing: /var/spool/asterisk/voicemail/default/300/INBOX/msg format: wav49, (n il) Mar 24 12:48:35 WARNING[344081]: app.c:701 ast_play_and_record: Error creating writestream '/var/spo ol/asterisk/voicemail/default/300/INBOX/msg', format 'wav49' Mar 24 12:48:35 WARNING[344081]: app_voicemail.c:784 base_encode: Failed to open log file: /var/spoo l/asterisk/voicemail/default/300/INBOX/msg.WAV: No such file or directory Does anyone know what is up with this apache isn't trying to share this anymore so did it change some permissions? Thanks Joel Duffield -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.1 - Release Date: 3/23/2005 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users