Click or drag to resize
AGIScriptStreamFile Method (String, String)
Plays the given file and allows the user to escape by pressing one of the given digit.

Namespace: AsterNET.FastAGI
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
protected char StreamFile(
	string file,
	string escapeDigits
)

Parameters

file
Type: SystemString
name of the file to play.
escapeDigits
Type: SystemString
a String containing the DTMF digits that allow the user to escape.

Return Value

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