asterisk/channels/sip
Walter Doekes 711a3fed56 chan_sip: Always process updated SDP on media source change
Fixes no-audio issues when the media source is changed and
strictrtp is enabled (default).

If the peer media source changes, the SDP session version also changes.
If it is lower than the one we had stored, chan_sip would ignore it.

This changeset keeps track of the remote media origin identifier,
comparing that as well. If it changes, the session version needn't be
higher for us to accept the SDP.

Common scenario where this would've caused problems: a separate media
gateway that informs the caller about premium rates before handing off
the call to the final destination.

(An alternative fix would be to set ignoresdpversion=yes on the peer.)

ASTERISK-28686

Change-Id: I88fdbc5aeb777b583e7738c084254c482a7776ee
2020-01-24 10:29:23 -06:00
..
include chan_sip: Always process updated SDP on media source change 2020-01-24 10:29:23 -06:00
config_parser.c chan_sip deprecation. 2018-10-25 08:57:16 -04:00
dialplan_functions.c chan_sip deprecation. 2018-10-25 08:57:16 -04:00
reqresp_parser.c chan_sip deprecation. 2018-10-25 08:57:16 -04:00
route.c chan_sip deprecation. 2018-10-25 08:57:16 -04:00
security_events.c chan_sip deprecation. 2018-10-25 08:57:16 -04:00
utils.c chan_sip deprecation. 2018-10-25 08:57:16 -04:00