I have a patch to read the file and directory mask to use from the voicemail configuration file. At 11:03 PM 5/7/2003 -0400, you wrote:>vmail.cgi rocks (if I can borrow the expression for Mark Street). As Mark >pointed out, the /vm/INBOX messages are created with 0700 security and >vmail.cgi is not happy. Apache/cgi/vmail.cgi cannot play them unless I >fool around with the Apache wrapper or chmod 755 *.* thefiles >myself. (Tedious, that is why I like computers). >Obviously this is not acceptable. I took a trip to the >apps/app_voicemail.c country club and found that I can modify it to force >the issue by altering the directory and files as it "happens" when >recording takes place. >What is everybody else doing? >I am, for sure, not the only one with this issue. It comes with the cgi >territory. I am trying to keep my pearl vmail script with the -T >switch. I can also modify with chmod here but I am going to force the >issue, I prefer the "c" code. >Regards, >Uriel-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030507/9e96c346/attachment.htm
Uriel Carrasquilla
2003-May-07 20:03 UTC
[Asterisk-Users] vmail.cgi cannot read/delete messages
vmail.cgi rocks (if I can borrow the expression for Mark Street). As Mark pointed out, the /vm/INBOX messages are created with 0700 security and vmail.cgi is not happy. Apache/cgi/vmail.cgi cannot play them unless I fool around with the Apache wrapper or chmod 755 *.* thefiles myself. (Tedious, that is why I like computers). Obviously this is not acceptable. I took a trip to the apps/app_voicemail.c country club and found that I can modify it to force the issue by altering the directory and files as it "happens" when recording takes place. What is everybody else doing? I am, for sure, not the only one with this issue. It comes with the cgi territory. I am trying to keep my pearl vmail script with the -T switch. I can also modify with chmod here but I am going to force the issue, I prefer the "c" code. Regards, Uriel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030507/5b6e42ac/attachment.htm
Adam Goryachev
2003-May-07 21:00 UTC
[Asterisk-Users] vmail.cgi cannot read/delete messages
Isn't the mode determined by the umask which is inherited by asterisk at startup ?? Just make sure you define an appropriate umask setting when starting asterisk... Regards, Adam -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Uriel Carrasquilla Sent: Thursday, 8 May 2003 1:03 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] vmail.cgi cannot read/delete messages vmail.cgi rocks (if I can borrow the expression for Mark Street). As Mark pointed out, the /vm/INBOX messages are created with 0700 security and vmail.cgi is not happy. Apache/cgi/vmail.cgi cannot play them unless I fool around with the Apache wrapper or chmod 755 *.* thefiles myself. (Tedious, that is why I like computers). Obviously this is not acceptable. I took a trip to the apps/app_voicemail.c country club and found that I can modify it to force the issue by altering the directory and files as it "happens" when recording takes place. What is everybody else doing? I am, for sure, not the only one with this issue. It comes with the cgi territory. I am trying to keep my pearl vmail script with the -T switch. I can also modify with chmod here but I am going to force the issue, I prefer the "c" code. Regards, Uriel