]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: SDP: Sidestep stream parsing when its media is disabled.
authorAlexander Traud <pabstraud@compuserve.com>
Wed, 23 Dec 2020 14:44:45 +0000 (15:44 +0100)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 13 Jan 2021 14:29:37 +0000 (08:29 -0600)
commit34b0960310011f9792c78c6e58ce2a8e49b345a6
tree031119f2d2b81b5871222b5170ed44f28a68bd8b
parent97afc9055fbe8ca573a1a3745b7f4facff364d39
chan_sip: SDP: Sidestep stream parsing when its media is disabled.

Previously, chan_sip parsed all known media streams in an SDP offer
like video (and text) even when videosupport=no (and textsupport=no).
This wasted processor power. Furthermore, chan_sip accepted SDP offers,
including no audio but just video (or text) streams although
videosupport=no (or textsupport=no). Finally, chan_sip denied the whole
offer instead of individual streams when they had encryption (SDES-sRTP)
unexpectedly enabled.

ASTERISK-29238
ASTERISK-29237
ASTERISK-29222

Change-Id: Ie49e4e2a11f0265f914b684738348ba8c0f89755
channels/chan_sip.c