asterisk/channels/sip
Kinsey Moore bf6ef69702 Allow chan_sip to decline unwanted media streams
This change replaces the static array of four representable media
streams with an AST_LIST so that chan_sip can keep track of offered
media streams.  This allows chan_sip to deal with offers containing
multiple same-type streams and many other situations without rejecting
the SDP offer in its entirety, yet still generating a valid response.
This also covers cases where Asterisk can not comprehend the offer if
it is in the correct format.

Previously, chan_sip would reject SDP offers or entirely ignore
individual stream offers in an effort to be more compatible which
would often result in invalid SDP responses.

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-06-15 17:13:20 +00:00
..
include Allow chan_sip to decline unwanted media streams 2012-06-15 17:13:20 +00:00
config_parser.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
dialplan_functions.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
reqresp_parser.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
sdp_crypto.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
security_events.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
srtp.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
utils.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00