[asterisk-bugs] [JIRA] (ASTERISK-27246) app_directory.c doesn't create /var/spool/asterisk/voicemail subdirectories after server move
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Thu Sep 7 18:49:07 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton updated ASTERISK-27246:
------------------------------------
Assignee: David Moore (was: Unassigned)
Status: Waiting for Feedback (was: Triage)
Do you have an analysis of the code segment you mentioned that you can share on this issue?
Or, can you describe how to reproduce the issue with minimal configuration on a new asterisk installation?
> 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
> Assignee: 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