| AGIScriptGetOption Method (String, String) |
Plays the given file, and waits for the user to press one of the given
digits. If none of the esacpe digits is pressed while streaming the file
it waits for the default timeout of 5 seconds still waiting for the user
to press a digit.
Namespace: AsterNET.FastAGIAssembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax protected char GetOption(
string file,
string escapeDigits
)
Protected Function GetOption (
file As String,
escapeDigits As String
) As Char
protected:
wchar_t GetOption(
String^ file,
String^ escapeDigits
)
member GetOption :
file : string *
escapeDigits : string -> char
Parameters
- file
- Type: SystemString
the name of the file to stream, must not include extension. - escapeDigits
- Type: SystemString
contains the digits that the user is expected to press.
Return Value
Type:
Char the DTMF digit pressed or 0x0 if none was pressed.
See Also