[asterisk-dev] phone_read and phone_write not working on subchannels

Alok Prasad alok.prasad7 at gmail.com
Mon Nov 22 21:21:55 CST 2010


I am trying to make a channel driver for my custom hardware..I am trying to
copy the logic of
chan_unistim.c
chan_phone.c
I am using logic of 3 subchannels in each asterisk channel..problem is FD is
already allocated to one of the channel and when i make other channel active
polling of phone_read and phone_write are not done by
asterisk.
Is it that i need a separate FD for each channel ?
i also came across a function swap_subs what the use
of the function in relation to this..
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20101123/dcbfd4fe/attachment.htm 


More information about the asterisk-dev mailing list