Re: [Asterisk-Users] Voicemail wav49 format problem

2005-05-31 Thread Christopher Snell
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/msg.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 msg.WAV
-rw-r--r--   1 asterisk  asterisk   251 May 31 18:39 msg.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/msg.wav
May 31 18:35:27 WARNING[21838]: file.c:802 ast_streamfile: Unable to
open /var/spool/asterisk/voicemail/bikeworld/102/INBOX/msg (format
ulaw): No such file or directory
  == Spawn extension (sipphones, , 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


Re: [Asterisk-Users] Voicemail wav49 format problem

2005-05-31 Thread Christopher Snell
On 5/31/05, Christopher Snell [EMAIL PROTECTED] wrote:

 May 31 18:35:27 WARNING[21838]: format_wav.c:135 check_header: Not a wav file 
 49

 - 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

OK, setting 'format=wav' is a temporary workaround.  Could there be
some problem with writing wav49 files in -HEAD?

Chris
___
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


Re: [Asterisk-Users] Voicemail wav49 format problem

2005-05-20 Thread Daniel Nylander
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/msg.wav
May 19 13:48:51 WARNING[7860]: Unable to open 
/cygdrive/e/pbx/voicemail/default/2460/INBOX/msg (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/msg 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/msg 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/msg.wav
May 19 14:01:07 WARNING[7860]: Unable to open 
/cygdrive/e/pbx/voicemail/default/2460/INBOX/msg (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/msg.wav
May 19 14:02:00 WARNING[7860]: Unable to open 
/cygdrive/e/pbx/voicemail/default/2460/Old/msg (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/msg 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/msg.wav
May 19 14:03:58 WARNING[7860]: Unable to open 
/cygdrive/e/pbx/voicemail/default/2460/INBOX/msg (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



smime.p7s
Description: S/MIME Cryptographic Signature
___
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