• PHONE_GET_DTMF_ASCII
  • ioctl(ixj, PHONE_GET_DTMF_ASCII)

    Return Value

    Returns an ASCII character representing the DTMF digit dialed.

    Parameters

    None.

    Remarks

    Returns an ASCII character for the next DTMF digit stored in the buffer, and removes the digit from the buffer. If there is more than one digit in the buffer then select() will continue asserting the exception on this descriptor, and the driver will continue sending SIGIO signals to the application (if the application is registered for async notifications), or PHONE_DTMF_READY will still return a 1, until the buffer is empty.

    See Also:

    PHONE_DTMF_READY, PHONE_GET_DTMF, PHONE_EXCEPTION

    Example:

    printf("DTMF from card 0 = %c\n",ioctl(ixj, PHONE_GET_DTMF_ASCII));



    ©1996-2001 Quicknet Technologies, Inc.