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

DTLS Handshake with 1.8.2 takes 4 seconds longer then with 1.6.20

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: mod_sofia
    • Labels:
      None
    • Environment:
      Debian Jessie
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) 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.11 (jessie)
      Release: 8.11
      Codename: jessie
      Show
      No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.11 (jessie) Release: 8.11 Codename: jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      FreeSWITCH Version 1.8.2-3-a98a958~64bit (-3-a98a958 64bit)
    • GIT Master Revision hash::
      FreeSWITCH Version 1.9.0+git~20181113T164728Z~f0a03ca337~64bit (git f0a03ca 2018-11-13 16:47:28Z 64bit)

      Description

      In our test szenario we use web client which connects by the jssip libraray to freeswitch. We use the same dialplan with freeswitch 1.6.20 and 1.8.2. So basically we receive a call via SIP UDP and bridge it to the Webclient connected via WSS. The DTLS handshake takes 4 seconds longer with 1.8.2 than with 1.6.20.

      1.6.20
      2018-11-18 22:00:30.027682 [INFO] switch_rtp.c:3752 Changing audio DTLS state from OFF to HANDSHAKE
      2018-11-18 22:00:30.327682 [INFO] switch_rtp.c:3192 Changing audio DTLS state from HANDSHAKE to SETUP
      2018-11-18 22:00:30.347681 [INFO] switch_rtp.c:3141 Changing audio DTLS state from SETUP to READY

      1.8.2
      2018-11-19 10:33:00.648207 [INFO] switch_rtp.c:3832 Changing audio DTLS state from OFF to HANDSHAKE
      2018-11-19 10:33:04.768207 [INFO] switch_rtp.c:3206 Changing audio DTLS state from HANDSHAKE to SETUP
      2018-11-19 10:33:04.788207 [INFO] switch_rtp.c:3155 Changing audio DTLS state from SETUP to READY

      In the log for 1.8.2 I can also see some messages like

      tport_type_ws.c:232 tport_recv_stream_ws() tport_recv_stream_ws(0x7fc9bc2890a0): su_getmsgsize(): Host is down (112) N=-1

      maybe this is related. Please find attached the logs of both calls.

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              mbo Markus
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: