Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-7106

playback audio from http cannot handle any amount of concurrency

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.13
    • Fix Version/s: None
    • Component/s: freeswitch-core, mod_httapi
    • Labels:
      None
    • Environment:
      Debian wheezy. Freeswitch built from latest git. Systems running on bare iron, running on lxc, as well as running on vmware.
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 7 wheezy
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      ca1d990cfce7bc03f26b103d958c6a483aeae44f (1.4)
    • GIT Master Revision hash::
      85ff3ae3f7f281b311a019541c2f1611e8cf3812 (master)

      Description

      This issue can be reproduced on fresh builds against the master branch as well as v1.4. The issue does not seem to be present in the v1.2, however I've only checked the deb packages for 1.2.

      The issue I'm seeing is when I have multiple users playback files from http, the files that they hear are all cut off or jumbled, sometimes with missing parts in the middle, and just generally weird. In a couple rare cases, I have observed one cache file contain random parts of audio from two separate files.

      I'm using the vanilla config from `make install`, all I've changed was the default_password, and the addition of the file I've attached here.

      Steps to reproduce:
      1) Add the attached file (01_test_httapi.xml) to dialplan/default/

      2) With one phone, dial in to the extension 987654321
      2 a) You'll notice it working reasonably as expected

      3) With many phones (or many sessions otherwise), dial in to the extension 987654321
      3 a) You'll notice the audio files being played back seem to be abbreviated, interrupted, and generally weird.

        Attachments

          Activity

            People

            • Assignee:
              anthm Anthony Minessale II
              Reporter:
              andyortlieb Andy Ortlieb
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: