34 lines
1.4 KiB
C#
34 lines
1.4 KiB
C#
namespace AsterNET.Manager.Action
|
|
{
|
|
public class ConfbridgeStartRecordAction : ManagerAction
|
|
{
|
|
/// <summary>
|
|
/// Starts recording a specified conference, with an optional filename.
|
|
/// If recording is already in progress, an error will be returned.
|
|
/// If RecordFile is not provided, the default record_file as specified in the conferences Bridge Profile will be used.
|
|
/// If record_file is not specified, a file will automatically be generated in Asterisk's monitor directory.
|
|
/// </summary>
|
|
public ConfbridgeStartRecordAction()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Starts recording a specified conference, with an optional filename.
|
|
/// If recording is already in progress, an error will be returned.
|
|
/// If RecordFile is not provided, the default record_file as specified in the conferences Bridge Profile will be used.
|
|
/// If record_file is not specified, a file will automatically be generated in Asterisk's monitor directory.
|
|
/// </summary>
|
|
/// <param name="conference"></param>
|
|
public ConfbridgeStartRecordAction(string conference)
|
|
{
|
|
Conference = conference;
|
|
}
|
|
|
|
public string Conference { get; set; }
|
|
|
|
public override string Action
|
|
{
|
|
get { return "ConfbridgeStartRecord"; }
|
|
}
|
|
}
|
|
} |