Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-5419

Sound files location

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 13
    • Component/s: Languages
    • Labels:
      None
    • ToDo:

      Description

      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}

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tm1000 Andrew Nagy
                  Reporter:
                  castortech castortech
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    NextupJiraPlusStatus

                    Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.