]> 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:52 +0000 (15:36 +0000)
commit0f067874694c4bd31ad7c868d1c104134aeebc6e
tree1f245d4ba1f2940f2cd5d7b0f5d1b752d4b37e73
parent12017263c898ccf1af2918e8515102fc9c3a54d3
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