[asterisk-bugs] [JIRA] (ASTERISK-28425) Realtime Voicemail locks Asterisk when no filesystem folder exists

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu May 23 08:25:47 CDT 2019


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

Joshua C. Colp commented on ASTERISK-28425:
-------------------------------------------

It appears the bug you have submitted is against a rather old version of a supported branch of Asterisk. There have been many issues fixed between the version you are using and the current version of your branch. Please test with the latest version in your Asterisk branch and report whether the issue persists.

Please see the Asterisk Versions [1] wiki page for info on which versions of Asterisk are supported.
[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions



> Realtime Voicemail locks Asterisk when no filesystem folder exists
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-28425
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28425
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail/ODBC
>    Affects Versions: 13.12.0
>         Environment: Ubuntu 14.04 + Asterisk 13.12. Might affect newer versions. I compared app_voicemail.c on 13.26 and found very minor differences.
>            Reporter: Mark Kozusnik
>            Severity: Minor
>         Attachments: core_lock_bt.txt
>
>
> We have a multi-cluster environment with realtime ODBC voicemail served on each server. When a new mailbox is created in the central management tool, it passes that mailbox to every server, and creates a database record in voicemail_users. In the case where a voicemail exists for that server, a corresponding folder is created in /var/spool/asterisk/voicemail/{context}/ when it's first used. 
> When a user is attempting to forward a voicemail from their server to a voicemail box which does not have a filesystem folder (exists on a different server), asterisk locks up. The current sip calls continue, but no new calls can be made to or from that server. The CLI also becomes unresponsive, but AMI messages are still showing. Cannot "core restart now" asterisk from the CLI. The process has to be killed and restarted manually.
> I created a workaround with a program which creates a folder for each voicemail_users entry if it doesn't already exist. I still need to create one to move the forwarded voicemails to the servers where the boxes live, but that's not something for this discussion.
> This can be repeated by creating 2 voicemail boxes on a server, 1111 and 2222 in the voicemail_users table, but make sure that only 1111 exists in /var/spool/asterisk/voicemail/{context}/. Delete 2222 if it exists. Call and leave a voicemail for 1111. Dial in to retrieve 1111's voicemail. Press option 1 to listen to new, then option 8 to forward. (No prepending needed) Dial 2222. The following message will be logged in the CLI and you will no longer be able to call that server.
> Example from my server:
> app_voicemail.c: Failed to open/create '/var/spool/asterisk/voicemail/from-internal-sip/2222/greet.txt'
> No core files are created, but I extracted a backtrace as best I could.



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



More information about the asterisk-bugs mailing list