RE: [Asterisk-Users] help with broken voicemail

2005-10-12 Thread Andy Goss
drwxr-xr-x6 root root 1024 Oct 12 01:10 .
drwxr-xr-x6 root root 1024 Oct 12 01:15 ..
-rwxr-xr-x1 root root12801 Oct 11 21:28 busy.wav
drwxr-xr-x2 root root 1024 Oct 11 21:28 cust3
-rwxr-xr-x1 root root 3051 Oct 11 21:28 greet.wav
drwxr-xr-x2 root root 1024 Oct 11 21:28 inbox
drwxr-xr-x2 root root 1024 Oct 12 01:10 old
-rwxr-xr-x1 root root29895 Oct 11 21:28 unavail.wav
drwxr-xr-x2 root root 1024 Oct 11 21:28 work

-bash-2.05b# file unavail.wav
unavail.wav: RIFF (little-endian) data, WAVE audio, GSM 6.10, mono 8000 Hz




From: [EMAIL PROTECTED] on behalf of Tzafrir Cohen
Sent: Wed 10/12/2005 2:38 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] help with broken voicemail



On Tue, Oct 11, 2005 at 10:09:34PM -0400, Andy Goss wrote:
> Update -
>
> I made a backup of my entire voicemail directory then deleted it.  If I
> then try and record a greeting, it works.  Asterisk creates the folder
> structure and records the greeting.  If I try to copy the old file back
> into the directory, it wont work.  It's the same file name and
> everything.  The only thing I can figure might be an issue is that the
> voicemail drive is mounted as msdos so maybe there is something
> permissions different about the files that I cant see. 
>
> Any help would be appreciated. 

Please post the output of the following two commands:

ls -l /path/to/message.wav
file  /path/to/message.wav

Is it indeed a valid wav/RIFF file?

--
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's 
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
--Bandwidth and Colocation sponsored by Easynews.com --

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


<>___
--Bandwidth and Colocation sponsored by Easynews.com --

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] help with broken voicemail

2005-10-11 Thread Tzafrir Cohen
On Tue, Oct 11, 2005 at 10:09:34PM -0400, Andy Goss wrote:
> Update - 
> 
> I made a backup of my entire voicemail directory then deleted it.  If I
> then try and record a greeting, it works.  Asterisk creates the folder
> structure and records the greeting.  If I try to copy the old file back
> into the directory, it wont work.  It's the same file name and
> everything.  The only thing I can figure might be an issue is that the
> voicemail drive is mounted as msdos so maybe there is something
> permissions different about the files that I cant see.  
> 
> Any help would be appreciated.  

Please post the output of the following two commands:

ls -l /path/to/message.wav
file  /path/to/message.wav

Is it indeed a valid wav/RIFF file?

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] help with broken voicemail

2005-10-11 Thread Andy Goss
Update -

After we converted all the audio to gsm, it miraculously started
working.  I still don't know why.  If anyone knows how the wav49 codec
or whatever can get screwed up, your input is still welcome.

Thanks and goodnight,
Andy

--
H. Andy Goss
Network Engineer
Network Advocates Inc.
Main: 502.412.1050
DID: 502.992.5933
Mobile: 502.387.8216
[EMAIL PROTECTED]
 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] On Behalf Of Andy Goss
> Sent: Tuesday, October 11, 2005 10:10 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] help with broken voicemail
> 
> Update -
> 
> I made a backup of my entire voicemail directory then deleted it.  If
I
> then try and record a greeting, it works.  Asterisk creates the folder
> structure and records the greeting.  If I try to copy the old file
back
> into the directory, it wont work.  It's the same file name and
> everything.  The only thing I can figure might be an issue is that the
> voicemail drive is mounted as msdos so maybe there is something
> permissions different about the files that I cant see.
> 
> Any help would be appreciated.
> 
> --
> H. Andy Goss
> Network Engineer
> Network Advocates Inc.
> Main: 502.412.1050
> DID: 502.992.5933
> Mobile: 502.387.8216
> [EMAIL PROTECTED]
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
[mailto:asterisk-users-
> > [EMAIL PROTECTED] On Behalf Of Andy Goss
> > Sent: Tuesday, October 11, 2005 8:55 PM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: RE: [Asterisk-Users] help with broken voicemail
> >
> > Yes, the path exists, the files exist, and the permissions all are
> 755,
> > all owned by root and in group root.  I cant figure it out for the
> life
> > of me.
> >
> >
> >
> > --
> > H. Andy Goss
> > Network Engineer
> > Network Advocates Inc.
> > Main: 502.412.1050
> > DID: 502.992.5933
> > Mobile: 502.387.8216
> > [EMAIL PROTECTED]
> >
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> [mailto:asterisk-users-
> > > [EMAIL PROTECTED] On Behalf Of El Flynn
> > > Sent: Tuesday, October 11, 2005 8:45 PM
> > > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > > Subject: Re: [Asterisk-Users] help with broken voicemail
> > >
> > > Andy Goss wrote:
> > >
> > > > Oct 11 20:32:58 WARNING[3048]: file.c:415 ast_filehelper: Unable
> to
> > open
> > > > fd on
/var/spool/asterisk/voicemail/default/5926/INBOX/msg.wav
> > > > Oct 11 20:32:58 WARNING[3048]: file.c:793 ast_streamfile: Unable
> to
> > open
> > > > /var/spool/asterisk/voicemail/default/5926/INBOX/msg (format
> > ulaw):
> > > > No such file or directory
> > > >
> > >
> > > can you check that /var/spool/asterisk exists, and that all its
> > > subdirectories
> > > are intact? perhaps it got deleted by accident somehow? you might
> also
> > > want to
> > > check the file permissions on the directories.
> > >
> > > flynn
> > >
> > > ___
> > > --Bandwidth and Colocation sponsored by Easynews.com --
> > >
> > > 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
> > ___
> > --Bandwidth and Colocation sponsored by Easynews.com --
> >
> > 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
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> 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
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] help with broken voicemail

2005-10-11 Thread Andy Goss
Update - 

I made a backup of my entire voicemail directory then deleted it.  If I
then try and record a greeting, it works.  Asterisk creates the folder
structure and records the greeting.  If I try to copy the old file back
into the directory, it wont work.  It's the same file name and
everything.  The only thing I can figure might be an issue is that the
voicemail drive is mounted as msdos so maybe there is something
permissions different about the files that I cant see.  

Any help would be appreciated.  

--
H. Andy Goss
Network Engineer
Network Advocates Inc.
Main: 502.412.1050
DID: 502.992.5933
Mobile: 502.387.8216
[EMAIL PROTECTED]
 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] On Behalf Of Andy Goss
