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

Sean Bright (JIRA) noreply at issues.asterisk.org
Tue Sep 1 11:13:43 CDT 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Bright updated ASTERISK-29060:
-----------------------------------

    Assignee: Michael Newton
      Status: Waiting for Feedback  (was: Triage)

Can you clarify what you mean by "all voicemail messages are silently dropped?"

I don't see anything that checks the result of executing mailcmd so I don't see how it failing would lose any data.

> 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