namespace AsterNET.Manager.Event
{
///
/// A ZapShowChannelsEvent is triggered in response to a ZapShowChannelsAction and shows the state of a zap channel.
///
///
public class ZapShowChannelsEvent : ResponseEvent
{
private string signalling;
private string context;
private string alarm;
///
/// Get/Set the signalling of this zap channel.
/// Possible values are:
///
/// - E & M Immediate
/// - E & M Wink
/// - E & M E1
/// - Feature Group D (DTMF)
/// - Feature Group D (MF)
/// - Feature Group B (MF)
/// - E911 (MF)
/// - FXS Loopstart
/// - FXS Groundstart
/// - FXS Kewlstart
/// - FXO Loopstart
/// - FXO Groundstart
/// - FXO Kewlstart
/// - PRI Signalling
/// - R2 Signalling
/// - SF (Tone) Signalling Immediate
/// - SF (Tone) Signalling Wink
/// - SF (Tone) Signalling with Feature Group D (DTMF)
/// - SF (Tone) Signalling with Feature Group D (MF)
/// - SF (Tone) Signalling with Feature Group B (MF)
/// - GR-303 Signalling with FXOKS
/// - GR-303 Signalling with FXSKS
/// - Pseudo Signalling
///
///
public string Signalling
{
get { return signalling; }
set { this.signalling = value; }
}
///
/// Get/Set the context of this zap channel as defined in zapata.conf
.
///
public string Context
{
get { return context; }
set { this.context = value; }
}
///
/// Get/Set the alarm state of this zap channel.
/// This may be one of
///
/// - Red Alarm
/// - Yellow Alarm
/// - Blue Alarm
/// - Recovering
/// - Loopback
/// - Not Open
/// - No Alarm
///
///
public string Alarm
{
get { return alarm; }
set { this.alarm = value; }
}
public ZapShowChannelsEvent(ManagerConnection source)
: base(source)
{
}
}
}