44 lines
1.3 KiB
C#
44 lines
1.3 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Asterisk.NET.Manager.Action
|
|||
|
{
|
|||
|
|
|||
|
/*
|
|||
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|