diff options
author | Kinsey Moore <kmoore@digium.com> | 2011-11-10 18:15:02 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2011-11-10 18:15:02 +0000 |
commit | c2258006461ccf9e2d258caa840e0c99acb00b82 (patch) | |
tree | f8ba467e83cb7d0a428462f00787ebfc5ecbaa84 /channels/sip/include | |
parent | 3d44965e70ced03d71a7bb590f3215bfbdc7e4dd (diff) |
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
Diffstat (limited to 'channels/sip/include')
-rw-r--r-- | channels/sip/include/sip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h index c3c7a98d5..bc4ea4d96 100644 --- a/channels/sip/include/sip.h +++ b/channels/sip/include/sip.h @@ -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]; }; |