On Wed, Dec 23, 2015 at 10:27 PM, Fábio Urquiza <[email protected]> wrote:

> Hi Matthew. I'm current working on the last 11 version.
>
>
Assuming you want to create a two-party 'native' bridge at the Asterisk
level, then you'll want to look into the 'bridge' channel driver callback
in chan_dahdi as an example to follow. Asterisk will call this channel
driver callback with the two channels that are bridged together. In
Asterisk 11, chan_dahdi performs the reads on the DAHDI channels and - when
a FD on one channel indicates there is data - directly writes the received
data from DAHDI out to the other DAHDI channel with no decoding.

Note that in Asterisk 12+, this mechanism changed. Instead of using a
channel driver callback, a bridging framework is used. That bridging
framework has a pluggable interface, allowing a native bridging technology
to be written in a separate module (outside of the channel driver) and
selected based on criteria it presents to the core. The DAHDI native
bridging is now implemented in the bridge_native_dahdi module.

Matt

-- 
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to