|Summary:||ASTERISK-21052: Bridge API Enhancements: Implement threading model for bridge management thread|
|Reporter:||Matt Jordan (mjordan)||Labels:||Asterisk12|
|Date Opened:||2013-02-08 09:40:44.000-0600||Date Closed:||2013-03-25 16:37:47|
|Description:||As part of the [API work|https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+API+Improvements], the model for bridging used within Asterisk is undergoing some major rework. In particular, all bridging in Asterisk will use the existing Bridging API, added by Joshua Colp since 1.6.
Please see the [Bridge Construction|http://svn.asterisk.org/svn/asterisk/team/group/bridge_construction/] Team project for the current status of this work.
This task is to make all bridge technologies have a bridging thread to handle bridge restructuring tasks like smart bridge and bridge merges. When the bridge thread is not being used to restructure the bridge, it can be dealing with the bridge media flows. Part of this is adding a bridge action queue like the bridge channel action queue. The softmix bridge may just create a bridge thread to handle the bridge restructuring chores and an auxiliary thread to do the mixing currently done by the bridge thread.