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

Wrong sound file is played back in browser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13, 14
    • Fix Version/s: 13
    • Component/s: Recordings
    • Labels:
      None

      Description

      When selecting a file whose name matches the beginning of another sound, it will not be played in the browser. Instead the last (alphabetically matching) sound is played.

      For example, using system sound "vm-review" in a recording and pressing the play button will play back "vm-review-urgent" instead. The sound file is stored correctly, and dialplan is generated properly.

      This is due to over-enthusiastic filename globbing in Recordings::fileStatus()

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

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