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

uuid_displace with tone_stream plays 4 dtmf tones after the tone_stream finishes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: Configuration, core
    • Labels:
      None
    • Environment:
      Debian
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux stagingmachine 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u3 (2017-08-15) x86_64 GNU/Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • lsb_release:
      Hide
      No LSB modules are available.
      Distributor ID: Debian
      Description: Debian GNU/Linux 8.9 (jessie)
      Release: 8.9
      Codename: jessie
      Show
      No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.9 (jessie) Release: 8.9 Codename: jessie
    • Compiler:
      gcc
    • Compiler Version:
      gcc (Debian 4.9.2-10) 4.9.2
    • FreeSWITCH GIT Revision:
      3dbb9ffc203fb4757b11b7ffcb20f87fc9e622f6
    • GIT Master Revision hash::
      3dbb9ffc203fb4757b11b7ffcb20f87fc9e622f6
    • FSS Support Agreement Customer Number and Company name:
      Dialpad

      Description

      As the title states, when I have a dialplan that has a uuid_displace with a tone_stream, the sequence of sounds for the tone stream will play, but after that has completed there will be a series of 4 louder DTMF tones that are played. Below is a snippet of a reproducible case in a dialplan extension.

      <extension name="notworking">
      <condition field="destination_number" expression="^9196$">
      <action application="pre_answer"/>
      <action application="set" data="api_result=${uuid_displace ${uuid} start tone_stream://%(2000,8000,440,480) }" />
      <action application="playback" data="tone_stream://%(400,200,375,425);%(400,1000,400,450);%(400,1000,425,475);loops=-1" />
      <action application="sleep" data="120000"/>
      </condition>
      </extension>

      The output sound will be the normal ringing, 4 dtmf tones, and then the second sequence of tone sounds from the application playback.
      The expectation for a correctly working example would be the same, but without the 4 dtmf tones. I'm not sure where they're coming/injected from.

      Also note, following is a working example without the 4 dtmf tones. This has a uuid_displace, but instead of a tone_stream it uses a local file on the system directly.

      <extension name="working">
      <condition field="destination_number" expression="^9197$">
      <action application="pre_answer"/>
      <action application="set" data="api_result=${uuid_displace ${uuid} start /usr/local/freeswitch/bin/sound.wav }" />
      <action application="playback" data="tone_stream://%(2000,4000,440,480);loops=-1" />
      <action application="sleep" data="120000"/>
      </condition>
      </extension>

        Attachments

          Activity

            People

            • Assignee:
              brian@freeswitch.org Brian West
              Reporter:
              Douglas Brandt Douglas Brandt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: