• PHONE_RING_START
  • ioctl(ixj, PHONE_RING_START, PHONE_CID *cid)

    Return Value

    None

    Parameters

    An optional pointer to a PHONE_CID struct. If the parameter is present, the data will be sent to the POTS port via Caller ID in the MDMF format.

    typedef struct {
            char month[3];
            char day[3];
            char hour[3];
            char min[3];
            int numlen;
            char number[11];
            int namelen;
            char name[80];
    } PHONE_CID;

    Remarks

    Starts the POTS port ringing. Technically it causes ring-cadence to be placed on the tip-ring line. If the pCID is not NULL, FSK data will be transmitted between the first and second rings as defined by BellCore.

    See Also:

    PHONE_RING_STOP, PHONE_RING_CADENCE

    Example:

    PHONE_CID cid;
    
    strcpy(cid.month, "07");
    strcpy(cid.day, "14");
    strcpy(cid.hour, "12");
    strcpy(cid.min, "00");
    
    strcpy(cid.name, "Ed Okerson");
    strcpy(cid.number, "4158645225");
    
    ioctl(ixj, PHONE_RING_CADENCE, dwUSRing);
    
    ioctl(ixj, PHONE_RING_START, &cid);
    printf("Press enter to stop ringing\n");
    getchar();
    ioctl(ixj, PHONE_RING_STOP);


    ©1996-2001 Quicknet Technologies, Inc.