4.1.0.12 LINE_MONITORDIGITS

This message is sent whenever a digit is detected while digit monitoring is in progress. The sending of this message is controlled via the TSPI_lineMonitorDigits function.

Sent to

LINEEVENT


Parameters

HTAPILINE htLine
Specifies the TAPI DLL's opaque object handle to the line device.

HTAPICALL htCall
Specifies the TAPI DLL's opaque object handle to the call device.

DWORD dwMsg
The value LINE_MONITORDIGITS

DWORD dwParam1
The low order byte contains the last digit received in ASCII.

DWORD dwParam2
Specifies the digit mode that was detected, of type LINEDIGITMODE. Values are:

LINEDIGITMODE_PULSE
Detect digits as audible clicks that are the result of rotary pulse sequences. Valid digits for pulse are '0' through '9'.

LINEDIGITMODE_DTMF
Detect digits as DTMF tones. Valid digits for DTMF are '0' through '9', 'A', 'B', 'C', 'D', '*', and '#'.

LINEDIGITMODE_DTMFEND
Detect and provide notification of DTMF down edges. Valid digits for DTMF are '0' through '9', 'A', 'B', 'C', 'D', '*', and '#'.

DWORD dwParam3
Unused.

Comments

This message is sent only when digit monitoring is enabled.

See Also

Functions: TSPI_lineMonitorDigits