[asterisk-bugs] [JIRA] (ASTERISK-27246) app_directory.c doesn't create /var/spool/asterisk/voicemail subdirectories after server move

David Moore (JIRA) noreply at issues.asterisk.org
Sat Sep 2 15:43:08 CDT 2017


David Moore created ASTERISK-27246:
--------------------------------------

             Summary: app_directory.c doesn't create /var/spool/asterisk/voicemail subdirectories after server move
                 Key: ASTERISK-27246
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27246
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/app_directory, Applications/app_voicemail/ODBC
    Affects Versions: 13.5.0
         Environment: Debian Jessie
            Reporter: David Moore
            Severity: Minor


Not sure if this is actually a bug

After migrating an (odbc-voicemail-backed) asterisk installation to a new server (installing asterisk on new server and moving config files, etc) I was testing things. I went into Directory() and I was unable to get anyone's name to play back, asterisk insisted on spelling everything out. I eventually discovered this is because nothing is attempting to create any directories in /var/spool/asterisk/voicemail/ - which is empty because it's a new server. I have to write a shell script to create a bunch of empty directories so that app_directory can playback names.

This isn't an issue on the old server because when someone authenticates to a mailbox the directory structure is created

afaict this affects everything in 13.x.x

The workaround is good enough for my use case, I am reporting this only in case anyone better than I am with c code thinks it's a problem worth fixing



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



More information about the asterisk-bugs mailing list