Description: This statement controls the receipt of DTMF digits entered from the keypad of a telephone engaged on a voice call via a voice modem.
Returns: Nothing
Usage: Script
Format: ModemDigits(ModemStream, Enable )
Parameters: ModemStream { Stream } { required } { no default }
The connected modem stream (returned from a ModemStream or ModemDial function call).
Enable { Boolean } { required } { no default }
Any logical value that is "true" (non-zero) to enable digit monitoring, and "false" (zero) to cancel digit monitoring.
Comments:
Once digit monitoring is enabled any digits detected by the modem will
appear as text characters (0123456789
*) in the ModemStream. The presence of these
characters can be determined by using the GetStreamLength function and they can
be read using the SRead function.
See Also:
GetStreamLength | ModemDial | ModemMedia | ModemStream | SRead