]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 27 Jan 2021 16:47:27 +0000 (10:47 -0600)
commit4aff42b274a3d3574736b5a3cbfb553a2a94bb03
tree126fa685f5ee40ab4ab972de73a94a30c19b2bdd
parent05472da92b178277d3bcb7a7b68e80f755a26870
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