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

40 lines
1.5 KiB
C#
Raw Normal View History

2014-01-03 16:39:46 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager.Action
2014-01-03 16:39:46 +00:00
{
public class ConfbridgeStartRecordAction : ManagerAction
{
public string Conference { get; set; }
public override string Action
{
get { return "ConfbridgeStartRecord"; }
}
/// <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)
{
this.Conference = conference;
}
}
}