[asterisk-bugs] [JIRA] (ASTERISK-28992) app_voicemail: Deadlock in ODBC when retrieving file

Schneur Rosenberg (JIRA) noreply at issues.asterisk.org
Thu Nov 26 04:40:16 CST 2020


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

Schneur Rosenberg commented on ASTERISK-28992:
----------------------------------------------

Hi, I downloaded the latest version of astersik 18, I ran the patch via
 patch -p1 < ../0001-app_voicemail-Prevent-ODBC-related-deadlock-out-of-d.patch     
(the patch was in one folder above) and I still have the same issue, I saw this in the logs 
 app_voicemail_odbc.c:9121 open_mailbox: Resequencing Mailbox: /var/spool/asterisk/voicemail/default/webcustomer96741/INBOX, expected 129 but found 75 message(s) in box with max threshold of 100.

but then the channel hung.

> app_voicemail: Deadlock in ODBC when retrieving file
> ----------------------------------------------------
>
>                 Key: ASTERISK-28992
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28992
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail/ODBC
>    Affects Versions: 17.5.1
>         Environment: Debian 9
>            Reporter: Schneur Rosenberg
>            Assignee: Unassigned
>              Labels: patch
>         Attachments: 0001-app_voicemail-Prevent-ODBC-related-deadlock-out-of-d.patch, locks.zip
>
>
> I'm having a major issue since I upgraded from Asterisk 11 that both voicemail and voicemailmain ocasionally crash, the call remains connected but there is silence, and the channel cannot be killed, hanging up wont help and neither would  "hangup request" and the every few seconds there would be a message in the CLI like WARNING[31353]: chan_sip.c:4410 __sip_autodestruct: Autodestruct on dialog '1216767442-5060-95 at BJC.BGI.A.BA' with owner SIP/9174342412-0000016a in place (Method: BYE). Rescheduling destruction for 10000 ms.
> Usually once it crashes no other users can get into their voicemail boxes and no new voicemails can be left until i restart asterisk



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



More information about the asterisk-bugs mailing list