LINEGetDTMFCount

Purpose

This function returns the number of DTMF keys that have been detected. Use this function to check if any keys on the phone keypad have been pressed.

Parameters

Parameter: Line
Type: Integer
Description: The phone line to check.

Returns

Return value: DTMF value
Type: Integer
Description: The count of the number of DTMF keys that have been detected

Examples

dim digit_count

digit_count = hsp.LINEGetDTMFCount(1)