On Wednesday 29 December 2004 14:15, Luis Czop wrote:
> Hi friends,
>
> I'm trying to write a bit of code for FXS channels.
>
> But,  I can't find the relationship between 2 data structures.
>
> Does anyone knows if there exists a relationship between the structures
> zt_chan (from zaptel.h) and ast_channel.

There is, but probably not in the way that you expect.  zt_chan is a driver
structure.  To interface with the zaptel driver, you must use particularly
crafted ioctl(2) calls to the associated device entry.  You cannot directly
manipulate the kernel driver structures from a userspace program; you
must use the provided API calls (via ioctl(2)).

-- 
Tilghman
_______________________________________________
Asterisk-Dev mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to