search for: voicemail_file_mode

Displaying 1 result from an estimated 1 matches for "voicemail_file_mode".

2007 Apr 17
2
Voicemail files permission
...17 16:08 msg0002.txt -rwx------ 1 asterisk web-aster 65324 Apr 17 16:08 msg0002.wav I needed the files to have modes 660. I tried setting up umask in the script that starts asterisk and that did not help. After some searches I found that the apps/app_voicemail.c sets a define about this: #define VOICEMAIL_FILE_MODE 0600 that is used in: if ((ofd = open(outfile, O_WRONLY | O_TRUNC | O_CREAT, VOICEMAIL_FILE_MODE)) < 0) But no matter what I set in there I always get the files created the same way. Any ideas? -- Gustavo Felisberto (HumpBack) Web: http://dev.gentoo.org/~humpback Blog: http://blog.fe...