Fix several bugs with SDP parsing and well-formedness of responses
authorKinsey Moore <kmoore@digium.com>
Thu, 10 Nov 2011 18:15:02 +0000 (18:15 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 10 Nov 2011 18:15:02 +0000 (18:15 +0000)
commitc2258006461ccf9e2d258caa840e0c99acb00b82
treef8ba467e83cb7d0a428462f00787ebfc5ecbaa84
parent3d44965e70ced03d71a7bb590f3215bfbdc7e4dd
Fix several bugs with SDP parsing and well-formedness of responses

Fix bug ASTERISK-16558 which dealt with the order of responses to incoming
streams defined by SDP.

Fix unreported bug where offering multiple same-type streams would cause
Asterisk to reply with an incorrect SDP response missing one or more streams
without a proper declination.

Fix bugs related to a single non-audio stream being offered with responses
requesting codecs that were not offered in the initial invite along with an
additional audio stream that was not in the initial invite.

Review: https://reviewboard.asterisk.org/r/1516/
........

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

Merged revisions 344386 from http://svn.asterisk.org/svn/asterisk/branches/10

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