[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:45:07 CDT 2017


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

David Moore commented on ASTERISK-27246:
----------------------------------------

[2017-09-02 14:59:57] WARNING[21781][C-00000001]: app_voicemail.c:3831 retrieve_file: Failed to open/create '/var/spool/asterisk/voicemail/context/234/greet.txt'




> 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