|
I believe their voicemail is in the
default context, extension 234, which would be the right path. The issue is
most likely permissions, the default voicemail permissions are that they’re
owned by root and set to where only root can read/write to them. The Apache web
server that the vmail.cgi script runs on can not read the files. Check the directories leading up to /var/spool/asterisk/voicemail/default/234/INBOX/ make sure each are
755. So that anybody can read those folders. You might want to consider
security before doing this, if it’s a shared system you’re now
allowing others to hear each others voicemail. If it’s a secured/locked
down system, then 755 all the directories up to that one. Then set the *.WAV
and *.TXT files to 644 so they can be read. However, if you want to be
able to delete emails via vmail.cgi as well, you have to find a way to allow
Apache to delete these files, chown apache:apache –R /var/spool/asterisk/voicemail
will generally work for any existing voicemails, but not new ones. I have a
cronjob run every 2 minutes that performs the above command, so that vmail.cgi
can work with these files regularly. My next revision of my Phone server will
have Apache and Asterisk running as a different non-root user, they’ll be
run as the same user so they can co-mingle files and such. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Frank Kostin Halas, no Hello everybody, "Hrm, can't seem to open
/var/spool/asterisk/voicemail/default/234/INBOX/msg0001.WAV" Remark: playing the message msg0001.WAV directly OK Any smart guy up there could help ? /Snip/ The URL seems incorrect: /var/spool/asterisk/voicemail/default/234/INBOX/msg0001.WAV" This probably should be /var/spool/asterisk/voicemail/234/INBOX/msg0001.WAV" NOTICE: If received in error, please destroy and notify sender.
Sender does not waive confidentiality or privilege, and use is prohibited. _______________________________________________ Do you Yahoo!? |
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
