I have the voicemail format set to wav49 in my voicemail.conf file. When retrieving voicemails, the first message plays back ok - but then Asterisk hangs up and the log shows the following error. Any idea what's up? May 19 12:57:24 VERBOSE[7860]: Asterisk Ready. May 19 13:48:51 WARNING[7860]: Not a wav file 49 May 19 13:48:51 WARNING[7860]: Unable to open fd on /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000.wav May 19 13:48:51 WARNING[7860]: Unable to open /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 (format ulaw): No such file or directory May 19 13:57:03 VERBOSE[7860]: -- Recording the message May 19 13:57:03 VERBOSE[7860]: -- x=0, open writing: /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 format: wav49, 0x10016550 May 19 13:57:18 WARNING[7860]: Failed to write frame May 19 13:59:17 VERBOSE[7860]: -- Recording the message May 19 13:59:17 VERBOSE[7860]: -- x=0, open writing: /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 format: wav49, 0x10040ac8 May 19 13:59:38 WARNING[7860]: Recv error: Interrupted system call May 19 13:59:38 NOTICE[7860]: RTP: Received packet with bad UDP checksum May 19 13:59:45 WARNING[7860]: Failed to write frame May 19 14:01:07 WARNING[7860]: Not a wav file 49 May 19 14:01:07 WARNING[7860]: Unable to open fd on /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000.wav May 19 14:01:07 WARNING[7860]: Unable to open /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 (format ulaw): No such file or directory May 19 14:02:00 WARNING[7860]: Not a wav file 49 May 19 14:02:00 WARNING[7860]: Unable to open fd on /cygdrive/e/pbx/voicemail/default/2460/Old/msg0000.wav May 19 14:02:00 WARNING[7860]: Unable to open /cygdrive/e/pbx/voicemail/default/2460/Old/msg0000 (format ulaw): No such file or directory May 19 14:03:03 VERBOSE[7860]: -- Recording the message May 19 14:03:03 VERBOSE[7860]: -- x=0, open writing: /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 format: wav49, 0x10040e08 May 19 14:03:16 WARNING[7860]: Failed to write frame May 19 14:03:31 WARNING[7860]: Recv error: Interrupted system call May 19 14:03:58 WARNING[7860]: Not a wav file 49 May 19 14:03:58 WARNING[7860]: Unable to open fd on /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000.wav May 19 14:03:58 WARNING[7860]: Unable to open /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 (format ulaw): No such file or directory Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050519/9c05c0a3/attachment.htm
Filepermission error or the mailbox doesn't exist. Check if /cygdrive/e/pbx/voicemail exists and it has the right permissions. (running under cygwin? cheesus..) Daniel Michael Stahl skrev:> I have the voicemail format set to wav49 in my voicemail.conf file. > When retrieving voicemails, the first message plays back ok - but then > Asterisk hangs up and the log shows the following error. Any idea > what's up? > > May 19 12:57:24 VERBOSE[7860]: Asterisk Ready. > May 19 13:48:51 WARNING[7860]: Not a wav file 49 > May 19 13:48:51 WARNING[7860]: Unable to open fd on > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000.wav > May 19 13:48:51 WARNING[7860]: Unable to open > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 (format ulaw): No > such file or directory > May 19 13:57:03 VERBOSE[7860]: -- Recording the message > May 19 13:57:03 VERBOSE[7860]: -- x=0, open writing: > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 format: wav49, > 0x10016550 > May 19 13:57:18 WARNING[7860]: Failed to write frame > May 19 13:59:17 VERBOSE[7860]: -- Recording the message > May 19 13:59:17 VERBOSE[7860]: -- x=0, open writing: > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 format: wav49, > 0x10040ac8 > May 19 13:59:38 WARNING[7860]: Recv error: Interrupted system call > May 19 13:59:38 NOTICE[7860]: RTP: Received packet with bad UDP checksum > May 19 13:59:45 WARNING[7860]: Failed to write frame > May 19 14:01:07 WARNING[7860]: Not a wav file 49 > May 19 14:01:07 WARNING[7860]: Unable to open fd on > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000.wav > May 19 14:01:07 WARNING[7860]: Unable to open > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 (format ulaw): No > such file or directory > May 19 14:02:00 WARNING[7860]: Not a wav file 49 > May 19 14:02:00 WARNING[7860]: Unable to open fd on > /cygdrive/e/pbx/voicemail/default/2460/Old/msg0000.wav > May 19 14:02:00 WARNING[7860]: Unable to open > /cygdrive/e/pbx/voicemail/default/2460/Old/msg0000 (format ulaw): No > such file or directory > May 19 14:03:03 VERBOSE[7860]: -- Recording the message > May 19 14:03:03 VERBOSE[7860]: -- x=0, open writing: > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 format: wav49, > 0x10040e08 > May 19 14:03:16 WARNING[7860]: Failed to write frame > May 19 14:03:31 WARNING[7860]: Recv error: Interrupted system call > May 19 14:03:58 WARNING[7860]: Not a wav file 49 > May 19 14:03:58 WARNING[7860]: Unable to open fd on > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000.wav > May 19 14:03:58 WARNING[7860]: Unable to open > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000 (format ulaw): No > such file or directory > Thanks > >------------------------------------------------------------------------ > >_______________________________________________ >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 >-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3248 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050520/471e3210/smime.bin
On 5/19/05, Michael Stahl <mstahl@ocg.ca> wrote:> May 19 13:48:51 WARNING[7860]: Not a wav file 49 > May 19 13:48:51 WARNING[7860]: Unable to open fd on > /cygdrive/e/pbx/voicemail/default/2460/INBOX/msg0000.wavI'm seeing the same thing. I'm running -HEAD, checked out earlier this afternoon, on Mac OS X. Here are the symptoms: 1) I can leave voicemail messages without a problem 2) The file is present in the directory: % ls -l /var/spool/asterisk/voicemail/bikeworld/102/INBOX/ -rwx------ 1 asterisk asterisk 5066 May 31 18:39 msg0000.WAV -rw-r--r-- 1 asterisk asterisk 251 May 31 18:39 msg0000.txt 3) The wav file is e-mailed to the recipient, who can play them without a problem 4) When the user dials the voicemail extension/application to listen to the message, I see the following console messages when Asterisk attempts to play the file: May 31 18:35:27 WARNING[21838]: format_wav.c:135 check_header: Not a wav file 49 May 31 18:35:27 WARNING[21838]: file.c:416 ast_filehelper: Unable to open fd on /var/spool/asterisk/voicemail/bikeworld/102/INBOX/msg0000.wav May 31 18:35:27 WARNING[21838]: file.c:802 ast_streamfile: Unable to open /var/spool/asterisk/voicemail/bikeworld/102/INBOX/msg0000 (format ulaw): No such file or directory == Spawn extension (sipphones, 2222, 2) exited non-zero on 'SIP/102-f008' At this point, the voicemail app hangs up on the user. Some possible factors: - I'm running Asterisk as a non-root user. /var/spool/asterisk and its subdirectories *are* owned by this user - I'm running -HEAD and I'm running on a Mac. Case sensitivity issue maybe? - In my voicemail.conf, I have 'format=wav49' because the default settting of 'format=wav49|gsm|wav' yielded voicemail files that were nothing but loud static Does anybody have any ideas?