[asterisk-bugs] [JIRA] (ASTERISK-22830) Change log output for audio files with bad permissions

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Nov 6 12:42:03 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=211562#comment-211562 ] 

Matt Jordan commented on ASTERISK-22830:
----------------------------------------

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.
                
> Change log output for audio files with bad permissions
> ------------------------------------------------------
>
>                 Key: ASTERISK-22830
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22830
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>    Affects Versions: 11.5.0
>            Reporter: Justin Killen
>            Severity: Minor
>
> 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"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list