Zeeshan Zakaria
2006-Oct-31 07:55 UTC
[asterisk-users] Asterisk and ARI (Aterisk Recording Interface) integration problem
Anybody knows why ARI gives this error message when I enter extension number and password. *Warning*: file(/var/spool/asterisk/voicemail/default/222/INBOX/msg0000.txt): failed to open stream: Permission denied in * /var/www/html/recordings/modules/voicemail.module* on line *525* It doesn't show the voicemails, although it shows that there is 1 or 2 voicemails in the INBOX. -- Zeeshan A Zakaria -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061031/29626458/attachment.htm
Rodrigo Gonzalez
2006-Oct-31 08:10 UTC
[asterisk-users] Asterisk and ARI (Aterisk Recording Interface) integration problem
User that web server is running has to have read permissions to file /var/spool/asterisk/voicemail/default/222/INBOX/msg0000.txt Easier option is to run apache as asterisk user Zeeshan Zakaria wrote:> Anybody knows why ARI gives this error message when I enter extension > number and password. > > *Warning*: > file(/var/spool/asterisk/voicemail/default/222/INBOX/msg0000.txt): > failed to open stream: Permission denied in > */var/www/html/recordings/modules/voicemail.module* on line *525* > It doesn't show the voicemails, although it shows that there is 1 or 2 > voicemails in the INBOX. > > -- > Zeeshan A Zakaria > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Tom Vile
2006-Oct-31 08:23 UTC
[asterisk-users] Asterisk and ARI (Aterisk Recording Interface) integration problem
it told you: Permission Denied Check the permissions on that directory. On 10/31/06, Zeeshan Zakaria <zishanov@gmail.com> wrote:> > Anybody knows why ARI gives this error message when I enter extension > number and password. > > *Warning*: > file(/var/spool/asterisk/voicemail/default/222/INBOX/msg0000.txt): failed to > open stream: Permission denied in * > /var/www/html/recordings/modules/voicemail.module* on line *525* > It doesn't show the voicemails, although it shows that there is 1 or 2 > voicemails in the INBOX. > > -- > Zeeshan A Zakaria > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- Tom Vile Baldwin Technology Solutions, Inc Consulting - Web Design - VoIP Telephony www.baldwintechsolutions.com Phone: 518-631-2855 x205 Fax: 518-631-2856 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061031/bc1e5bb7/attachment.htm
Guillermo Salas M.
2006-Oct-31 08:24 UTC
[asterisk-users] Asterisk and ARI (Aterisk Recording Interface) integration problem
On Tue, 2006-10-31 at 09:55 -0500, Zeeshan Zakaria wrote:> Anybody knows why ARI gives this error message when I enter extension > number and password. > > Warning: > file(/var/spool/asterisk/voicemail/default/222/INBOX/msg0000.txt): > failed to open stream: Permission denied > in /var/www/html/recordings/modules/voicemail.module on line 525 >Are you sure about the file permissions? The file /var/spool/asterisk/voicemail/default/222/INBOX/msg0000 txt must be permissions for the apache user or group. Try changing the ownership of the file. Using Debian will be like (apache group is called www-data): chown asterisk:www-data /var/spool/asterisk/voicemail/default/222/INBOX/msg0000 Regards,> It doesn't show the voicemails, although it shows that there is 1 or 2 > voicemails in the INBOX. > > -- > Zeeshan A Zakaria > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Guillermo Salas M. Telconet S.A. Calle 15 y Avenida 24 Esq Edificio Barre #2 Primer Piso Telefono : +593 5 262 8071 Celular : +593 9 985 5138 e-mail : gsalas@manta.telconet.net www : http://www.manta.telconet.net http://www.telcocarrier.net Linux User: 255902 Beat me, whip me, make me use Windows! Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html Please avoid the Top Posting, see http://es.wikipedia.org/wiki/Top-posting