ioctl(ixj, IXJCTL_PSTN_LINETEST)
Return Value
Returns TRUE if the line port is plugged into a working line.
Parameters
None.
Remarks
Performs a simple test of the PSTN port on an Internet LineJACK. Returns TRUE if a phone line is detected in the PSTN port, FALSE otherwise.
See Also:
Example:
bLT = ioctl(ixj, IXJCTL_PSTN_LINETEST); if (bLT) printf("Line tests as operational.\n") else printf("Line not functional\n");
©1996-2001 Quicknet Technologies, Inc.