namespace AsterNET.Manager.Action
{
public class BridgeAction : ManagerAction
{
///
/// Bridge two channels already in the PBX.
///
public BridgeAction()
{
}
///
/// Bridge two channels already in the PBX.
///
/// Channel to Bridge to Channel2
/// Channel to Bridge to Channel1
/// Play courtesy tone to Channel 2 [yes|no]
public BridgeAction(string channel1, string channel2, string tone)
{
Channel1 = channel1;
Channel2 = channel2;
Tone = tone;
}
public override string Action
{
get { return "Bridge"; }
}
public string Channel1 { get; set; }
public string Channel2 { get; set; }
public string Tone { get; set; }
}
}