]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: SDP: Reject audio streams correctly.
authorAlexander Traud <pabstraud@compuserve.com>
Thu, 21 Jan 2021 19:28:06 +0000 (20:28 +0100)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 27 Jan 2021 16:42:01 +0000 (10:42 -0600)
commit4c154f3431183cdc8afce7c0ea6bff0ed44fe043
treefdded6a84bc492d9be5453b460c51a91113ff620
parent7c0fbaf010122159c8b2aeff213e7e16e4d4f7ee
chan_sip: SDP: Reject audio streams correctly.

This completes the fix for ASTERISK_24543. Only when the call is an
outgoing call, consult and append the configured format capabilities
(p->caps). When all audio formats got rejected the negotiated format
capabilities (p->jointcaps) contain no audio formats for incoming
calls. This is required when there are other accepted media streams.

ASTERISK-29258

Change-Id: I8bab31c7f3f3700dce204b429ad238a524efebb9
channels/chan_sip.c