[asterisk-bugs] [JIRA] (ASTERISK-24288) ODBC usage with app_voicemail - voicemail is not deleted after review, hangup

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Sep 3 09:36:29 CDT 2014


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

Matt Jordan commented on ASTERISK-24288:
----------------------------------------

While I haven't tested the patch (that is, I'm not sure if we should be unilaterally disposing of the file in that branch), I can say the patch is not the right way to fix that problem.

The proper way of deleting a file on disk when using ODBC or IMAP storage is to use the DISPOSE macro. Assuming the problem occurs as the issue describes, the proposed patch would fix this for ODBC (in a non-recommended fashion) but leave the problem intact for IMAP, which is hardly ideal.

> ODBC usage with app_voicemail - voicemail is not deleted after review, hangup
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-24288
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24288
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail/ODBC
>    Affects Versions: 11.11.0, 11.12.0
>         Environment: ALL
>            Reporter: LEI FU
>            Severity: Minor
>         Attachments: voicemail_odbc_review_fix.diff
>
>
> When using ODBC storage, operator and review enabled, after leaving a voicemail message, press 0 to enter the menu(press 1 to save the message), then hold about 4 seconds until it prompt "message deleted", but if you hang up the call, you will find the message is still there.
> Fixed by attached path



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



More information about the asterisk-bugs mailing list