> Sent: Tuesday, October 11, 2005 8:55 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] help with broken voicemail
> 
> Yes, the path exists, the files exist, and the permissions all are
755,
> all owned by root and in group root.  I cant figure it out for the
life
> of me.
> 
> 
> 
> --
> H. Andy Goss
> Network Engineer
> Network Advocates Inc.
> Main: 502.412.1050
> DID: 502.992.5933
> Mobile: 502.387.8216
> [EMAIL PROTECTED]
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
[mailto:asterisk-users-
> > [EMAIL PROTECTED] On Behalf Of El Flynn
> > Sent: Tuesday, October 11, 2005 8:45 PM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: Re: [Asterisk-Users] help with broken voicemail
> >
> > Andy Goss wrote:
> >
> > > Oct 11 20:32:58 WARNING[3048]: file.c:415 ast_filehelper: Unable
to
> open
> > > fd on /var/spool/asterisk/voicemail/default/5926/INBOX/msg.wav
> > > Oct 11 20:32:58 WARNING[3048]: file.c:793 ast_streamfile: Unable
to
> open
> > > /var/spool/asterisk/voicemail/default/5926/INBOX/msg (format
> ulaw):
> > > No such file or directory
> > >
> >
> > can you check that /var/spool/asterisk exists, and that all its
> > subdirectories
> > are intact? perhaps it got deleted by accident somehow? you might
also
> > want to
> > check the file permissions on the directories.
> >
> > flynn
> >
> > ___
> > --Bandwidth and Colocation sponsored by Easynews.com --
> >
> > 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
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> 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
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] help with broken voicemail

2005-10-11 Thread Andy Goss
Yes, the path exists, the files exist, and the permissions all are 755,
all owned by root and in group root.  I cant figure it out for the life
of me.



--
H. Andy Goss
Network Engineer
Network Advocates Inc.
Main: 502.412.1050
DID: 502.992.5933
Mobile: 502.387.8216
[EMAIL PROTECTED]
 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:asterisk-users-
> [EMAIL PROTECTED] On Behalf Of El Flynn
> Sent: Tuesday, October 11, 2005 8:45 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] help with broken voicemail
> 
> Andy Goss wrote:
> 
> > Oct 11 20:32:58 WARNING[3048]: file.c:415 ast_filehelper: Unable to
open
> > fd on /var/spool/asterisk/voicemail/default/5926/INBOX/msg.wav
> > Oct 11 20:32:58 WARNING[3048]: file.c:793 ast_streamfile: Unable to
open
> > /var/spool/asterisk/voicemail/default/5926/INBOX/msg (format
ulaw):
> > No such file or directory
> >
> 
> can you check that /var/spool/asterisk exists, and that all its
> subdirectories
> are intact? perhaps it got deleted by accident somehow? you might also
> want to
> check the file permissions on the directories.
> 
> flynn
> 
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> 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
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] help with broken voicemail

2005-10-11 Thread El Flynn

Andy Goss wrote:


Oct 11 20:32:58 WARNING[3048]: file.c:415 ast_filehelper: Unable to open
fd on /var/spool/asterisk/voicemail/default/5926/INBOX/msg.wav
Oct 11 20:32:58 WARNING[3048]: file.c:793 ast_streamfile: Unable to open
/var/spool/asterisk/voicemail/default/5926/INBOX/msg (format ulaw):
No such file or directory



can you check that /var/spool/asterisk exists, and that all its subdirectories 
are intact? perhaps it got deleted by accident somehow? you might also want to 
check the file permissions on the directories.


flynn

___
--Bandwidth and Colocation sponsored by Easynews.com --

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