[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
Tue Sep 5 18:51:09 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
      Status: Waiting for Feedback  (was: Triage)

Silly question - have you compared the permissions on the folder between the two servers and to what Asterisk is running as?

Can you switch to the same user that Asterisk is running as and try to create a file in that folder?

Can you collect an additional debug log with everything turned up high to see if Asterisk gives us any other clues?

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

> 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