Skip to content
Snippets Groups Projects
  • Mark Michelson's avatar
    463f9d72
    Help mitigate potential reinvite glare scenarios. · 463f9d72
    Mark Michelson authored
    When Asterisk servers are set up back-to-back, and
    direct media is to be used betweeen endpoints, it is
    fairly common for the two Asterisk servers to send
    direct media reinvites to each other simultaneously.
    This results in 491s and ACKs being exchanged between
    the servers. While the media eventually gets set up
    properly, the problem is that there can be a noticeable
    delay for the streams to stabilize.
    
    This patch adds a new directmedia option called "outgoing".
    With this set, an immediate direct media reinvite will only
    be sent if the call direction is outgoing. For incoming
    dialogs, an immediate direct media reinvite will not be sent,
    but further "reactionary" direct media reinvites may be sent.
    
    Review: https://reviewboard.asterisk.org/r/1954
    
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
    463f9d72
    History
    Help mitigate potential reinvite glare scenarios.
    Mark Michelson authored
    When Asterisk servers are set up back-to-back, and
    direct media is to be used betweeen endpoints, it is
    fairly common for the two Asterisk servers to send
    direct media reinvites to each other simultaneously.
    This results in 491s and ACKs being exchanged between
    the servers. While the media eventually gets set up
    properly, the problem is that there can be a noticeable
    delay for the streams to stabilize.
    
    This patch adds a new directmedia option called "outgoing".
    With this set, an immediate direct media reinvite will only
    be sent if the call direction is outgoing. For incoming
    dialogs, an immediate direct media reinvite will not be sent,
    but further "reactionary" direct media reinvites may be sent.
    
    Review: https://reviewboard.asterisk.org/r/1954
    
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368143 65c4cc65-6c06-0410-ace0-fbb531ad65f3