]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 13 Jan 2021 13:42:19 +0000 (07:42 -0600)
commitad606d4ad140062ec4cb88ca3e52273cef516492
tree37c5b013111315dbc898fe06171313f272809523
parentcc496044db5eed8bf6e86859765e1741017c2224
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