Click or drag to resize
RecordFileCommand Constructor (String, String, String, Int32, Int32, Boolean, Int32)
Creates a new RecordFileCommand.

Namespace: AsterNET.FastAGI.Command
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public RecordFileCommand(
	string file,
	string format,
	string escapeDigits,
	int timeout,
	int offset,
	bool beep,
	int maxSilence
)

Parameters

file
Type: SystemString
the name of the file to stream, must not include extension.
format
Type: SystemString
the format of the file to be recorded, for example "wav".
escapeDigits
Type: SystemString
contains the digits that allow the user to end recording.
timeout
Type: SystemInt32
the maximum record time in milliseconds, or -1 for no timeout.
offset
Type: SystemInt32
the offset samples to skip.
beep
Type: SystemBoolean
true if a beep should be played before recording.
maxSilence
Type: SystemInt32
The amount of silence (in seconds) to allow before returning despite the lack of dtmf digits or reaching timeout.
See Also