[asterisk-users] Which folder for sounds?

sean darcy
2010-03-23T01:38:26Z

1.6.2:

     -- Executing [s at incoming-pstn-line:4] VoiceMail("DAHDI/4-1",
"100 at default,u") in new stack
     -- <DAHDI/4-1> Playing
'/var/spool/asterisk/voicemail/default/100/unavail.gsm' (language
'en')
[Mar 22 17:15:46] WARNING[31145]: file.c:650 ast_openstream_full: File
vm-intro does not exist in any format
[Mar 22 17:15:46] WARNING[31145]: file.c:953 ast_streamfile: Unable to
open vm-intro (format 0x4 (ulaw)): No such file or directory

But:

locate vm-intro

/var/lib/asterisk/sounds/en/vm-intro.gsm
/var/lib/asterisk/sounds/en/vm-intro.ulaw
/var/lib/asterisk/sounds/en/vm-intro.wav

head -12 /etc/asterisk/asterisk.conf
[directories](!) ; remove the (!) to enable this
astetcdir => /etc/asterisk
astmoddir => /usr/lib64/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdbdir => /var/lib/asterisk
astkeydir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk


So in which folder are these sounds supposed to be?

But more importantly, who do we figure out where * is looking for
sounds? Some cli command would be really nice.

sean