Click or drag to resize
AGIScriptWaitForDigit Method
Waits up to 'timeout' milliseconds to receive a DTMF digit.

Namespace: AsterNET.FastAGI
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
protected char WaitForDigit(
	int timeout
)

Parameters

timeout
Type: SystemInt32
timeout the milliseconds to wait for the channel to receive a DTMF digit, -1 will wait forever.

Return Value

Type: Char
the DTMF digit pressed or 0x0 if none was pressed.
See Also