search for: zt_offhook

Displaying 1 result from an estimated 1 matches for "zt_offhook".

2005 Sep 03
1
Current status on _outgoing_ Swedish/Dutch DTMF CLIP for TDM400 FXS interfaces?
...fprintf(stderr, "Sending DTMF CLIP...\n"); x = 1; res=ioctl(fd, ZT_SETPOLARITY, &x); if (res) { fprintf(stderr, "Unable to set reverse polarity...\n"); } x = ZT_OFFHOOK; res=ioctl(fd, ZT_HOOK, &x); if (res) { fprintf(stderr, "Unable to go offhook...\n"); } fprintf(stderr, "Polarity should be reversed now...\n"); dop.op = ZT_DIAL_OP_REPLA...