[asterisk-dev] Ways of invoking channel read function

Kevin P. Fleming kpfleming at digium.com
Tue Oct 6 08:06:16 CDT 2009


Rus V. Brushkoff wrote:

>   I'm developing new channel driver for 8 X E1 card. For code simplifying 
> and speed the voice samples and signalling are directly delivering to 
> Asterisk channel module memory - no files / file descriptors are used. All 
> is working except the channel read() function - it is called only when 
> some fd for particular voice channel is ready.
>   How to cope with such problem ?

Look at how chan_iax2 handles this situation, since it does not have a
file descriptor per channel either.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list