]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_configuration.c: Disable DTLS renegotiation if WebRTC is enabled.
authorSean Bright <sean@seanbright.com>
Mon, 23 Oct 2023 19:53:08 +0000 (15:53 -0400)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 24 Oct 2023 15:36:55 +0000 (15:36 +0000)
commit8a27d7ef8964cffd4a571ec369af130fb37979bb
tree17b259997b8ccd861e0ccbaabad14c01fb3c0091
parent32875853798f71e0b4e30172d674f968c33e29d4
pjsip_configuration.c: Disable DTLS renegotiation if WebRTC is enabled.

Per RFC8827:

    Implementations MUST NOT implement DTLS renegotiation and MUST
    reject it with a "no_renegotiation" alert if offered.

So we disable it when webrtc=yes is set.

Fixes #378

UpgradeNote: The dtls_rekey will be disabled if webrtc support is
requested on an endpoint. A warning will also be emitted.
res/res_pjsip/pjsip_configuration.c