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

44 lines
1.3 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
{
/*
https://wiki.asterisk.org/wiki/display/AST/ConfBridge+10#ConfBridge10-ConfBridgeAsteriskManagerInterface%28AMI%29Events
Action: ConfbridgeList
Conference: 1111
*/
/// <summary>
/// Lists all users in a particular ConfBridge conference. ConfbridgeList will follow as separate events,
/// followed by a final event called ConfbridgeListComplete
/// </summary>
public class ConfbridgeListAction : ManagerActionEvent
{
public string Conference { get; set; }
public override string Action
{
get { return "ConfbridgeList"; }
}
public override Type ActionCompleteEventClass()
{
return typeof(Event.ConfbridgeListCompleteEvent);
}
/// <summary>
/// Lists all users in a particular ConfBridge conference. ConfbridgeList will follow as separate events,
/// followed by a final event called ConfbridgeListComplete
/// </summary>
/// <param name="conference"></param>
public ConfbridgeListAction(string conference)
{
this.Conference = conference;
}
}
}