[Home]

Summary:ASTERISK-22830: Change log output for audio files with bad permissions
Reporter:Justin Killen (justinkillen)Labels:
Date Opened:2013-11-06 12:36:29.000-0600Date Closed:2013-11-06 12:41:12.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:
Versions:11.5.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When attempting to do a background() on an audio file that doesn't have correct permissions, the log output is "file.c  Unable to open <filename> (format (ulaw)): No such file or directory"

It would be nice if instead the log output something like: file.c  Unable to open <filename> (format (ulaw)): No permissions on file"
Comments:By: Matt Jordan (mjordan) 2013-11-06 12:41:03.994-0600

That error message is outputting the result of strerror(errno). We don't construct the reason why the file open failed, the underlying library calls do.