]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Don't send RTP before DTLS has negotiated.
authorBen Ford <bford@sangoma.com>
Mon, 4 Aug 2025 17:22:12 +0000 (12:22 -0500)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 10 Sep 2025 19:52:59 +0000 (19:52 +0000)
commit3f203d137c320413f2f09cad94b2eeebff6e1aa0
tree60b6d3e34b7740b8d855547279ce05a4668b15e9
parent5ab0c5508e5a558b0971ee18ca3997d33e29038f
res_rtp_asterisk: Don't send RTP before DTLS has negotiated.

There was no check in __rtp_sendto that prevented Asterisk from sending
RTP before DTLS had finished negotiating. This patch adds logic to do
so.

Fixes: #1260
(cherry picked from commit 5843d025412db8f7ca4694fc05b79be951887fd1)
res/res_rtp_asterisk.c