[asterisk-dev] Implementing Native Bridging in a DAHDI kernel driver

Matthew Jordan mjordan at digium.com
Wed Dec 23 13:54:00 CST 2015


On Tue, Dec 22, 2015 at 4:49 PM, Fábio Urquiza <flus at cesar.org.br> wrote:

> Hi All,
>
> I have a PABX hardware composed of several FXO, FXS and E1 cards and a
> Digital Matrix IC that commutes TDM between it's channels. The software
> that runs the PABX CPU is a embedded linux distribution and I'm planning
> using Asterisk as the Softswitch. I've already have developed a driver with
> basic functions to detect phone off the hook and dial tones, do ringing and
> to commute channels of different cards but now I need to figure out how to
> interface that with Asterisk.
>
> I imagine that I have to implement some DAHDI functions and structures in
> order to the Asterisk dahdi_chan detect the cards and map all to spans. The
> problem is that the natural flow of a DAHDI call consists getting the TDM
> from a channel using dahdi_receive() and sending the TDM to another channel
> using dahdi_transmit(), and I need the TDM to be commuted internally in the
> driver using the Digital Matrix IC.
>
> Browsing the Asterisk documentation I came along a concept called "Native
> bridging" in which all bridging are done internally, with no TDM going
> through the Asterisk. I like to ask you if that is the best approach to
> take on that matter and if you have some pointers of how to implement that
> concept in the DAHDI driver that I'm writing for this particular hardware.
>
> Thanks and best regards,
>
> -Fabio Urquiza
>

Hi Fabio:

The answer to this depends on which version of Asterisk you're targeting.
Which version did you have in mind?

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20151223/b7eae2df/attachment.html>


More information about the asterisk-dev mailing list