[asterisk-users] Asterisk and ARI (Aterisk Recording Interface) integration problem

2006-10-31 Thread Zeeshan Zakaria
Anybody knows why ARI gives this error message when I enter extension number and password.

Warning: file(/var/spool/asterisk/voicemail/default/222/INBOX/msg.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


Re: [asterisk-users] Asterisk and ARI (Aterisk Recording Interface) integration problem

2006-10-31 Thread Rodrigo Gonzalez
User that web server is running has to have read permissions to file 
/var/spool/asterisk/voicemail/default/222/INBOX/msg.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/msg.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
  

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


Re: [asterisk-users] Asterisk and ARI (Aterisk Recording Interface) integration problem

2006-10-31 Thread Guillermo Salas M.
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/msg.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/msg
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/msg

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   : [EMAIL PROTECTED]
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

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


Re: [asterisk-users] Asterisk and ARI (Aterisk Recording Interface) integration problem

2006-10-31 Thread Tom Vile
it told you:Permission DeniedCheck the permissions on that directory.On 10/31/06, Zeeshan Zakaria 
[EMAIL PROTECTED] 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/msg.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 listTo UNSUBSCRIBE or update options visit:  
http://lists.digium.com/mailman/listinfo/asterisk-users-- Tom VileBaldwin Technology Solutions, IncConsulting - Web Design - VoIP Telephony
www.baldwintechsolutions.comPhone: 518-631-2855 x205Fax: 518-631-2856
___
--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


Re: [asterisk-users] Asterisk and ARI (Aterisk Recording Interface) integration problem

2006-10-31 Thread Zeeshan Zakaria
Everytime a voicemail is recorded, a .txt file is generated. It was working fine before and permissions were automatically set. On my home server it is working perfectly fine. This is another server, with the same settings, and all of a sudden today it has started to give this error. Voicemails etc recorded yesterday are all fine, no problem with permissions. I don't remember changing anything on the server today which could have started giving this error.
___
--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