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

DTLS is not negotiated after network change, using verto.attach

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: New
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: mod_verto, RTP
    • Labels:
      None
    • Environment:
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • uname:
      Linux dku-wsbc-01-staging 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u1 (2017-06-18) 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
    • FreeSWITCH GIT Revision:
      1.9.0-1838-a577683
    • GIT Master Revision hash::
      a577683

      Description

      We first initiate a call, using verto, and that goes fine. Call is established, media is flowing and everything works.

      We then detect a network change, disconnect the verto socket, and reconnect from the new network.

      We receive the verto.attach event, and respond to it, with an attach, with new SDP, generated by our client.

      Here we have a problem. Our client now tries to initiate DTLS, but never receives a responds to its TLS hello command. Instead, FreeSWITCH just sends RTP packets to the client, with what I think is the original encryption information, which of course our client doesnt accept.

      We first tried this with the production release of FreeSWITCH 1.6, and here the ICE never gets renegotiated, so that doesnt function at all.
      With 1.9, the ICE gets negotiated, but it seems this doesnt happen with the DTLS and SRTP.

      I have attached log from FreeSWITCH, and a pcap from the client machine.
      Our client is using the IceLink media stack.

      FreeSWITCH is debian package from unstable, and correlates with newest git master hash.

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              jleren Jon Leren Schøpzinsky
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: