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

Already installed sound packages are not detected properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: None
    • Component/s: Sound Languages
    • Labels:
      None

      Description

      Currently, at first install, the installer looks for a file named something like .asterisk-core-sounds-en-ulaw-1.5 in the sounds directory. If it's found, the installer tries to run Soundlang::installPackage() which fails because there's no package ID passed to it. I'd suggest doing a lookup for matching packages in the database, which can then be marked as installed.

      (Also, not sure if it's intentional or not, but the existing sound files would be overwritten by the installer anyway, as the previous block of code is downloading from the server. Should the check for existing packages be placed before this?)

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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