| AGIScriptGetData Method (String, Int64) |
Plays the given file and waits for the user to enter DTMF digits until he
presses '#' or the timeout occurs. The user may interrupt the streaming
by starting to enter digits.
Namespace: AsterNET.FastAGIAssembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax protected string GetData(
string file,
long timeout
)
Protected Function GetData (
file As String,
timeout As Long
) As String
protected:
String^ GetData(
String^ file,
long long timeout
)
member GetData :
file : string *
timeout : int64 -> string
Parameters
- file
- Type: SystemString
the name of the file to play - timeout
- Type: SystemInt64
the timeout in milliseconds to wait for user input.
0 means standard timeout value, -1 means "ludicrous time"
(essentially never times out).
Return Value
Type:
String a String containing the DTMF the user entered
See Also