<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 22, 2015 at 4:49 PM, Fábio Urquiza <span dir="ltr"><<a href="mailto:flus@cesar.org.br" target="_blank">flus@cesar.org.br</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Thanks and best regards,</div><div><br></div><div>-Fabio Urquiza</div></div></blockquote><div><br></div><div>Hi Fabio:<br><br></div><div>The answer to this depends on which version of Asterisk you're targeting. Which version did you have in mind?<br><br></div><div>Matt<br> <br></div></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Director of Technology<br></div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div><div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div></div></div></div></div>
</div></div>