[Home]

Summary:ASTERISK-06438: sounds/voicemail dir keeps pointing to /var/spool/asterisk/voicemail even when asterisk.conf is changed
Reporter:Leo Burd (leoburd)Labels:
Date Opened:2006-02-28 10:03:33.000-0600Date Closed:2006-04-11 16:59:08
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hello there,

I noticed that asterisk/sounds/voicemail keeps pointing to /var/spool/asterisk/voicemail even after I've changed astspooldir in asterisk.conf to point to a different directory.  

Here's the asterisk.conf that did not work for voicemail:

[directories]
astetcdir => /data/etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /data/var/lib/asterisk
astagidir => /data/var/lib/asterisk/agi-bin
astspooldir => /data/var/spool/asterisk
astrundir => /var/run
astlogdir => /var/log/asterisk



Is there any way to fix that?

Best,

Leo
Comments:By: Andrey S Pankov (casper) 2006-03-01 21:50:54.000-0600

That's because of "( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds  ; ln -s $(ASTSPOOLDIR)/voicemail . )" in the Makefile bininstall: section.
Just edit your symlink to point to the new location.

I think someone should add a note about it to doc/asterisk-conf.txt and doc/README.asterisk.conf.

By: Andrey S Pankov (casper) 2006-04-10 14:57:15

Is /var/lib/asterisk/sounds/voicemail used at all somewhere in real life?

By: Kevin P. Fleming (kpfleming) 2006-04-11 16:59:08

No, app_voicemail was changed in rev 4743 to no longer use that symlink. Removed from 1.2 and trunk.