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

Schneur Rosenberg (JIRA) noreply at issues.asterisk.org
Wed Dec 23 03:49:16 CST 2020


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

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

The resequencing does complete, my issue is when it takes long and the caller hangs up it wont release the channel until it finished, when there are lots of files in the voicemail and a few are missing it can take a minute or two while its silent and the caller would probably hang up, but asterisk keeps the channel tied up till it eventually finishes.

This is alot better than before the patches, because then the entire Voicemail on the system hung forever

> 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: Schneur Rosenberg
>              Labels: patch
>         Attachments: 0001-app_voicemail-Prevent-deadlocks-when-out-of-ODBC-dat.patch, 0002-app_voicemail-Attempt-to-optimize-mailbox-resequenci.patch, 0003-app_voicemail-Add-some-additional-debugging.patch, debug_log_28992, 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