chan_sip: Fix an issue where an incompatible audio format may be added to SDP.
authorJoshua Colp <jcolp@digium.com>
Wed, 23 Oct 2013 11:16:44 +0000 (11:16 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 23 Oct 2013 11:16:44 +0000 (11:16 +0000)
commitf4e028a765718d3c7f06bb5256084cff6d294930
tree275d7069cc2cea17a7ae2cf925bb06c6b5a21897
parent4ca92e3b8af8351a7d7cc66f9713b427c7cf1827
chan_sip: Fix an issue where an incompatible audio format may be added to SDP.

If preferred codecs included any non-audio format the code would
mistakenly add the audio format, even if it was not a joint capability
with the remote side.

(closes issue ASTERISK-21131)
Reported by: nbougues
Patches:
patch_unsupported_codec_1.8.patch uploaded by nbougues (license 6470)
........

Merged revisions 401497 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 401498 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 401499 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c