On 5/19/05, Michael Stahl <[EMAIL PROTECTED]> 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.wav

I'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?
_______________________________________________
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

Reply via email to