[asterisk-dev] [Code Review] 3336: ARI: Ensure ChannelEnteredBridge messages get to the managing application

opticron reviewboard at asterisk.org
Wed Mar 12 08:33:49 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3336/
-----------------------------------------------------------

Review request for Asterisk Developers.


Bugs: ASTERISK-23295
    https://issues.asterisk.org/jira/browse/ASTERISK-23295


Repository: Asterisk


Description
-------

This fixes an issue where a Stasis application running over ARI and subscribed to ari/events could miss the ChannelEnteredBridge event because it did not subscribe to the new bridge fast enough.

To accomplish this, it subscribes the application controlling the channel to the new bridge before adding it to that bridge which required the stasis_app_control structure to maintain a reference to the stasis_app.


Diffs
-----

  branches/12/res/stasis/control.c 410448 
  branches/12/res/stasis/control.h 410448 
  branches/12/res/res_stasis.c 410448 

Diff: https://reviewboard.asterisk.org/r/3336/diff/


Testing
-------

Ensured that the ARI tests still functioned since I was unable to reproduce the bug this fixes.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140312/2e93d612/attachment.html>


More information about the asterisk-dev mailing list