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

opticron reviewboard at asterisk.org
Thu Mar 13 14:30:16 CDT 2014


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

(Updated March 13, 2014, 2:30 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 410527


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/20140313/6bf4df5b/attachment.html>


More information about the asterisk-dev mailing list