[Asterisk-Dev] ZT_DIAL Operation

Sergio Serrano sergio.serrano at avanzada7.com
Fri Nov 4 02:09:29 MST 2005


Hi Srs,
    
    I try to make a call from a C program using /usr/include/linuz/zaptel.h
header file. I checks all Zap Channels, if this channel is ZT_SIG_FXSKS I
would like to make a call to test this channel. I adjust ZT_DIAL_OPERATION
struct with next parameters:
 
        op = ZT_DIAL_OP_APPEND
        dialstr = Zap/channel/test number
 
and then I call to ioctl(ctl, ZT_DIAL, &d) where d is ZT_DIAL_OPERATION
struct variable, but nothing occurs. Must I do anything more to make a call?
 
Any idea would be appreciated.
 
 
regards, 
 
srsergio
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20051104/04498781/attachment.htm


More information about the asterisk-dev mailing list