[asterisk-dev] Ways of invoking channel read function

Rus V. Brushkoff rus at soyuzkt.od.ua
Wed Oct 7 04:03:30 CDT 2009


On Tue, 6 Oct 2009, Kevin P. Fleming wrote:

	Hi,

:>   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.

You mean simply periodically calling ast_queue_frame(owner, f) ?


		Rus



More information about the asterisk-dev mailing list