extensions_additional sound files

Hello.

I have a FreePBX 2.8 system on top of Asterisk 1.8 on Ubuntu 10.04. I installed Asterisk from the Digium packages and FreePBX from the tarball. Having a few problems but one is confounding me the most. All of the sound file playbacks referenced in extensions_additional.conf (written by FreePBX) cannot be found. That is call waiting on and off, do not disturb on and off, the feature code files.

I have specified my language (en) in the SIP settings but when I dial a feature code i get an error:
“File do-not-disturb does not exist in any format"
followed by
"Unable to open do-not-disturb (format 0x4 (ulaw)): No such file or directory”
(there are other files invovled, this is just one example).

Voicemail sounds are fine. The sounds I have in /var/lib/asterisk/sounds/en are all .gsm, so I think the fact that the feature codes are lookinf for ulaw has something to do with it maybe? However, if I hard-code the full path in the extensions_additional.conf file — such as" exten => *79,n(hook_1),Playback(/var/lib/asterisk/sounds/en/do-not-disturb&/var/lib/asterisk/sounds/en/de-activated)" — it works fine, but this file is re-written by FreePBX so that’s not a good fix.

Perhaps a global variable is not being set somewhere?

Any help is appreciated.

Are the sound files owned by the Asterisk user (are you running Asterisk with an Asterisk user)?

Yes and yes, thanks though.

I just figured it out - I guess the Deb/Ubuntu package for Asterisk sounds dumps them into /usr/share/asterisk/sounds/en_US_f_Allison rather than /var/lib/asterisk/sounds/en. Further, I neglected to install the “asterisk-sounds-extra” package which had the missing sounds. So, my mistake, but I appreciate your help.

Furthering the confusion, I had originally installed Asterisk 1.8 from source, which had placed everything in /var/lib/asterisk/sounds, so I saw the files there and assumed that was where asterisk was looking for them. Silly me. The source install didn’t work quite right so at 2am I decided to give the package a go. That worked (kind of, still running into issues).

Again, thanks for your time and I wish I had used the FreePBX distro or at least AsteriskNOW.