FreePBX doesn't correctly support the default Asterisk 1.6 (and optional Asterisk 1.4) sound files location scheme.
Attempting to structure sound files based on Asterisk 1.6 pattern, and setting the option in asterisk.conf:
languageprefix=yes
This should allow having a sound file structure similar to this:
/var/lib/asterisk/sounds/en/
/var/lib/asterisk/sounds/es/
/var/lib/asterisk/sounds/fr/
Have put all sound files according to the above, so there is nothing in the sounds directory, other than the 3 folders (as per:http://www.packtpub.com/article/localization-and-practical-security-in-asterisk-1-4-part-1). All is fine with default english prompts being picked up correctly by Asterisk, but FreePBX doesn't like this configuration and wants to insist that at the very least, the default language sound files should appear under the sounds folder and the custom under sounds/custom as shown in the page.recordings.php:
{noformat}$astsnd = isset($asterisk_conf['astvarlibdir'])?$asterisk_conf['astvarlibdir']:'/var/lib/asterisk';
$astsnd .= "/sounds/";
...
if (!file_exists($astsnd."custom")) {
if (!mkdir($astsnd."custom", 0775)) {{noformat}
- is duplicated by
-
FREEPBX-5723 Sound files for various modules are not following new directory structure for asterisk sounds
-
- Closed
-
- relates to
-
FREEPBX-7162 Many modules place their sounds in the "wrong" directory
-
- Closed
-