Skip to content
Snippets Groups Projects
  • Walter Doekes's avatar
    711a3fed
    chan_sip: Always process updated SDP on media source change · 711a3fed
    Walter Doekes authored
    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
    711a3fed
    History
    chan_sip: Always process updated SDP on media source change
    Walter Doekes authored
    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