asternet/Asterisk.2013/Asterisk.NET/Manager/Action/ConfbridgeStartRecordAction.cs

36 lines
1.5 KiB
C#
Raw Normal View History

2015-01-03 15:37:29 +00:00
namespace AsterNET.Manager.Action
2014-01-03 16:39:46 +00:00
{
public class ConfbridgeStartRecordAction : ManagerAction
{
/// <summary>
2015-01-03 15:37:29 +00:00
/// 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.
2014-01-03 16:39:46 +00:00
/// </summary>
public ConfbridgeStartRecordAction()
2015-01-03 15:37:29 +00:00
{
}
2014-01-03 16:39:46 +00:00
2015-01-03 15:37:29 +00:00
/// <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>
2014-01-03 16:39:46 +00:00
public ConfbridgeStartRecordAction(string conference)
2015-01-03 15:37:29 +00:00
{
Conference = conference;
}
public string Conference { get; set; }
public string RecordFile { get; set; }
2015-01-03 15:37:29 +00:00
public override string Action
{
get { return "ConfbridgeStartRecord"; }
}
2014-01-03 16:39:46 +00:00
}
2015-01-03 15:37:29 +00:00
}