mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +00:00
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
This commit is contained in:
@@ -944,7 +944,7 @@ struct sip_st_cfg {
|
||||
/*! \brief Structure for remembering offered media in an INVITE, to make sure we reply
|
||||
to all media streams. In theory. In practise, we try our best. */
|
||||
struct offered_media {
|
||||
int offered;
|
||||
int order_offered; /*!< Order the media was offered in. Not offered is 0 */
|
||||
char codecs[128];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user