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

DTMF not working between telephone-event/48000 A leg and telephone-event/8000 B leg

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: freeswitch-core
    • Labels:
      None
    • Environment:
      Ubuntu 12.04 lts
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux rs-dal-engine2-staging 3.2.0-24-virtual #37-Ubuntu SMP Wed Apr 25 10:17:19 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • lsb_release:
      Hide
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description: Ubuntu 12.04 LTS
      Release: 12.04
      Codename: precise
      Show
      No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise
    • Compiler:
      gcc
    • Compiler Version:
      gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
    • FreeSWITCH GIT Revision:
      5a5793ce9937b88475e8ec2542a0704ee150013d
    • GIT Master Revision hash::
      5a5793ce9937b88475e8ec2542a0704ee150013d
    • FSS Support Agreement Customer Number and Company name:
      Switch.co

      Description

      We have a scenario where a call from the PSTN is handled by FS. The SDP looks fairly traditional with codecs of PCMU at rtp_map of 0 and telephone-event/8000 at 101.

      In this scenario we bridge an outbound call to another server in our system.
      This outbound call has additional codec options (PCMU @ 0, opus @ 102) and 2 telephone-events. telephone-event/8000 @ 101, and telephone-event/48000 @ 103.

      The outbound call ends up choosing the opus codec and 103 for the telephone-event. When DTMF comes into FS on this outbound leg with payload type 103, it is not passed on to the A leg.

      B Leg Offer:
      3bdd2eaa-639b-11e5-ba27-a786f4869baf m=audio 24760 RTP/AVP 102 9 0 103 101
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=rtpmap:102 opus/48000/2
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=fmtp:102 useinbandfec=1; maxaveragebitrate=30000; maxplaybackrate=48000; ptime=20; minptime=20; maxptime=20; samplerate=48000; sprop-stereo=1
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=rtpmap:9 G722/8000
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=rtpmap:0 PCMU/8000
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=rtpmap:103 telephone-event/48000
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=fmtp:103 0-16
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=rtpmap:101 telephone-event/8000
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=fmtp:101 0-16

      B Leg 200 OK:
      3bdd2eaa-639b-11e5-ba27-a786f4869baf m=audio 23374 RTP/AVP 102 103
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=rtpmap:102 opus/48000/2
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=fmtp:102 useinbandfec=1; ptime=20; minptime=20; maxptime=20; samplerate=48000; sprop-stereo=1
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=rtpmap:103 telephone-event/48000
      3bdd2eaa-639b-11e5-ba27-a786f4869baf a=fmtp:103 0-16

      B Leg incorrect DTMF payload settings:
      3bdd2eaa-639b-11e5-ba27-a786f4869baf 2015-09-25 15:36:49.889667 [DEBUG] switch_core_media.c:6311 Set 2833 dtmf send payload to 103
      3bdd2eaa-639b-11e5-ba27-a786f4869baf 2015-09-25 15:36:49.889667 [DEBUG] switch_core_media.c:6317 Set 2833 dtmf receive payload to 101

      PCAP and logs are for the same set of calls.
      A Leg: 39fd7022-639b-11e5-ba09-a786f4869baf
      B Leg: 3bdd2eaa-639b-11e5-ba27-a786f4869baf

        Attachments

          Activity

            People

            • Assignee:
              anthm Anthony Minessale II
              Reporter:
              nickswitch Nick Foster
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: