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

Wrong debug information displayed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not an issue
    • Affects Version/s: 2.10
    • Fix Version/s: None
    • Component/s: ARI User Portal
    • Labels:
      None
    • ToDo:

      Description

      Howdy,

      I had a problem after install when I was testing call recording, I had it set ulaw, and when I entered the user portal, I get a "404 file not found!", I looked at source, and in file "recordings/misc/audio.php", I saw that there's some allowed formats, and ulaw isn't there.

      On the switch on this audio.php file:

      switch( $extension ) {
      case "mp3": $ctype="audio/mpeg"; break;
      case "wav": $ctype="audio/x-wav"; break;
      case "Wav": $ctype="audio/x-wav"; break;
      case "WAV": $ctype="audio/x-wav"; break;
      case "gsm": $ctype="audio/x-gsm"; break;

      // not downloadable
      default: die($extension . "<b>404 File not found!</b>"); break ;

      the "404 file not found" should be another information, more like "format not supported".
      Or it it's supported, just add the correct mime type for it (if possible for ulaw/alaw etc).

      I spent about 4 days with this think 'cause of the 404 not found

      Jorge,

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tm1000 Andrew Nagy
                  Reporter:
                  jasb jasb
                • 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.