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

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


Michael Newton created ASTERISK-29060:
-----------------------------------------

             Summary: app_voicemail fails silently if mailcmd does not exists
                 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
            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