Hi All,

Not sure if this is the right mailing list since the dahdi-dev seems not really 
active, so I'll try here.

I'm developing a new DAHDI driver for a custom board. In this card I've 
implemented the reading of
the TDM slots by 2 DMA channels, TX and RX. Each DMA channel has its own 
callback that
decompose the each slot into a per-channel linear buffer useful for calling the 
related dahdi_transmit()
and dahdi_receive() functions.

The question is, can I call the dahdi_transmit() from the TX DMA callback and 
the dahdi_receive() from
the RX DMA callback or should use a particular order for them?

Looking at the DAHDI drivers it seems that the sequence is always: 
dahdi_ec_chunk() -> dahdi_receive()
and then dahdi_transmit().

Thanks in advance,
Roberto Fichera.

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to