]> 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)
committerSean Bright <sean@seanbright.com>
Tue, 24 Oct 2023 15:36:45 +0000 (15:36 +0000)
commitc7afd5357c9e1ec5d779d04391b52e77f2513b59
treeac47e68c8b3411d924b88b74ed029dd6384a2e37
parent4c507d31b93a76c9bd194c10028c900064f37f2b
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