[asterisk-bugs] [JIRA] (ASTERISK-29060) app_voicemail fails silently if mailcmd does not exist

Michael Newton (JIRA) noreply at issues.asterisk.org
Tue Sep 1 13:34:43 CDT 2020


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

Michael Newton commented on ASTERISK-29060:
-------------------------------------------

Sorry, I didn't mean the voicemail recordings aren't saved, I'm just talking about the email. There's no fallback for a missing script, so the email is never sent.

> app_voicemail fails silently if mailcmd does not exist
> ------------------------------------------------------
>
>                 Key: ASTERISK-29060
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29060
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 16.12.0
>            Reporter: Michael Newton
>            Assignee: Michael Newton
>            Severity: Minor
>
> If the `mailcmd` parameter refers to a command or script that does not exist, all voicemail messages are silently dropped.
> [At the time|https://github.com/asterisk/asterisk/blob/16.12/apps/app_voicemail.c#L14020] the value is assigned, it should also check for its existence and executability. If either check fails, an error should be generated and Asterisk should fall back to its default behaviour.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list