Skip to content
Snippets Groups Projects
  • George Joseph's avatar
    f10c7b6e
    app_confbridge: Use bridge join hook to send join and leave events · f10c7b6e
    George Joseph authored
    The first attempt at publishing confbridge events to participants
    involved publishing them at the same time stasis events were
    created.  This caused issues with bridge and channel locks.  The
    second attempt involved publishing them when the stasis events
    were received by the code that published the confbridge AMI events.
    This caused timing issues because, depending on resources available,
    the event could be received before channels actually joined the
    bridge and would therefore fail to send messages to the participant.
    
    This attempt reverts to the original mechanism with one exception.
    The join and leave events are published via bridge join and leave
    hooks.  This guarantees the states of the channels and bridge and
    provides deterministic timing for event publishing.
    
    Change-Id: I2660074f8a30a5224cb953d5e047ee84484a9036
    f10c7b6e
    History
    app_confbridge: Use bridge join hook to send join and leave events
    George Joseph authored
    The first attempt at publishing confbridge events to participants
    involved publishing them at the same time stasis events were
    created.  This caused issues with bridge and channel locks.  The
    second attempt involved publishing them when the stasis events
    were received by the code that published the confbridge AMI events.
    This caused timing issues because, depending on resources available,
    the event could be received before channels actually joined the
    bridge and would therefore fail to send messages to the participant.
    
    This attempt reverts to the original mechanism with one exception.
    The join and leave events are published via bridge join and leave
    hooks.  This guarantees the states of the channels and bridge and
    provides deterministic timing for event publishing.
    
    Change-Id: I2660074f8a30a5224cb953d5e047ee84484a9036