<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=328290309-04112005><FONT face=Arial size=2>Hi
Srs,</FONT></SPAN></DIV>
<DIV><SPAN class=328290309-04112005> </SPAN></DIV>
<DIV><SPAN class=328290309-04112005> <FONT face=Arial size=2>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:</FONT></SPAN></DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328290309-04112005>
<FONT face=Arial size=2>op = ZT_DIAL_OP_APPEND</FONT></SPAN></DIV>
<DIV><SPAN class=328290309-04112005>
<FONT face=Arial size=2>dialstr = Zap/channel/test number</FONT></SPAN></DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial size=2>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?</FONT></SPAN></DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial size=2>Any idea would be
appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial size=2>regards,
</FONT></SPAN></DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=328290309-04112005><FONT face=Arial
size=2>srsergio</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>