search for: ast_file_mode

Displaying 3 results from an estimated 3 matches for "ast_file_mode".

2013 Apr 29
1
Asterisk 11.3.0 - Mask for new file not correct
...pseudos]$ ll -rw-r--r-- 1 asterisk asterisk 51244 mars 29 16:04 Pseudo_2_1111.wav I checked the doc on https://wiki.asterisk.org/wiki/display/AST/Application_Record but I didn't find anything about umask permissions. I checked Doxygen, I can see file creation permissions is set to 666 #define AST_FILE_MODE 0666 http://doxygen.asterisk.org/trunk/asterisk_8h.html#a6293b2dae52a2b470494df672a26c42 What can I do to fix that or debug? Ludovic BOU?
2013 May 01
0
asterisk-users Digest, Vol 105, Issue 39
...51244 mars 29 16:04 Pseudo_2_1111.wav > > > > I checked the doc on > https://wiki.asterisk.org/wiki/display/AST/Application_Record but I > didn't find anything about umask permissions. I checked Doxygen, I can see > file creation permissions is set to 666 > > #define AST_FILE_MODE 0666 > > > http://doxygen.asterisk.org/trunk/asterisk_8h.html#a6293b2dae52a2b470494df672a26c42 > > > > What can I do to fix that or debug? > > The AST_FILE_MODE works by the same rules as mode parameter in open(2): > "The effective permissions are modified by the...
2014 Jul 31
0
AGI Record File / what does randomerror mean? res_agi.c / line 2377
...4]); 2376 if (res) { 2377 ast_agi_send(agi->fd, chan, "200 result=%d (randomerror) endpos=%ld\n", res, sample_offset); 2378 } else { 2379 fs = ast_writefile(argv[2], argv[3], NULL, O_CREAT | O_WRONLY | (sample_offset ? O_APPEND : 0), 0, AST_FILE_MODE); 2380 if (!fs) { 2381 res = -1; 2382 ast_agi_send(agi->fd, chan, "200 result=%d (writefile)\n", res); 2383 if (sildet) 2384 ast_dsp_free(sildet); 2385...