[asterisk-bugs] [JIRA] (ASTERISK-27093) ODBC deadlocks when app_directory tries to play back non-existent voicemail greeting

James Terhune (JIRA) noreply at issues.asterisk.org
Thu Jun 29 10:20:58 CDT 2017


James Terhune created ASTERISK-27093:
----------------------------------------

             Summary: ODBC deadlocks when app_directory tries to play back non-existent voicemail greeting
                 Key: ASTERISK-27093
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27093
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_directory, Applications/app_voicemail/ODBC
    Affects Versions: 13.16.0
         Environment: Ubuntu 16.04, ODBC using mysql as a backend
            Reporter: James Terhune
         Attachments: patch_vm_directory_release

If we use app_directory and the directory structure for the context doesn't exist, the ODBC connection will stay locked and the channel cannot be destroyed.

We see the following in the log:
{noformat}
[2017-06-28 14:45:28] WARNING[17794][C-0000002f]: app_voicemail.c:3886 retrieve_file: Failed to open/create '/var/spool/asterisk/voicemail/directory1/433/greet.txt'
{noformat}

It appears that this is caused by a missing ast_odbc_release_obj(). Adding it  appears to fix the issue.



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



More information about the asterisk-bugs mailing list