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

regression in native audio recording

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.18
    • Fix Version/s: None
    • Component/s: freeswitch-core
    • Security Level: public
    • Labels:
      None
    • Environment:
      Debian Wheezy, on different hosts.
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 7 wheezy
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      359ff2ac70788594a321eac856c85011baed017d
    • GIT Master Revision hash::
      359ff2ac70788594a321eac856c85011baed017d

      Description

      At first I noticed that a VM at digitalocean (KVM) had significantly worse audio recorded in native format than in WAV: there were gaps in the audio every few seconds. Later I made a test on the same and several different hosts. KVM hosts showed always the problem. One of Xen servers did not show it, while another Xen server had this problem. A baremetal ARM server also did not show the problem.

      The problem is stably reproducible with current master branch and with 1.4.18. Also I rolled back the master branch to dc8c8cc7b8 (Fri Dec 19 02:38:07 2014 -0600, Merge pull request #142 in FS/freeswitch from ~BORDMI/freeswitch-fs-7098-7099:master to master), and the problem disappeared on the DigitalOcean host.

      I can provide you access to the server if needed.

      Piece of public dialplan:
          <extension name="record">
            <condition field="destination_number" expression="^record_(.+)$">
              <action application="set" data="RECORD_READ_ONLY=true"/>
              <action application="set" data="send_silence_when_idle=400"/>
              <action application="set" data="record_waste_resources=true"/>
              <action application="jitterbuffer" data="60:200:20"/>
              <action application="answer"/>
              <action application="record_session" data="/var/tmp/record_$1"/>
              <action application="playback" data="silence_stream://-1"/>
            </condition>
          </extension>

      Command executed on the same server, sending a call to its own IP address:
      fs_cli -x 'originate sofia/external/record_01@104.236.177.224:5080 &playback(/var/tmp/ITU-T_P_50_BRITISH_ENGLISH.wav)'

      The audio file is a 16-bit, 8KhZ WAV file available at http://murmur.voxserv.ch/media/ITU-T_P_50_BRITISH_ENGLISH.wav

      The resulting audio has audible gaps every few seconds.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthm Anthony Minessale II
                Reporter:
                ssinyagin Stanislav Sinyagin
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: