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

keep previously negotiated DTLS role during SIP re-INVITE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.18, 1.8
    • Component/s: mod_sofia
    • Labels:
      None
    • FreeSWITCH GIT Revision:
      acdf1d93dbf
    • GIT Master Revision hash::
      acdf1d93dbf

      Description

      In a WebRTC call, FS does not respect the DTLS role negotiated during the initial SDP O/A.

      1) INVITE from FreeSwitch with a=setup:actpass (as per spec).

      2) 200 from endpoint with a=setup:active (endpoint becomes DTLS client).

      3) Re-INVITE from endpoint with a=setup:actpass (as per spec).

      4) 200 from FreeSwitch with a=setup:active.

      This is wrong. During the re-INVITE, a=fingerprint, a=ice-ufrag and a=ice-pwd in the SDP have not changeg, so DTLS role MUST be the same as before. But FreeSwitch is clearly becoming DTLS client (a=setup:active). It should set a=setup:passive in the SDP answer.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikej Mike Jerris
                Reporter:
                ibc_aliax Iñaki Baz Castillo
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: